Running parakeet-tdt-0.6b-v2 on Jetson AGX Orin, Thor, or Spark!
#66
by
raymondlo84
- opened
I think I figured out the way to get this running on Jetson devices. (I think this scripts / flow will work on Thor or Spark as well).
Here is what you need.
- Install UV
curl -LsSf https://astral.sh/uv/install.sh | sh
- Setup venv
mkdir test_asr && cd test_asr
uv venv venv
source venv/bin/activate
- Install all packages
Here is the key magic, we have to make sure it points to the custom wheels pre-compiled for Jetson or you will have lots of headaches
#install torch from jetson wheels
uv pip install torch torchvision --index-url=https://pypi.jetson-ai-lab.io/jp6/cu126
#make sure it matches to the cuda version!
uv pip install cuda-python==12.6 --index-url=https://pypi.jetson-ai-lab.io/jp6/cu126
uv pip install sacrebleu
uv pip install nemo_toolkit[asr]
- Run a test
#run this in a terminal to get the wav file
wget https://dldata-public.s3.us-east-2.amazonaws.com/2086-149220-0033.wav
#run these in Python
import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.ASRModel.from_pretrained(model_name="nvidia/parakeet-tdt-0.6b-v2")
output = asr_model.transcribe(['2086-149220-0033.wav'])
print(output[0].text)
Happy Jetson coding
We can get this run on Thor or Spark with the CUDA 13 libraries. (Make sure you have Python 3.12)
uv pip install torch torchvision --index-url=https://pypi.jetson-ai-lab.io/sbsa/cu130
uv pip install cuda-python --index-url=https://pypi.jetson-ai-lab.io/sbsa/cu130
I think there is a bug somewhere, https://github.com/NVIDIA-NeMo/NeMo/issues/14915 and should be resolved once things got updated.
raymondlo84
changed discussion title from
Running parakeet-tdt-0.6b-v2 on Jetson AGX Orin (Jetpack 6.2)
to Running parakeet-tdt-0.6b-v2 on Jetson AGX Orin, Thor, or Spark!

