Please provide the following information when requesting support.
Hardware - AGX Orin
Hardware - CPU
Operating System Ubuntu 20.04 / JetPack 5.0.2
Riva Version 2.2.4
Docker version 2.10.17
TLT Version (if relevant)
How to reproduce the issue ? (This is for errors. Please share the command and the detailed log here)
I try to install the riva_quickstart_arm64_v2.4.0 following the instructions from the Quick Start Guide. The script riva_init.sh initially failed:
markus@markus-orin:/mnt/SSD1000/riva_quickstart_arm64_v2.4.0$ bash riva_init.sh
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.4.0-l4t-aarch64-server. This may take some time...
> Attempt 1 out of 3 failed
> Trying again...
> Attempt 2 out of 3 failed
> Trying again...
> Attempt 3 out of 3 failed
Error occurred pulling 'nvcr.io/nvidia/riva/riva-speech:2.4.0-l4t-aarch64-server'.
Error response from daemon: manifest for nvcr.io/nvidia/riva/riva-speech:2.4.0-l4t-aarch64-server not found: manifest unknown: manifest unknown
After checking the tags on Riva Speech Skills | NVIDIA NGC and changing line 226 in config.sh
Line 226 (original): image_speech_api="nvcr.io/${NGC_TARGET}/riva-speech:${riva_ngc_image_version}-l4t-aarch64-server"
Line 226 (changed): image_speech_api="nvcr.io/${NGC_TARGET}/riva-speech:${riva_ngc_image_version}-server-l4t-aarch64"
the script riva_init.sh completes successfully:
markus@markus-orin:/mnt/SSD1000/riva_quickstart_arm64_v2.4.0$ bash riva_init.sh
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.4.0-server-l4t-aarch64. This may take some time...
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.
Downloaded 1.96 GB in 7m 29s, Download speed: 4.47 MB/s
----------------------------------------------------
Transfer id: models_asr_conformer_en_us_str_v2.4.0-arm64 Download status: Completed.
Downloaded local path: /data/artifacts/models_asr_conformer_en_us_str_v2.4.0-arm64
Total files downloaded: 1
Total downloaded size: 1.96 GB
Started at: 2022-08-26 15:09:03.219577
Completed at: 2022-08-26 15:16:32.964045
Duration taken: 7m 29s
----------------------------------------------------
Downloaded 190.96 MB in 58s, Download speed: 3.29 MB/s
----------------------------------------------------
Transfer id: models_nlp_punctuation_bert_base_en_us_v2.4.0-arm64 Download status: Completed.
Downloaded local path: /data/artifacts/models_nlp_punctuation_bert_base_en_us_v2.4.0-arm64
Total files downloaded: 1
Total downloaded size: 190.96 MB
Started at: 2022-08-26 15:16:37.423220
Completed at: 2022-08-26 15:17:35.522715
Duration taken: 58s
----------------------------------------------------
Downloaded 191.19 MB in 54s, Download speed: 3.53 MB/s
----------------------------------------------------
Transfer id: models_nlp_intent_slot_misty_bert_base_v2.4.0-arm64 Download status: Completed.
Downloaded local path: /data/artifacts/models_nlp_intent_slot_misty_bert_base_v2.4.0-arm64
Total files downloaded: 1
Total downloaded size: 191.19 MB
Started at: 2022-08-26 15:17:39.613611
Completed at: 2022-08-26 15:18:33.708269
Duration taken: 54s
----------------------------------------------------
Downloaded 105.93 MB in 59s, Download speed: 1.79 MB/s
----------------------------------------------------
Transfer id: models_tts_fastpitch_hifigan_en_us_female_1_v2.4.0-arm64 Download status: Completed.
Downloaded local path: /data/artifacts/models_tts_fastpitch_hifigan_en_us_female_1_v2.4.0-arm64
Total files downloaded: 1
Total downloaded size: 105.93 MB
Started at: 2022-08-26 15:18:38.049166
Completed at: 2022-08-26 15:19:37.147515
Duration taken: 59s
----------------------------------------------------
+ [[ tegra != \t\e\g\r\a ]]
+ [[ tegra == \t\e\g\r\a ]]
+ '[' -d /mnt/SSD1000/riva_quickstart_arm64_v2.4.0/model_repository/rmir ']'
+ [[ tegra == \t\e\g\r\a ]]
+ '[' -d /mnt/SSD1000/riva_quickstart_arm64_v2.4.0/model_repository/prebuilt ']'
+ echo 'Converting prebuilts at /mnt/SSD1000/riva_quickstart_arm64_v2.4.0/model_repository/prebuilt to Riva Model repository.'
Converting prebuilts at /mnt/SSD1000/riva_quickstart_arm64_v2.4.0/model_repository/prebuilt to Riva Model repository.
+ docker run -it -d --rm -v /mnt/SSD1000/riva_quickstart_arm64_v2.4.0/model_repository:/data --name riva-models-extract nvcr.io/nvidia/riva/riva-speech:2.4.0-server-l4t-aarch64
+ docker exec riva-models-extract bash -c 'mkdir -p /data/models; \
for file in /data/prebuilt/*.tar.gz; do tar xf $file -C /data/models/ &> /dev/null; done'
+ docker container stop riva-models-extract
+ echo
+ echo 'Riva initialization complete. Run ./riva_start.sh to launch services.'
Riva initialization complete. Run ./riva_start.sh to launch services.
Running riva_start.sh results in the following error. Any support welcome !
markus@markus-orin:/mnt/SSD1000/riva_quickstart_arm64_v2.4.0$ bash riva_start.sh
Starting Riva Speech Services. This may take several minutes depending on the number of models deployed.
99a50006e14767b7888eed5cd70d31545c8744685aab712a31070a786810b0e0
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'csv'
invoking the NVIDIA Container Runtime Hook directly (e.g. specifying the docker --gpus flag) is not supported. Please use the NVIDIA Container Runtime instead.: unknown.
Error response from daemon: Container 99a50006e14767b7888eed5cd70d31545c8744685aab712a31070a786810b0e0 is not running
Waiting for Riva server to load all models...retrying in 10 seconds
NGC setting format is json as confirmed by cat $HOME/.ngc/config