How to set language_code ASR parameter?

Hello, I’m trying to run NVIDIA ACE’s Tokkio Workflow with Azure’s One Click Script. It uses Riva Helm to create pods in Kubernetes.

I’m trying to change the ASR to Brazilian Portuguese. We’ve already created the model and managed to deploy it to Triton, see the image below.

image

However, when the riva service starts, it gives the following error:

Can someone help me understand how to set the language_code parameter please?

**Specs: **
Hardware - GPU: T4
Hardware - CPU: AMD EPYC 7V12 64-Core Processor
Operating System: Ubuntu 22.04.5 LTS
Riva Version - 2.17.0
TLT Version (if relevant)
How to reproduce the issue ? (This is for errors. Please share the command and the detailed log here)

To change the ASR language to Brazilian Portuguese in NVIDIA ACE’s Tokkio Workflow using Riva Helm, you need to modify the asr_language_code variable in the config.sh file. Here’s how to do it:

  1. Locate the config.sh file in the quickstart directory of your Riva installation.
  2. Change the asr_language_code variable to pt-BR for Brazilian Portuguese:

bash

asr_language_code="pt-BR"
  1. Save the config.sh file and redeploy your Riva services.

It’s important to note that Brazilian Portuguese (pt-BR) is supported by Riva for ASR(ASR Overview — NVIDIA Riva). However, ensure that you have the appropriate model for Brazilian Portuguese deployed to Triton. If you’re still encountering errors after making this change, double-check the following:

  1. Verify that the Brazilian Portuguese model is correctly deployed to Triton.
  2. Ensure that the Riva Helm chart is configured to use the correct language code.
  3. Check the Riva logs for any specific error messages related to language model loading or configuration.