From 19c785e1a435ca8c07c0511a13d5b6d1b4abb3b7 Mon Sep 17 00:00:00 2001 From: Francesco Yoshi Gobbo Date: Mon, 20 Jan 2025 15:50:38 +0100 Subject: [PATCH] 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:` does, but is not intuitive so I suggest this example addition. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 696869c..9834a4f 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,10 @@ Adding `--task translate` will translate the speech into English: whisper japanese.wav --language Japanese --task translate +Adding `--device cuda:` 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