Skip to content

Commit

Permalink
update the server device to paddle.device, test=doc
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMax-Xiong committed Apr 21, 2022
1 parent 4b76a01 commit 56751a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ asr_online:
cfg_path:
decode_method:
force_yes: True
device: 'cpu' # cpu or gpu:id
device: # cpu or gpu:id
am_predictor_conf:
device: # set 'gpu:id' or 'cpu'
switch_ir_optim: True
Expand Down
2 changes: 1 addition & 1 deletion paddlespeech/server/conf/ws_conformer_application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ asr_online:
cfg_path:
decode_method:
force_yes: True
device: 'cpu' # cpu or gpu:id
device: # cpu or gpu:id
am_predictor_conf:
device: # set 'gpu:id' or 'cpu'
switch_ir_optim: True
Expand Down

0 comments on commit 56751a1

Please sign in to comment.