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:
Francesco Yoshi Gobbo 2025-01-20 15:50:38 +01:00 committed by GitHub
parent 517a43ecd1
commit 19c785e1a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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