I am trying to run the Riva examples on my Jetson Orin Nano Dev kit. I’m following these instructions: Local (Docker) — NVIDIA Riva but when I run riva_init.sh and enter my API key, the Riva Speech Server image is pulled, but then it fails to get the models.
jetson@jetson-nano:~/riva_quickstart_arm64_v2.19.0$ bash riva_init.sh
Please enter API key for ngc.nvidia.com:
Logging into NGC docker registry if necessary…
Pulling required docker images if necessary…
Note: This may take some time, depending on the speed of your Internet connection.
Downloading models (RMIRs) from NGC…
Note: this may take some time, depending on the speed of your Internet connection.
To skip this process and use existing RMIRs set the location and corresponding flag in config.sh. wget: unable to resolve host address ‘api.ngc.nvidia.com’
unzip: cannot find or open ngccli_arm64.zip, ngccli_arm64.zip.zip or ngccli_arm64.zip.ZIP.
chmod: cannot access ‘ngc-cli/ngc’: No such file or directory
mv: cannot stat ‘ngc-cli/*’: No such file or directory
/opt/riva
bash: line 4: ngc: command not found
bash: line 4: ngc: command not found
bash: line 4: ngc: command not found
echo ‘Riva initialization complete. Run ./riva_start.sh to launch services.’
Riva initialization complete. Run ./riva_start.sh to launch services.
jetson@jetson-nano:~/riva_quickstart_arm64_v2.19.0$
Do you enter the NGC API key correctly?
We have tested the script and it can work as expected in our environment.
$ sudo bash riva_init.sh
[sudo] password for nvidia:
Please enter API key for ngc.nvidia.com:
Logging into NGC docker registry if necessary...
Pulling required docker images if necessary...
Note: This may take some time, depending on the speed of your Internet connection.
> Pulling Riva Speech Server images.
> Pulling nvcr.io/nvidia/riva/riva-speech:2.19.0-l4t-aarch64. This may take some time...
...
+ echo 'Riva initialization complete. Run ./riva_start.sh to launch services.'
Riva initialization complete. Run ./riva_start.sh to launch services.
I think my API key is correct. If I run riva_clean.sh, then riva_init.sh and enter a bad value for the API key, I get an error message. If I enter my API key correctly, it successfully downloads the first thing (Riva Speech Server images - nvcr.io/nvidia/riva/riva-speech:2.19.0-l4t-aarch64) but then fails on the next step: Downloading models (RMIRs) from NGC…
When I follow these steps to install the ngc cli for ARM64 Linux: https://org.ngc.nvidia.com/setup/installers/cli, the ngc setup seems successful. When I run the last step (ngc config set), I am entering these values:
API key: same API key that I entered when running riva_init.sh
CLI output format: what should this be? I’ve tried both ascii and json
org: I’ve entered the 16 digit number listed as my organization name
team: pressed Enter
ace: pressed Enter
these answers seem correct, based on the output below:
Validating configuration…
Successfully validated configuration.
Saving configuration…
Successfully saved NGC configuration to /home/jetson/.ngc/config
But I am still unable to successfully run the riva_init.sh script
Downloading models (RMIRs) from NGC…
Note: this may take some time, depending on the speed of your Internet connection.
To skip this process and use existing RMIRs set the location and corresponding flag in config.sh.
wget: unable to resolve host address ‘api.ngc.nvidia.com’
Is there more configuration necessary when creating my personal API key? Is there another way to complete the steps in the riva_init.sh script?