mirror of
https://github.com/openai/whisper.git
synced 2025-03-30 14:28:27 +00:00
device usage example
it is not explained how to select a specific GPU, as neither of `--device 1` `--device nvidia1` `--device /dev/nvidia1` work. `--device cuda:<n>` does, but is not intuitive so I suggest this example addition.
This commit is contained in:
parent
517a43ecd1
commit
19c785e1a4
@ -93,6 +93,10 @@ Adding `--task translate` will translate the speech into English:
|
||||
|
||||
whisper japanese.wav --language Japanese --task translate
|
||||
|
||||
Adding `--device cuda:<n>` will use the selected cuda GPU number
|
||||
|
||||
whisper japanese.wav --language Japanese --task translate --device cuda:1
|
||||
|
||||
Run the following to view all available options:
|
||||
|
||||
whisper --help
|
||||
|
Loading…
x
Reference in New Issue
Block a user