You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've previously used device_index with multiple GPUs, but I'm currently using an A100 and I've partitioned it with MIG so it has 7 partitions (that may be too many but I need to test that first).
Using device_index doesn't seem to work. I'm getting a ctranslate2 error (I can ask on their git of course, but thought I'd start here).
I was hoping I'd be able to put device_index=[0,1,2..] but that doesn't work and neither does using 7,8,9...
ie
model = WhisperModel(model_size, device="cuda",device_index=[0,1],compute_type="bfloat16")
Is this possible?
The error is:
Traceback (most recent call last):
File "/home/xxxxx/xxxxx/test.py", line 30, in
model = WhisperModel(model_size, device="cuda",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxxxx/anaconda3/envs/xxxxx/lib/python3.11/site-packages/faster_whisper/transcribe.py", line 145, in init
self.model = ctranslate2.models.Whisper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA failed with error invalid device ordinal
Many thanks
John
The text was updated successfully, but these errors were encountered:
Hi,
I've previously used device_index with multiple GPUs, but I'm currently using an A100 and I've partitioned it with MIG so it has 7 partitions (that may be too many but I need to test that first).
Using device_index doesn't seem to work. I'm getting a ctranslate2 error (I can ask on their git of course, but thought I'd start here).
nvidia_smi is showing
I was hoping I'd be able to put device_index=[0,1,2..] but that doesn't work and neither does using 7,8,9...
ie
model = WhisperModel(model_size, device="cuda",device_index=[0,1],compute_type="bfloat16")
Is this possible?
The error is:
Traceback (most recent call last):
File "/home/xxxxx/xxxxx/test.py", line 30, in
model = WhisperModel(model_size, device="cuda",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxxxx/anaconda3/envs/xxxxx/lib/python3.11/site-packages/faster_whisper/transcribe.py", line 145, in init
self.model = ctranslate2.models.Whisper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA failed with error invalid device ordinal
Many thanks
John
The text was updated successfully, but these errors were encountered: