NGC | Catalog
CatalogResourcesRiva Skills Quick Start

Riva Skills Quick Start

For downloads and more information, please view on a desktop device.
Logo for Riva Skills Quick Start


Scripts and utilities for getting started with Riva Speech Skills



Use Case




Latest Version



December 13, 2022

Compressed Size

107.22 KB

Quick Start Guide for Data Center Platforms

NVIDIA Riva supports two architectures, Linux x86_64 and Linux ARM64. These are referred to as data center (x86_64) and embedded (ARM64). These instructions are applicable to data center users.

For more information and questions, visit the NVIDIA Riva Developer Forum.


Before using Riva Speech AI, ensure you meet the following prerequisites:

  1. You have access and are logged into NVIDIA NGC. For step-by-step instructions, refer to the NGC Getting Started Guide.

  2. You have access to an NVIDIA Volta, NVIDIA Turing, or an NVIDIA Ampere Architecture-based A100 GPU. For more information, refer to the Support Matrix.

  3. You have Docker installed with support for NVIDIA GPUs. For more information, refer to the Support Matrix.

Getting Started with Riva for Data Center Platforms

Riva includes Quick Start scripts to help you get started with Riva Speech AI Skills. These scripts are meant for deploying the services locally, for testing, and running the example applications.

  1. Download the Riva Quick Start scripts. You can either use the command-line interface or you can download the scripts directly from your browser. Click the Download drop-down button in the upper right corner and select:

    • CLI - the download command is copied. Ensure you have the NGC CLI tool installed. Once installed, open the command prompt and paste the copied command to start your download.

    • Browser (Direct Download) - the download begins in a location of your choosing.

  2. Initialize and start Riva. The initialization step downloads and prepares Docker images and models. The start script launches the server.

    :::{note} This process can take up to an hour on an average internet connection. On the data center, each model is individually optimized for the target GPU after download. :::

    Optional: Modify the file within the quickstart directory with your preferred configuration. Options include:

    • which models to retrieve from NGC
    • where to store them
    • which GPU to use if more than one is installed on your system (refer to Local (Docker) for more details)
    • locations of the SSL/TLS certificate
    • key files if using a secure connection
    cd riva_quickstart_v2.8.1

    Initialize and start Riva

  3. Try walking through the different tutorials on GitHub. If running the Riva Quick Start scripts on a cloud service provider (such as AWS or GCP), ensure that your compute instance has an externally visible IP address. To run the tutorials, connect a browser window to the correct port (8888 by default) of that external IP address.

  4. Shut down the server when finished. After you've completed these steps and experimented with inferencing, run the script to stop the server.

For more information on how to customize a local deployment, refer to the Local (Docker) section.

Transcribe Audio Files with Riva

For Automatic Speech Recognition (ASR), run the following commands from inside the Riva client container to perform streaming and offline transcription of audio files. If using SSL/TLS, ensure to include the --ssl_server_cert /ssl/server.crt option.

  1. Issue the script to start the client container with sample clients for each service. The script is located in the Quick Start folder.

  2. For offline recognition, run:

    riva_asr_client --audio_file=/opt/riva/wav/en-US_sample.wav
  3. For streaming recognition, run:

    riva_streaming_asr_client --audio_file=/opt/riva/wav/en-US_sample.wav

Synthesize Speech with Riva

From within the Riva client container, run the following command to synthesize the audio files.

riva_tts_client --voice_name=English-US.Female-1 \
                --text="Hello, this is a speech synthesizer." \

The audio files are stored in the /opt/riva/wav directory.

The streaming API can be tested by using the command-line option --online=true. However, there is no difference between both options with the command-line client since it saves the entire audio to a .wav file.

Riva Collections

The Riva Collection contains the Riva Speech AI server, the Riva Speech AI client containers, the Riva Quick Start scripts resources, and the Riva Speech AI Skills Helm chart.

Suggested Reading

For the latest product documentation, supported hardware and software, and release notes, refer to the Riva User's Guide.

Additional Resources

For organizations looking to deploy Riva-based applications in production to unlimited workloads and get full NVIDIA support with direct access to NVIDIA AI experts globally, explore NVIDIA Riva or try NVIDIA Riva for free on NVIDIA LaunchPad.


By downloading and using Riva software, you accept the terms and conditions of this license.