Hi, new to this forum and GPUs. Want to get whisper STT working locally in a venv. It seems the transription does not use the 1024 GPUs. Tried dozens of permutations, but torch.cuda.is_available()
always returns False. Here are some settings in my Jetson Orin Nano environment:
(stt_venv) pi@papabear:~/$ pip list | grep torch
torch 2.5.1
(stt_venv) pi@papabear:~/$ /usr/local/cuda-12.6/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Aug_14_10:14:07_PDT_2024
Cuda compilation tools, release 12.6, V12.6.68
Build cuda_12.6.r12.6/compiler.34714021_0
(stt_venv) pi@papabear:/usr/local/sbin/$ cat testcuda.py
#!/usr/bin/env python3
import torch
print("CUDA available:", torch.cuda.is_available())
if torch.cuda.is_available():
print("CUDA device:", torch.cuda.get_device_name(0))
$ python3 -V
Python 3.11.0rc1
(stt_venv) pi@papabear:/usr/local/sbin/$ head -1 /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"