Running parakeet-tdt-0.6b-v3 on Jetson AGX Orin, Thor, or Spark!
#21
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 --reinstall --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-v3")
output = asr_model.transcribe(['2086-149220-0033.wav'])
print(output[0].text)
Happy Jetson coding
raymondlo84 changed discussion status to closed
raymondlo84 changed discussion title from Running parakeet-tdt-0.6b-v2 on Jetson AGX Orin (Jetpack 6.2) to Running parakeet-tdt-0.6b-v3 on Jetson AGX Orin (Jetpack 6.2)
raymondlo84 changed discussion status to open
raymondlo84 changed discussion status to closed
raymondlo84 changed discussion status to open
raymondlo84 changed discussion title from Running parakeet-tdt-0.6b-v3 on Jetson AGX Orin (Jetpack 6.2) to Running parakeet-tdt-0.6b-v3 on Jetson AGX Orin, Thor, or Spark!
Does it work with Jetson?
I don't have a Jetson to test it for sure, but I see onnxruntime builds for it. So I think everything should work.

