Potential bug in the riva NIM startup script when checking local cache folder?

Hello,

I love the feature that I can reuse previous downloaded model files to save time during restart of riva NIMs.

However, seems that the script responsible of checking availability of local file, ie the -v switch, does not handle files with version number attached.

Looks like the startup script would rename the file name by replacing “:” with “_v”. So we have “nim/nvidia/parakeet-ctc-riva-1-1b**:en-us-str-thr_rmir_24.06" saved in "nim/nvidia/parakeet-ctc-riva-1-1b_v**en-us-str-thr_rmir_24.06”

I tried to create a local symbol link as a hack but did not work.
$ln -s nim/nvidia/parakeet-ctc-riva-1-1b:en-us-str-thr_rmir_24.06 nim/nvidia/parakeet-ctc-riva-1-1b_ven-us-str-thr_rmir_24.06

See log below:

“timestamp”: “2025-01-22 20:09:08,274”, “level”: “INFO”, “message”: “Downloading model ‘nim/nvidia/parakeet-ctc-riva-1-1b:en-us-str-thr_rmir_24.06’ from NGC to /opt/nim/.cache/.”

{
“download_end”: “2025-01-22 20:16:36”,
“download_start”: “2025-01-22 20:09:09”,
“download_time”: “7m 27s”,
“files_downloaded”: 2,
“local_path”: “/opt/nim/.cache/parakeet-ctc-riva-1-1b_ven-us-str-thr_rmir_24.06”,
“size_downloaded”: “8.56 GB”,
“status”: “COMPLETED”
}