From 136f8da1bac4a4aeaa2e4e0f55c419102ac3ea85 Mon Sep 17 00:00:00 2001 From: sarane22 Date: Thu, 21 May 2026 16:58:31 +0530 Subject: [PATCH 1/4] chore(all): Renaming Riva cpp clients to NemotronSpeech cpp clients --- .bazelrc | 6 +-- .circleci/config.yml | 8 ++-- README.md | 28 ++++++------- WORKSPACE | 2 +- {riva => nemotronspeech}/BUILD | 0 {riva => nemotronspeech}/clients/asr/BUILD | 24 +++++------ .../clients/asr/client_call.cc | 0 .../clients/asr/client_call.h | 2 +- .../clients/asr/riva_asr_client.cc | 8 ++-- .../clients/asr/riva_asr_client_helper.cc | 0 .../clients/asr/riva_asr_client_helper.h | 0 .../clients/asr/riva_streaming_asr_client.cc | 8 ++-- .../clients/asr/streaming_recognize_client.cc | 2 +- .../clients/asr/streaming_recognize_client.h | 4 +- .../asr/streaming_recognize_client_test.cc | 0 {riva => nemotronspeech}/clients/nlp/BUILD | 6 +-- .../clients/nlp/riva_nlp_client.h | 0 .../clients/nlp/riva_nlp_punct.cc | 6 +-- {riva => nemotronspeech}/clients/nmt/BUILD | 40 +++++++++---------- .../clients/nmt/client_call.cc | 0 .../clients/nmt/client_call.h | 4 +- .../nmt/riva_nmt_streaming_s2s_client.cc | 8 ++-- .../nmt/riva_nmt_streaming_s2t_client.cc | 8 ++-- .../clients/nmt/riva_nmt_t2t_client.cc | 4 +- .../clients/nmt/streaming_s2s_client.cc | 2 +- .../clients/nmt/streaming_s2s_client.h | 8 ++-- .../clients/nmt/streaming_s2t_client.cc | 0 .../clients/nmt/streaming_s2t_client.h | 6 +-- {riva => nemotronspeech}/clients/tts/BUILD | 20 +++++----- .../clients/tts/riva_tts_client.cc | 12 +++--- .../clients/tts/riva_tts_perf_client.cc | 12 +++--- {riva => nemotronspeech}/clients/utils/BUILD | 4 +- {riva => nemotronspeech}/clients/utils/grpc.h | 4 +- .../clients/utils/grpc_test.cc | 0 {riva => nemotronspeech}/utils/BUILD | 0 {riva => nemotronspeech}/utils/files/BUILD | 0 {riva => nemotronspeech}/utils/files/files.cc | 0 {riva => nemotronspeech}/utils/files/files.h | 0 .../utils/files/files_test.cc | 0 {riva => nemotronspeech}/utils/opus/BUILD | 2 +- .../utils/opus/opus_client_decoder.cc | 0 .../utils/opus/opus_client_decoder.h | 0 {riva => nemotronspeech}/utils/stamping.cc | 0 {riva => nemotronspeech}/utils/stamping.h | 0 .../utils/string_processing.h | 0 {riva => nemotronspeech}/utils/thread_pool.h | 0 {riva => nemotronspeech}/utils/wav/BUILD | 0 {riva => nemotronspeech}/utils/wav/wav_data.h | 0 .../utils/wav/wav_reader.cc | 0 .../utils/wav/wav_reader.h | 0 .../utils/wav/wav_writer.cc | 0 .../utils/wav/wav_writer.h | 0 52 files changed, 119 insertions(+), 119 deletions(-) rename {riva => nemotronspeech}/BUILD (100%) rename {riva => nemotronspeech}/clients/asr/BUILD (85%) rename {riva => nemotronspeech}/clients/asr/client_call.cc (100%) rename {riva => nemotronspeech}/clients/asr/client_call.h (97%) rename {riva => nemotronspeech}/clients/asr/riva_asr_client.cc (99%) rename {riva => nemotronspeech}/clients/asr/riva_asr_client_helper.cc (100%) rename {riva => nemotronspeech}/clients/asr/riva_asr_client_helper.h (100%) rename {riva => nemotronspeech}/clients/asr/riva_streaming_asr_client.cc (98%) rename {riva => nemotronspeech}/clients/asr/streaming_recognize_client.cc (99%) rename {riva => nemotronspeech}/clients/asr/streaming_recognize_client.h (97%) rename {riva => nemotronspeech}/clients/asr/streaming_recognize_client_test.cc (100%) rename {riva => nemotronspeech}/clients/nlp/BUILD (81%) rename {riva => nemotronspeech}/clients/nlp/riva_nlp_client.h (100%) rename {riva => nemotronspeech}/clients/nlp/riva_nlp_punct.cc (98%) rename {riva => nemotronspeech}/clients/nmt/BUILD (75%) rename {riva => nemotronspeech}/clients/nmt/client_call.cc (100%) rename {riva => nemotronspeech}/clients/nmt/client_call.h (98%) rename {riva => nemotronspeech}/clients/nmt/riva_nmt_streaming_s2s_client.cc (98%) rename {riva => nemotronspeech}/clients/nmt/riva_nmt_streaming_s2t_client.cc (97%) rename {riva => nemotronspeech}/clients/nmt/riva_nmt_t2t_client.cc (99%) rename {riva => nemotronspeech}/clients/nmt/streaming_s2s_client.cc (99%) rename {riva => nemotronspeech}/clients/nmt/streaming_s2s_client.h (94%) rename {riva => nemotronspeech}/clients/nmt/streaming_s2t_client.cc (100%) rename {riva => nemotronspeech}/clients/nmt/streaming_s2t_client.h (95%) rename {riva => nemotronspeech}/clients/tts/BUILD (63%) rename {riva => nemotronspeech}/clients/tts/riva_tts_client.cc (98%) rename {riva => nemotronspeech}/clients/tts/riva_tts_perf_client.cc (98%) rename {riva => nemotronspeech}/clients/utils/BUILD (85%) rename {riva => nemotronspeech}/clients/utils/grpc.h (97%) rename {riva => nemotronspeech}/clients/utils/grpc_test.cc (100%) rename {riva => nemotronspeech}/utils/BUILD (100%) rename {riva => nemotronspeech}/utils/files/BUILD (100%) rename {riva => nemotronspeech}/utils/files/files.cc (100%) rename {riva => nemotronspeech}/utils/files/files.h (100%) rename {riva => nemotronspeech}/utils/files/files_test.cc (100%) rename {riva => nemotronspeech}/utils/opus/BUILD (94%) rename {riva => nemotronspeech}/utils/opus/opus_client_decoder.cc (100%) rename {riva => nemotronspeech}/utils/opus/opus_client_decoder.h (100%) rename {riva => nemotronspeech}/utils/stamping.cc (100%) rename {riva => nemotronspeech}/utils/stamping.h (100%) rename {riva => nemotronspeech}/utils/string_processing.h (100%) rename {riva => nemotronspeech}/utils/thread_pool.h (100%) rename {riva => nemotronspeech}/utils/wav/BUILD (100%) rename {riva => nemotronspeech}/utils/wav/wav_data.h (100%) rename {riva => nemotronspeech}/utils/wav/wav_reader.cc (100%) rename {riva => nemotronspeech}/utils/wav/wav_reader.h (100%) rename {riva => nemotronspeech}/utils/wav/wav_writer.cc (100%) rename {riva => nemotronspeech}/utils/wav/wav_writer.h (100%) diff --git a/.bazelrc b/.bazelrc index 223a550..426ff74 100644 --- a/.bazelrc +++ b/.bazelrc @@ -11,9 +11,9 @@ build:release --compilation_mode=opt build:release --linkopt=-Wl,--strip-all build:release --stamp -build:linux/x86_64 --platforms //riva:linux_x86_64 -build:linux/aarch64 --platforms //riva:linux_aarch64 -build:l4t/aarch64 --platforms //riva:linux_aarch64 +build:linux/x86_64 --platforms //nemotronspeech:linux_x86_64 +build:linux/aarch64 --platforms //nemotronspeech:linux_aarch64 +build:l4t/aarch64 --platforms //nemotronspeech:linux_aarch64 build:asan --strip=never build:asan --copt=-fsanitize=address diff --git a/.circleci/config.yml b/.circleci/config.yml index 238bafe..91b2e86 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,10 +40,10 @@ jobs: name: "Collect artifacts" command: | mkdir /tmp/artifacts; - cp bazel-bin/riva/clients/asr/riva_asr_client /tmp/artifacts/riva_asr_client-linux-amd64; - cp bazel-bin/riva/clients/asr/riva_streaming_asr_client /tmp/artifacts/riva_streaming_asr_client-linux-amd64; - cp bazel-bin/riva/clients/tts/riva_tts_client /tmp/artifacts/riva_tts_client-linux-amd64; - cp bazel-bin/riva/clients/tts/riva_tts_perf_client /tmp/artifacts/riva_tts_perf_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/asr/riva_asr_client /tmp/artifacts/riva_asr_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/asr/riva_streaming_asr_client /tmp/artifacts/riva_streaming_asr_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/tts/riva_tts_client /tmp/artifacts/riva_tts_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/tts/riva_tts_perf_client /tmp/artifacts/riva_tts_perf_client-linux-amd64; - store_artifacts: path: /tmp/artifacts diff --git a/README.md b/README.md index 6092fe8..06389b9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![CircleCI](https://circleci.com/gh/nvidia-riva/cpp-clients.svg?style=shield)](https://circleci.com/gh/nvidia-riva/cpp-clients) [![License](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT) -# NVIDIA Riva Clients +# NVIDIA NemotronSpeech Clients -NVIDIA Riva is a GPU-accelerated SDK for building Speech AI applications that are customized for your use case and deliver real-time performance. This repo provides performant client example command-line clients. +NVIDIA NemotronSpeech is a GPU-accelerated SDK for building Speech AI applications that are customized for your use case and deliver real-time performance. This repo provides performant client example command-line clients. ## Features @@ -17,7 +17,7 @@ NVIDIA Riva is a GPU-accelerated SDK for building Speech AI applications that ar ## Requirements 1. Meet the Quick Start [prerequisites](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html#prerequisites) -2. A NVIDIA Riva Server (Set one up using the [quick start guide](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html#local-deployment-using-quick-start-scripts)) +2. A NVIDIA NemotronSpeech Server (Set one up using the [quick start guide](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html#local-deployment-using-quick-start-scripts)) 3. Docker (for Docker build) 4. Bazel 5.0.0 (for local build) @@ -25,18 +25,18 @@ NVIDIA Riva is a GPU-accelerated SDK for building Speech AI applications that ar ### Docker -To avoid needing to manually build the clients yourself, Riva comes with a ready to use client docker image. This allows you to run the clients through an interactive docker container. +To avoid needing to manually build the clients yourself, NemotronSpeech comes with a ready to use client docker image. This allows you to run the clients through an interactive docker container. -The clients will need access to a Riva Server. If your server is running locally all you need to do is allow the client container access to your local network. +The clients will need access to a NemotronSpeech Server. If your server is running locally all you need to do is allow the client container access to your local network. If your server is not running locally, all clients come with a command line option `--riva_uri`. This defaults to `localhost:50051`, which is also the default server configuration. As the server is not local, run the client using `--riva_uri [IP]:[PORT]` with your configuration. To build the docker image simply run ``` -DOCKER_BUILDKIT=1 docker build . --tag riva-client +DOCKER_BUILDKIT=1 docker build . --tag nemotronspeech-client ``` To start an interactive docker container, with access to your local network, you can then run ``` -docker run -it --net=host riva-client +docker run -it --net=host nemotronspeech-client ``` Then you can run the clients as command line programs @@ -57,20 +57,20 @@ bazel build ... To build a specific client, you can run: ``` -bazel build //riva/clients/[asr/tts/nlp]:[CLIENT_NAME] +bazel build //nemotronspeech/clients/[asr/tts/nlp]:[CLIENT_NAME] ``` For example, to build the `riva_streaming_asr_client` you would run: ``` -bazel build //riva/clients/asr:riva_streaming_asr_client +bazel build //nemotronspeech/clients/asr:riva_streaming_asr_client ``` -You can find the built binaries in `bazel-bin/riva/clients` +You can find the built binaries in `bazel-bin/nemotronspeech/clients` ## Usage ### Speech Recognition (ASR) Clients -Riva comes with 2 ASR clients: +NemotronSpeech comes with 2 ASR clients: 1. `riva_asr_client` for offline usage. Using this client, the server will wait until it receives the full audio file before transcribing it and sending it back to the client. 2. `riva_streaming_asr_client` for online usage. Using this client, the server will start transcribing after it receives a sufficient amount of audio data, "streaming" intermediate transcripts as it goes on back to the client. By default, it is set to transcribe after every `100ms`, this can be changed using the `--chunk_duration_ms` command line flag. @@ -88,7 +88,7 @@ Note that only single-channel audio files in the `.wav` format are currently sup Other options and information can be found by running the clients with `-help` ### Speech Synthesis (TTS) Client -Riva comes with 2 TTS clients: +NemotronSpeech comes with 2 TTS clients: 1. `riva_tts_client` 2. `riva_tts_perf_client` @@ -110,7 +110,7 @@ Other options and information can be found by running the clients with `-help` ### NLP Client -Riva comes with `riva_nlp_punct` NLP client for Punctuation. The `examples` folder contains example queries to test out the API. +NemotronSpeech comes with `riva_nlp_punct` NLP client for Punctuation. The `examples` folder contains example queries to test out the API. To run the Punctuation client, simply pass in a text file containing queries using the `--queries` flag @@ -126,7 +126,7 @@ Other options and information can be found by running the client with `-help` ## Documentation -Additional documentation on the Riva Speech Skills SDK can be found [here](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/). +Additional documentation on the NemotronSpeech Skills SDK can be found [here](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/). ## License diff --git a/WORKSPACE b/WORKSPACE index 470ba0c..6ccf2ab 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,4 +1,4 @@ -workspace(name = "com_nvidia_riva_api") +workspace(name = "com_nvidia_nemotronspeech_api") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") diff --git a/riva/BUILD b/nemotronspeech/BUILD similarity index 100% rename from riva/BUILD rename to nemotronspeech/BUILD diff --git a/riva/clients/asr/BUILD b/nemotronspeech/clients/asr/BUILD similarity index 85% rename from riva/clients/asr/BUILD rename to nemotronspeech/clients/asr/BUILD index d88c46b..210fa75 100644 --- a/riva/clients/asr/BUILD +++ b/nemotronspeech/clients/asr/BUILD @@ -42,7 +42,7 @@ cc_library( "@com_github_grpc_grpc//:grpc++", "@nvriva_common//riva/proto:riva_grpc_asr", "@glog//:glog", - "//riva/utils/wav:reader", + "//nemotronspeech/utils/wav:reader", ], ) @@ -54,8 +54,8 @@ cc_library( deps = [ ":asr_client_helper", ":client_call", - "//riva/utils/wav:reader", - "//riva/utils/opus", + "//nemotronspeech/utils/wav:reader", + "//nemotronspeech/utils/opus", "@glog//:glog", ] + select({ "@platforms//cpu:aarch64": [ @@ -65,11 +65,11 @@ cc_library( "@alsa//:libasound" ], }) + [ - "//riva/utils:stamping", + "//nemotronspeech/utils:stamping", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", "@nvriva_common//riva/proto:riva_grpc_asr", - "//riva/utils:thread_pool", + "//nemotronspeech/utils:thread_pool", ], ) @@ -80,13 +80,13 @@ cc_binary( ":asr_client_helper", ":client_call", "@nvriva_common//riva/proto:riva_grpc_asr", - "//riva/utils:stamping", - "//riva/utils/files:files", - "//riva/utils/wav:reader", + "//nemotronspeech/utils:stamping", + "//nemotronspeech/utils/files:files", + "//nemotronspeech/utils/wav:reader", "@glog//:glog", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", ] ) @@ -98,10 +98,10 @@ cc_binary( ":client_call", ":streaming_recognize_client", "@nvriva_common//riva/proto:riva_grpc_asr", - "//riva/utils/files:files", - "//riva/utils/wav:reader", + "//nemotronspeech/utils/files:files", + "//nemotronspeech/utils/wav:reader", "@glog//:glog", - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", ] + select({ "@platforms//cpu:aarch64": [ "@alsa_aarch64//:libasound" diff --git a/riva/clients/asr/client_call.cc b/nemotronspeech/clients/asr/client_call.cc similarity index 100% rename from riva/clients/asr/client_call.cc rename to nemotronspeech/clients/asr/client_call.cc diff --git a/riva/clients/asr/client_call.h b/nemotronspeech/clients/asr/client_call.h similarity index 97% rename from riva/clients/asr/client_call.h rename to nemotronspeech/clients/asr/client_call.h index f639d07..c73f7df 100644 --- a/riva/clients/asr/client_call.h +++ b/nemotronspeech/clients/asr/client_call.h @@ -25,7 +25,7 @@ #include #include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/wav/wav_reader.h" #include "riva_asr_client_helper.h" using grpc::Status; diff --git a/riva/clients/asr/riva_asr_client.cc b/nemotronspeech/clients/asr/riva_asr_client.cc similarity index 99% rename from riva/clients/asr/riva_asr_client.cc rename to nemotronspeech/clients/asr/riva_asr_client.cc index 8f82c9a..cb5148f 100644 --- a/riva/clients/asr/riva_asr_client.cc +++ b/nemotronspeech/clients/asr/riva_asr_client.cc @@ -22,11 +22,11 @@ #include #include -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/utils/files/files.h" -#include "riva/utils/stamping.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/stamping.h" +#include "nemotronspeech/utils/wav/wav_reader.h" #include "riva_asr_client_helper.h" using grpc::Status; diff --git a/riva/clients/asr/riva_asr_client_helper.cc b/nemotronspeech/clients/asr/riva_asr_client_helper.cc similarity index 100% rename from riva/clients/asr/riva_asr_client_helper.cc rename to nemotronspeech/clients/asr/riva_asr_client_helper.cc diff --git a/riva/clients/asr/riva_asr_client_helper.h b/nemotronspeech/clients/asr/riva_asr_client_helper.h similarity index 100% rename from riva/clients/asr/riva_asr_client_helper.h rename to nemotronspeech/clients/asr/riva_asr_client_helper.h diff --git a/riva/clients/asr/riva_streaming_asr_client.cc b/nemotronspeech/clients/asr/riva_streaming_asr_client.cc similarity index 98% rename from riva/clients/asr/riva_streaming_asr_client.cc rename to nemotronspeech/clients/asr/riva_streaming_asr_client.cc index 0790738..b7d9cc9 100644 --- a/riva/clients/asr/riva_streaming_asr_client.cc +++ b/nemotronspeech/clients/asr/riva_streaming_asr_client.cc @@ -25,11 +25,11 @@ #include #include "client_call.h" -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/utils/files/files.h" -#include "riva/utils/stamping.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/stamping.h" +#include "nemotronspeech/utils/wav/wav_reader.h" #include "riva_asr_client_helper.h" #include "streaming_recognize_client.h" diff --git a/riva/clients/asr/streaming_recognize_client.cc b/nemotronspeech/clients/asr/streaming_recognize_client.cc similarity index 99% rename from riva/clients/asr/streaming_recognize_client.cc rename to nemotronspeech/clients/asr/streaming_recognize_client.cc index 84581af..b8a17ed 100644 --- a/riva/clients/asr/streaming_recognize_client.cc +++ b/nemotronspeech/clients/asr/streaming_recognize_client.cc @@ -6,7 +6,7 @@ #include "streaming_recognize_client.h" -#include "riva/utils/opus/opus_client_decoder.h" +#include "nemotronspeech/utils/opus/opus_client_decoder.h" #define clear_screen() printf("\033[H\033[J") #define gotoxy(x, y) printf("\033[%d;%dH", (y), (x)) diff --git a/riva/clients/asr/streaming_recognize_client.h b/nemotronspeech/clients/asr/streaming_recognize_client.h similarity index 97% rename from riva/clients/asr/streaming_recognize_client.h rename to nemotronspeech/clients/asr/streaming_recognize_client.h index 9232cff..cd431ac 100644 --- a/riva/clients/asr/streaming_recognize_client.h +++ b/nemotronspeech/clients/asr/streaming_recognize_client.h @@ -28,8 +28,8 @@ #include "client_call.h" #include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/utils/thread_pool.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/thread_pool.h" +#include "nemotronspeech/utils/wav/wav_reader.h" #include "riva_asr_client_helper.h" using grpc::Status; diff --git a/riva/clients/asr/streaming_recognize_client_test.cc b/nemotronspeech/clients/asr/streaming_recognize_client_test.cc similarity index 100% rename from riva/clients/asr/streaming_recognize_client_test.cc rename to nemotronspeech/clients/asr/streaming_recognize_client_test.cc diff --git a/riva/clients/nlp/BUILD b/nemotronspeech/clients/nlp/BUILD similarity index 81% rename from riva/clients/nlp/BUILD rename to nemotronspeech/clients/nlp/BUILD index 6673026..cf8e667 100644 --- a/riva/clients/nlp/BUILD +++ b/nemotronspeech/clients/nlp/BUILD @@ -23,9 +23,9 @@ cc_binary( srcs = ["riva_nlp_punct.cc","riva_nlp_client.h"], deps = [ ":riva_nlp_client", - "//riva/clients/utils:grpc", - "//riva/utils:stamping", - "//riva/utils/files:files" + "//nemotronspeech/clients/utils:grpc", + "//nemotronspeech/utils:stamping", + "//nemotronspeech/utils/files:files" ] ) diff --git a/riva/clients/nlp/riva_nlp_client.h b/nemotronspeech/clients/nlp/riva_nlp_client.h similarity index 100% rename from riva/clients/nlp/riva_nlp_client.h rename to nemotronspeech/clients/nlp/riva_nlp_client.h diff --git a/riva/clients/nlp/riva_nlp_punct.cc b/nemotronspeech/clients/nlp/riva_nlp_punct.cc similarity index 98% rename from riva/clients/nlp/riva_nlp_punct.cc rename to nemotronspeech/clients/nlp/riva_nlp_punct.cc index 2212a1a..3c2d50c 100644 --- a/riva/clients/nlp/riva_nlp_punct.cc +++ b/nemotronspeech/clients/nlp/riva_nlp_punct.cc @@ -21,9 +21,9 @@ #include #include -#include "riva/clients/utils/grpc.h" -#include "riva/utils/files/files.h" -#include "riva/utils/stamping.h" +#include "nemotronspeech/clients/utils/grpc.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/stamping.h" #include "riva_nlp_client.h" using grpc::Status; diff --git a/riva/clients/nmt/BUILD b/nemotronspeech/clients/nmt/BUILD similarity index 75% rename from riva/clients/nmt/BUILD rename to nemotronspeech/clients/nmt/BUILD index dd6b5ba..0f4e71a 100644 --- a/riva/clients/nmt/BUILD +++ b/nemotronspeech/clients/nmt/BUILD @@ -10,7 +10,7 @@ cc_binary( name = "riva_nmt_t2t_client", srcs = ["riva_nmt_t2t_client.cc"], deps = [ - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", "@nvriva_common//riva/proto:riva_grpc_nmt", "@com_github_gflags_gflags//:gflags", "@glog//:glog", @@ -30,10 +30,10 @@ cc_library( "@alsa//:libasound" ], }) + [ - "//riva/clients/asr:asr_client_helper", + "//nemotronspeech/clients/asr:asr_client_helper", "@com_github_grpc_grpc//:grpc++", "@nvriva_common//riva/proto:riva_grpc_nmt", - "//riva/utils/wav:reader", + "//nemotronspeech/utils/wav:reader", ], ) @@ -43,11 +43,11 @@ cc_library( "streaming_s2s_client.cc" ], deps = [ - "//riva/clients/asr:asr_client_helper", + "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", - "//riva/utils/wav:reader", - "//riva/utils/wav:writer", - "//riva/utils/opus", + "//nemotronspeech/utils/wav:reader", + "//nemotronspeech/utils/wav:writer", + "//nemotronspeech/utils/opus", "@glog//:glog", ] + select({ "@platforms//cpu:aarch64": [ @@ -57,11 +57,11 @@ cc_library( "@alsa//:libasound" ], }) + [ - "//riva/utils:stamping", + "//nemotronspeech/utils:stamping", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", "@nvriva_common//riva/proto:riva_grpc_nmt", - "//riva/utils:thread_pool", + "//nemotronspeech/utils:thread_pool", ], ) cc_library( @@ -70,9 +70,9 @@ cc_library( "streaming_s2t_client.cc" ], deps = [ - "//riva/clients/asr:asr_client_helper", + "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", - "//riva/utils/wav:reader", + "//nemotronspeech/utils/wav:reader", "@glog//:glog", ] + select({ "@platforms//cpu:aarch64": [ @@ -82,11 +82,11 @@ cc_library( "@alsa//:libasound" ], }) + [ - "//riva/utils:stamping", + "//nemotronspeech/utils:stamping", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", "@nvriva_common//riva/proto:riva_grpc_nmt", - "//riva/utils:thread_pool", + "//nemotronspeech/utils:thread_pool", ], ) @@ -94,14 +94,14 @@ cc_binary( name = "riva_nmt_streaming_s2t_client", srcs = ["riva_nmt_streaming_s2t_client.cc"], deps = [ - "//riva/clients/asr:asr_client_helper", + "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", ":streaming_s2t_client", "@nvriva_common//riva/proto:riva_grpc_nmt", - "//riva/utils/files:files", - "//riva/utils/wav:reader", + "//nemotronspeech/utils/files:files", + "//nemotronspeech/utils/wav:reader", "@glog//:glog", - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", ] + select({ "@platforms//cpu:aarch64": [ "@alsa_aarch64//:libasound" @@ -118,13 +118,13 @@ cc_binary( name = "riva_nmt_streaming_s2s_client", srcs = ["riva_nmt_streaming_s2s_client.cc"], deps = [ - "//riva/clients/asr:asr_client_helper", + "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", ":streaming_s2s_client", "@nvriva_common//riva/proto:riva_grpc_nmt", - "//riva/utils/files:files", + "//nemotronspeech/utils/files:files", "@glog//:glog", - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", ] + select({ "@platforms//cpu:aarch64": [ "@alsa_aarch64//:libasound" diff --git a/riva/clients/nmt/client_call.cc b/nemotronspeech/clients/nmt/client_call.cc similarity index 100% rename from riva/clients/nmt/client_call.cc rename to nemotronspeech/clients/nmt/client_call.cc diff --git a/riva/clients/nmt/client_call.h b/nemotronspeech/clients/nmt/client_call.h similarity index 98% rename from riva/clients/nmt/client_call.h rename to nemotronspeech/clients/nmt/client_call.h index 2daacc9..5e00528 100644 --- a/riva/clients/nmt/client_call.h +++ b/nemotronspeech/clients/nmt/client_call.h @@ -23,10 +23,10 @@ #include #include -#include "riva/clients/asr/riva_asr_client_helper.h" +#include "nemotronspeech/clients/asr/riva_asr_client_helper.h" #include "riva/proto/riva_asr.grpc.pb.h" #include "riva/proto/riva_nmt.grpc.pb.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/wav/wav_reader.h" using grpc::Status; using grpc::StatusCode; diff --git a/riva/clients/nmt/riva_nmt_streaming_s2s_client.cc b/nemotronspeech/clients/nmt/riva_nmt_streaming_s2s_client.cc similarity index 98% rename from riva/clients/nmt/riva_nmt_streaming_s2s_client.cc rename to nemotronspeech/clients/nmt/riva_nmt_streaming_s2s_client.cc index 9659a62..14bb65c 100644 --- a/riva/clients/nmt/riva_nmt_streaming_s2s_client.cc +++ b/nemotronspeech/clients/nmt/riva_nmt_streaming_s2s_client.cc @@ -26,11 +26,11 @@ #include #include "client_call.h" -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_nmt.grpc.pb.h" -#include "riva/utils/files/files.h" -#include "riva/utils/stamping.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/stamping.h" +#include "nemotronspeech/utils/wav/wav_reader.h" #include "streaming_s2s_client.h" using grpc::Status; diff --git a/riva/clients/nmt/riva_nmt_streaming_s2t_client.cc b/nemotronspeech/clients/nmt/riva_nmt_streaming_s2t_client.cc similarity index 97% rename from riva/clients/nmt/riva_nmt_streaming_s2t_client.cc rename to nemotronspeech/clients/nmt/riva_nmt_streaming_s2t_client.cc index be783ff..8b3366d 100644 --- a/riva/clients/nmt/riva_nmt_streaming_s2t_client.cc +++ b/nemotronspeech/clients/nmt/riva_nmt_streaming_s2t_client.cc @@ -25,11 +25,11 @@ #include #include "client_call.h" -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_nmt.grpc.pb.h" -#include "riva/utils/files/files.h" -#include "riva/utils/stamping.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/stamping.h" +#include "nemotronspeech/utils/wav/wav_reader.h" #include "streaming_s2t_client.h" using grpc::Status; diff --git a/riva/clients/nmt/riva_nmt_t2t_client.cc b/nemotronspeech/clients/nmt/riva_nmt_t2t_client.cc similarity index 99% rename from riva/clients/nmt/riva_nmt_t2t_client.cc rename to nemotronspeech/clients/nmt/riva_nmt_t2t_client.cc index 47c2b30..ce9fe9f 100644 --- a/riva/clients/nmt/riva_nmt_t2t_client.cc +++ b/nemotronspeech/clients/nmt/riva_nmt_t2t_client.cc @@ -16,9 +16,9 @@ #include #include -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_nmt.grpc.pb.h" -#include "riva/utils/files/files.h" +#include "nemotronspeech/utils/files/files.h" using grpc::Status; using grpc::StatusCode; diff --git a/riva/clients/nmt/streaming_s2s_client.cc b/nemotronspeech/clients/nmt/streaming_s2s_client.cc similarity index 99% rename from riva/clients/nmt/streaming_s2s_client.cc rename to nemotronspeech/clients/nmt/streaming_s2s_client.cc index c0a56af..7cc88ef 100644 --- a/riva/clients/nmt/streaming_s2s_client.cc +++ b/nemotronspeech/clients/nmt/streaming_s2s_client.cc @@ -5,7 +5,7 @@ #include "streaming_s2s_client.h" -#include "riva/utils/opus/opus_client_decoder.h" +#include "nemotronspeech/utils/opus/opus_client_decoder.h" #define clear_screen() printf("\033[H\033[J") #define gotoxy(x, y) printf("\033[%d;%dH", (y), (x)) diff --git a/riva/clients/nmt/streaming_s2s_client.h b/nemotronspeech/clients/nmt/streaming_s2s_client.h similarity index 94% rename from riva/clients/nmt/streaming_s2s_client.h rename to nemotronspeech/clients/nmt/streaming_s2s_client.h index 5e7927f..f6380b0 100644 --- a/riva/clients/nmt/streaming_s2s_client.h +++ b/nemotronspeech/clients/nmt/streaming_s2s_client.h @@ -27,11 +27,11 @@ #include #include "client_call.h" -#include "riva/clients/asr/riva_asr_client_helper.h" +#include "nemotronspeech/clients/asr/riva_asr_client_helper.h" #include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/utils/thread_pool.h" -#include "riva/utils/wav/wav_reader.h" -#include "riva/utils/wav/wav_writer.h" +#include "nemotronspeech/utils/thread_pool.h" +#include "nemotronspeech/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/wav/wav_writer.h" using grpc::Status; using grpc::StatusCode; diff --git a/riva/clients/nmt/streaming_s2t_client.cc b/nemotronspeech/clients/nmt/streaming_s2t_client.cc similarity index 100% rename from riva/clients/nmt/streaming_s2t_client.cc rename to nemotronspeech/clients/nmt/streaming_s2t_client.cc diff --git a/riva/clients/nmt/streaming_s2t_client.h b/nemotronspeech/clients/nmt/streaming_s2t_client.h similarity index 95% rename from riva/clients/nmt/streaming_s2t_client.h rename to nemotronspeech/clients/nmt/streaming_s2t_client.h index 09747b9..6819e10 100644 --- a/riva/clients/nmt/streaming_s2t_client.h +++ b/nemotronspeech/clients/nmt/streaming_s2t_client.h @@ -27,10 +27,10 @@ #include #include "client_call.h" -#include "riva/clients/asr/riva_asr_client_helper.h" +#include "nemotronspeech/clients/asr/riva_asr_client_helper.h" #include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/utils/thread_pool.h" -#include "riva/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/thread_pool.h" +#include "nemotronspeech/utils/wav/wav_reader.h" using grpc::Status; using grpc::StatusCode; diff --git a/riva/clients/tts/BUILD b/nemotronspeech/clients/tts/BUILD similarity index 63% rename from riva/clients/tts/BUILD rename to nemotronspeech/clients/tts/BUILD index b3e5df5..3b961ec 100644 --- a/riva/clients/tts/BUILD +++ b/nemotronspeech/clients/tts/BUILD @@ -12,15 +12,15 @@ cc_binary( srcs = ["riva_tts_client.cc"], deps = [ "@nvriva_common//riva/proto:riva_grpc_tts", - "//riva/utils:stamping", - "//riva/utils/wav:writer", - "//riva/utils/wav:reader", - "//riva/utils/opus", + "//nemotronspeech/utils:stamping", + "//nemotronspeech/utils/wav:writer", + "//nemotronspeech/utils/wav:reader", + "//nemotronspeech/utils/opus", "@glog//:glog", "@com_google_absl//absl/time", "@com_github_gflags_gflags//:gflags", "@com_github_grpc_grpc//:grpc++", - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", ] ) @@ -29,13 +29,13 @@ cc_binary( srcs = ["riva_tts_perf_client.cc"], deps = [ "@nvriva_common//riva/proto:riva_grpc_tts", - "//riva/utils:stamping", - "//riva/utils/wav:writer", - "//riva/utils/wav:reader", - "//riva/utils/opus", + "//nemotronspeech/utils:stamping", + "//nemotronspeech/utils/wav:writer", + "//nemotronspeech/utils/wav:reader", + "//nemotronspeech/utils/opus", "@glog//:glog", "@com_github_gflags_gflags//:gflags", "@com_github_grpc_grpc//:grpc++", - "//riva/clients/utils:grpc", + "//nemotronspeech/clients/utils:grpc", ] ) diff --git a/riva/clients/tts/riva_tts_client.cc b/nemotronspeech/clients/tts/riva_tts_client.cc similarity index 98% rename from riva/clients/tts/riva_tts_client.cc rename to nemotronspeech/clients/tts/riva_tts_client.cc index b7501f2..6d2eb25 100644 --- a/riva/clients/tts/riva_tts_client.cc +++ b/nemotronspeech/clients/tts/riva_tts_client.cc @@ -17,13 +17,13 @@ #include #include -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_tts.grpc.pb.h" -#include "riva/utils/files/files.h" -#include "riva/utils/opus/opus_client_decoder.h" -#include "riva/utils/stamping.h" -#include "riva/utils/wav/wav_reader.h" -#include "riva/utils/wav/wav_writer.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/opus/opus_client_decoder.h" +#include "nemotronspeech/utils/stamping.h" +#include "nemotronspeech/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/wav/wav_writer.h" using grpc::Status; using grpc::StatusCode; diff --git a/riva/clients/tts/riva_tts_perf_client.cc b/nemotronspeech/clients/tts/riva_tts_perf_client.cc similarity index 98% rename from riva/clients/tts/riva_tts_perf_client.cc rename to nemotronspeech/clients/tts/riva_tts_perf_client.cc index 20bad2f..a0d1af9 100644 --- a/riva/clients/tts/riva_tts_perf_client.cc +++ b/nemotronspeech/clients/tts/riva_tts_perf_client.cc @@ -20,13 +20,13 @@ #include #include -#include "riva/clients/utils/grpc.h" +#include "nemotronspeech/clients/utils/grpc.h" #include "riva/proto/riva_tts.grpc.pb.h" -#include "riva/utils/files/files.h" -#include "riva/utils/opus/opus_client_decoder.h" -#include "riva/utils/stamping.h" -#include "riva/utils/wav/wav_reader.h" -#include "riva/utils/wav/wav_writer.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/opus/opus_client_decoder.h" +#include "nemotronspeech/utils/stamping.h" +#include "nemotronspeech/utils/wav/wav_reader.h" +#include "nemotronspeech/utils/wav/wav_writer.h" using grpc::Status; using grpc::StatusCode; diff --git a/riva/clients/utils/BUILD b/nemotronspeech/clients/utils/BUILD similarity index 85% rename from riva/clients/utils/BUILD rename to nemotronspeech/clients/utils/BUILD index 0e5abd7..d674e25 100644 --- a/riva/clients/utils/BUILD +++ b/nemotronspeech/clients/utils/BUILD @@ -12,8 +12,8 @@ cc_library( hdrs = ["grpc.h"], linkopts = ["-lm"], deps = [ - "//riva/utils/files:files", - "//riva/utils:string_processing", + "//nemotronspeech/utils/files:files", + "//nemotronspeech/utils:string_processing", "@com_github_gflags_gflags//:gflags", "@glog//:glog", "@com_github_grpc_grpc//:grpc++" diff --git a/riva/clients/utils/grpc.h b/nemotronspeech/clients/utils/grpc.h similarity index 97% rename from riva/clients/utils/grpc.h rename to nemotronspeech/clients/utils/grpc.h index 16e64a3..b2d74d0 100644 --- a/riva/clients/utils/grpc.h +++ b/nemotronspeech/clients/utils/grpc.h @@ -13,8 +13,8 @@ #include #include -#include "riva/utils/files/files.h" -#include "riva/utils/string_processing.h" +#include "nemotronspeech/utils/files/files.h" +#include "nemotronspeech/utils/string_processing.h" constexpr int MAX_GRPC_MESSAGE_SIZE = 128 * 1024 * 1024; diff --git a/riva/clients/utils/grpc_test.cc b/nemotronspeech/clients/utils/grpc_test.cc similarity index 100% rename from riva/clients/utils/grpc_test.cc rename to nemotronspeech/clients/utils/grpc_test.cc diff --git a/riva/utils/BUILD b/nemotronspeech/utils/BUILD similarity index 100% rename from riva/utils/BUILD rename to nemotronspeech/utils/BUILD diff --git a/riva/utils/files/BUILD b/nemotronspeech/utils/files/BUILD similarity index 100% rename from riva/utils/files/BUILD rename to nemotronspeech/utils/files/BUILD diff --git a/riva/utils/files/files.cc b/nemotronspeech/utils/files/files.cc similarity index 100% rename from riva/utils/files/files.cc rename to nemotronspeech/utils/files/files.cc diff --git a/riva/utils/files/files.h b/nemotronspeech/utils/files/files.h similarity index 100% rename from riva/utils/files/files.h rename to nemotronspeech/utils/files/files.h diff --git a/riva/utils/files/files_test.cc b/nemotronspeech/utils/files/files_test.cc similarity index 100% rename from riva/utils/files/files_test.cc rename to nemotronspeech/utils/files/files_test.cc diff --git a/riva/utils/opus/BUILD b/nemotronspeech/utils/opus/BUILD similarity index 94% rename from riva/utils/opus/BUILD rename to nemotronspeech/utils/opus/BUILD index dc08fde..6e9f843 100644 --- a/riva/utils/opus/BUILD +++ b/nemotronspeech/utils/opus/BUILD @@ -23,7 +23,7 @@ cc_library( "@glog//:glog", "@libopus", "@libopusfile", - "//riva/utils/wav:reader", + "//nemotronspeech/utils/wav:reader", ], linkopts = [ "-logg" diff --git a/riva/utils/opus/opus_client_decoder.cc b/nemotronspeech/utils/opus/opus_client_decoder.cc similarity index 100% rename from riva/utils/opus/opus_client_decoder.cc rename to nemotronspeech/utils/opus/opus_client_decoder.cc diff --git a/riva/utils/opus/opus_client_decoder.h b/nemotronspeech/utils/opus/opus_client_decoder.h similarity index 100% rename from riva/utils/opus/opus_client_decoder.h rename to nemotronspeech/utils/opus/opus_client_decoder.h diff --git a/riva/utils/stamping.cc b/nemotronspeech/utils/stamping.cc similarity index 100% rename from riva/utils/stamping.cc rename to nemotronspeech/utils/stamping.cc diff --git a/riva/utils/stamping.h b/nemotronspeech/utils/stamping.h similarity index 100% rename from riva/utils/stamping.h rename to nemotronspeech/utils/stamping.h diff --git a/riva/utils/string_processing.h b/nemotronspeech/utils/string_processing.h similarity index 100% rename from riva/utils/string_processing.h rename to nemotronspeech/utils/string_processing.h diff --git a/riva/utils/thread_pool.h b/nemotronspeech/utils/thread_pool.h similarity index 100% rename from riva/utils/thread_pool.h rename to nemotronspeech/utils/thread_pool.h diff --git a/riva/utils/wav/BUILD b/nemotronspeech/utils/wav/BUILD similarity index 100% rename from riva/utils/wav/BUILD rename to nemotronspeech/utils/wav/BUILD diff --git a/riva/utils/wav/wav_data.h b/nemotronspeech/utils/wav/wav_data.h similarity index 100% rename from riva/utils/wav/wav_data.h rename to nemotronspeech/utils/wav/wav_data.h diff --git a/riva/utils/wav/wav_reader.cc b/nemotronspeech/utils/wav/wav_reader.cc similarity index 100% rename from riva/utils/wav/wav_reader.cc rename to nemotronspeech/utils/wav/wav_reader.cc diff --git a/riva/utils/wav/wav_reader.h b/nemotronspeech/utils/wav/wav_reader.h similarity index 100% rename from riva/utils/wav/wav_reader.h rename to nemotronspeech/utils/wav/wav_reader.h diff --git a/riva/utils/wav/wav_writer.cc b/nemotronspeech/utils/wav/wav_writer.cc similarity index 100% rename from riva/utils/wav/wav_writer.cc rename to nemotronspeech/utils/wav/wav_writer.cc diff --git a/riva/utils/wav/wav_writer.h b/nemotronspeech/utils/wav/wav_writer.h similarity index 100% rename from riva/utils/wav/wav_writer.h rename to nemotronspeech/utils/wav/wav_writer.h From 2b6d6e8ecead9fe0c6e4488597973c529e579fa0 Mon Sep 17 00:00:00 2001 From: sarane22 Date: Thu, 21 May 2026 18:45:54 +0530 Subject: [PATCH 2/4] chore(all): Renaming files and binaries --- .circleci/config.yml | 8 ++-- README.md | 38 +++++++++---------- nemotronspeech/clients/asr/BUILD | 10 ++--- nemotronspeech/clients/asr/client_call.h | 2 +- ...a_asr_client.cc => nemotron_asr_client.cc} | 4 +- ...elper.cc => nemotron_asr_client_helper.cc} | 2 +- ..._helper.h => nemotron_asr_client_helper.h} | 0 ...nt.cc => nemotron_streaming_asr_client.cc} | 4 +- .../clients/asr/streaming_recognize_client.h | 2 +- nemotronspeech/clients/nlp/BUILD | 10 ++--- ...iva_nlp_client.h => nemotron_nlp_client.h} | 0 ...iva_nlp_punct.cc => nemotron_nlp_punct.cc} | 4 +- nemotronspeech/clients/nmt/BUILD | 12 +++--- nemotronspeech/clients/nmt/client_call.h | 2 +- ...c => nemotron_nmt_streaming_s2s_client.cc} | 2 +- ...c => nemotron_nmt_streaming_s2t_client.cc} | 2 +- ...t_client.cc => nemotron_nmt_t2t_client.cc} | 2 +- .../clients/nmt/streaming_s2s_client.h | 2 +- .../clients/nmt/streaming_s2t_client.h | 2 +- nemotronspeech/clients/tts/BUILD | 8 ++-- ...a_tts_client.cc => nemotron_tts_client.cc} | 2 +- ..._client.cc => nemotron_tts_perf_client.cc} | 2 +- 22 files changed, 60 insertions(+), 60 deletions(-) rename nemotronspeech/clients/asr/{riva_asr_client.cc => nemotron_asr_client.cc} (99%) rename nemotronspeech/clients/asr/{riva_asr_client_helper.cc => nemotron_asr_client_helper.cc} (99%) rename nemotronspeech/clients/asr/{riva_asr_client_helper.h => nemotron_asr_client_helper.h} (100%) rename nemotronspeech/clients/asr/{riva_streaming_asr_client.cc => nemotron_streaming_asr_client.cc} (99%) rename nemotronspeech/clients/nlp/{riva_nlp_client.h => nemotron_nlp_client.h} (100%) rename nemotronspeech/clients/nlp/{riva_nlp_punct.cc => nemotron_nlp_punct.cc} (98%) rename nemotronspeech/clients/nmt/{riva_nmt_streaming_s2s_client.cc => nemotron_nmt_streaming_s2s_client.cc} (99%) rename nemotronspeech/clients/nmt/{riva_nmt_streaming_s2t_client.cc => nemotron_nmt_streaming_s2t_client.cc} (99%) rename nemotronspeech/clients/nmt/{riva_nmt_t2t_client.cc => nemotron_nmt_t2t_client.cc} (99%) rename nemotronspeech/clients/tts/{riva_tts_client.cc => nemotron_tts_client.cc} (99%) rename nemotronspeech/clients/tts/{riva_tts_perf_client.cc => nemotron_tts_perf_client.cc} (99%) diff --git a/.circleci/config.yml b/.circleci/config.yml index 91b2e86..9eb548f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,10 +40,10 @@ jobs: name: "Collect artifacts" command: | mkdir /tmp/artifacts; - cp bazel-bin/nemotronspeech/clients/asr/riva_asr_client /tmp/artifacts/riva_asr_client-linux-amd64; - cp bazel-bin/nemotronspeech/clients/asr/riva_streaming_asr_client /tmp/artifacts/riva_streaming_asr_client-linux-amd64; - cp bazel-bin/nemotronspeech/clients/tts/riva_tts_client /tmp/artifacts/riva_tts_client-linux-amd64; - cp bazel-bin/nemotronspeech/clients/tts/riva_tts_perf_client /tmp/artifacts/riva_tts_perf_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/asr/nemotron_asr_client /tmp/artifacts/nemotron_asr_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/asr/nemotron_streaming_asr_client /tmp/artifacts/nemotron_streaming_asr_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/tts/nemotron_tts_client /tmp/artifacts/nemotron_tts_client-linux-amd64; + cp bazel-bin/nemotronspeech/clients/tts/nemotron_tts_perf_client /tmp/artifacts/nemotron_tts_perf_client-linux-amd64; - store_artifacts: path: /tmp/artifacts diff --git a/README.md b/README.md index 06389b9..b773460 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ NVIDIA NemotronSpeech is a GPU-accelerated SDK for building Speech AI applicatio ## Features - **Automatic Speech Recognition (ASR)** - - `riva_streaming_asr_client` - - `riva_asr_client` + - `nemotron_streaming_asr_client` + - `nemotron_asr_client` - **Speech Synthesis (TTS)** - - `riva_tts_client` - - `riva_tts_perf_client` + - `nemotron_tts_client` + - `nemotron_tts_perf_client` - **Natural Language Processing (NLP)** - - `riva_nlp_punct` + - `nemotron_nlp_punct` ## Requirements @@ -60,9 +60,9 @@ To build a specific client, you can run: bazel build //nemotronspeech/clients/[asr/tts/nlp]:[CLIENT_NAME] ``` -For example, to build the `riva_streaming_asr_client` you would run: +For example, to build the `nemotron_streaming_asr_client` you would run: ``` -bazel build //nemotronspeech/clients/asr:riva_streaming_asr_client +bazel build //nemotronspeech/clients/asr:nemotron_streaming_asr_client ``` You can find the built binaries in `bazel-bin/nemotronspeech/clients` @@ -71,16 +71,16 @@ You can find the built binaries in `bazel-bin/nemotronspeech/clients` ### Speech Recognition (ASR) Clients NemotronSpeech comes with 2 ASR clients: -1. `riva_asr_client` for offline usage. Using this client, the server will wait until it receives the full audio file before transcribing it and sending it back to the client. -2. `riva_streaming_asr_client` for online usage. Using this client, the server will start transcribing after it receives a sufficient amount of audio data, "streaming" intermediate transcripts as it goes on back to the client. By default, it is set to transcribe after every `100ms`, this can be changed using the `--chunk_duration_ms` command line flag. +1. `nemotron_asr_client` for offline usage. Using this client, the server will wait until it receives the full audio file before transcribing it and sending it back to the client. +2. `nemotron_streaming_asr_client` for online usage. Using this client, the server will start transcribing after it receives a sufficient amount of audio data, "streaming" intermediate transcripts as it goes on back to the client. By default, it is set to transcribe after every `100ms`, this can be changed using the `--chunk_duration_ms` command line flag. To use the clients, simply pass in a folder containing audio files or an individual audio file name with the `audio_file` flag: ``` -$ riva_streaming_asr_client --audio_file individual_audio_file.wav +$ nemotron_streaming_asr_client --audio_file individual_audio_file.wav ``` or ``` -$ riva_asr_client --audio_file audio_folder +$ nemotron_asr_client --audio_file audio_folder ``` Note that only single-channel audio files in the `.wav` format are currently supported. @@ -89,33 +89,33 @@ Other options and information can be found by running the clients with `-help` ### Speech Synthesis (TTS) Client NemotronSpeech comes with 2 TTS clients: -1. `riva_tts_client` -2. `riva_tts_perf_client` +1. `nemotron_tts_client` +2. `nemotron_tts_perf_client` Both clients support an `online` flag, which is similar to the `streaming` ASR client. Enabling the flag will stream the audio back to the client as soon as it is generated on the server, otherwise will send the entire batch at once. Language can also be specified using a BCP-47 language tag, which is default to `en-US` -To use the `riva_tts_client` simply run the client passing in text with the `--text` flag: +To use the `nemotron_tts_client` simply run the client passing in text with the `--text` flag: ``` -$ riva_tts_client --text="Text to be synthesized" +$ nemotron_tts_client --text="Text to be synthesized" ``` -The `riva_tts_perf_client` performs the same as the `riva_tts_client` however provides additional information about latency and throughput. Run the client passing in a file containing the text input using the `--text_file` flag. +The `nemotron_tts_perf_client` performs the same as the `nemotron_tts_client` however provides additional information about latency and throughput. Run the client passing in a file containing the text input using the `--text_file` flag. ``` -$ riva_tts_perf_client --text_file=/text_files/input.txt +$ nemotron_tts_perf_client --text_file=/text_files/input.txt ``` Other options and information can be found by running the clients with `-help` ### NLP Client -NemotronSpeech comes with `riva_nlp_punct` NLP client for Punctuation. The `examples` folder contains example queries to test out the API. +NemotronSpeech comes with `nemotron_nlp_punct` NLP client for Punctuation. The `examples` folder contains example queries to test out the API. To run the Punctuation client, simply pass in a text file containing queries using the `--queries` flag ``` -$ riva_nlp_punct --queries=examples/punctuation_queries.txt +$ nemotron_nlp_punct --queries=examples/punctuation_queries.txt Done sending 3 requests 1: Punct text: Do you have any red Nvidia shirts? 0: Punct text: Add punctuation to this sentence. diff --git a/nemotronspeech/clients/asr/BUILD b/nemotronspeech/clients/asr/BUILD index 210fa75..308023a 100644 --- a/nemotronspeech/clients/asr/BUILD +++ b/nemotronspeech/clients/asr/BUILD @@ -13,7 +13,7 @@ package( cc_library( name = "asr_client_helper", - srcs = ["riva_asr_client_helper.h", "riva_asr_client_helper.cc"], + srcs = ["nemotron_asr_client_helper.h", "nemotron_asr_client_helper.cc"], deps = select({ "@platforms//cpu:aarch64": [ "@alsa_aarch64//:libasound" @@ -74,8 +74,8 @@ cc_library( ) cc_binary( - name = "riva_asr_client", - srcs = ["riva_asr_client.cc"], + name = "nemotron_asr_client", + srcs = ["nemotron_asr_client.cc"], deps = [ ":asr_client_helper", ":client_call", @@ -91,8 +91,8 @@ cc_binary( ) cc_binary( - name = "riva_streaming_asr_client", - srcs = ["riva_streaming_asr_client.cc"], + name = "nemotron_streaming_asr_client", + srcs = ["nemotron_streaming_asr_client.cc"], deps = [ ":asr_client_helper", ":client_call", diff --git a/nemotronspeech/clients/asr/client_call.h b/nemotronspeech/clients/asr/client_call.h index c73f7df..c6821b4 100644 --- a/nemotronspeech/clients/asr/client_call.h +++ b/nemotronspeech/clients/asr/client_call.h @@ -26,7 +26,7 @@ #include "riva/proto/riva_asr.grpc.pb.h" #include "nemotronspeech/utils/wav/wav_reader.h" -#include "riva_asr_client_helper.h" +#include "nemotron_asr_client_helper.h" using grpc::Status; using grpc::StatusCode; diff --git a/nemotronspeech/clients/asr/riva_asr_client.cc b/nemotronspeech/clients/asr/nemotron_asr_client.cc similarity index 99% rename from nemotronspeech/clients/asr/riva_asr_client.cc rename to nemotronspeech/clients/asr/nemotron_asr_client.cc index cb5148f..1ba28c4 100644 --- a/nemotronspeech/clients/asr/riva_asr_client.cc +++ b/nemotronspeech/clients/asr/nemotron_asr_client.cc @@ -27,7 +27,7 @@ #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" #include "nemotronspeech/utils/wav/wav_reader.h" -#include "riva_asr_client_helper.h" +#include "nemotron_asr_client_helper.h" using grpc::Status; using grpc::StatusCode; @@ -448,7 +448,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_asr_client " << std::endl; + str_usage << "Usage: nemotron_asr_client " << std::endl; str_usage << " --audio_file= " << std::endl; str_usage << " --automatic_punctuation=" << std::endl; str_usage << " --max_alternatives=" << std::endl; diff --git a/nemotronspeech/clients/asr/riva_asr_client_helper.cc b/nemotronspeech/clients/asr/nemotron_asr_client_helper.cc similarity index 99% rename from nemotronspeech/clients/asr/riva_asr_client_helper.cc rename to nemotronspeech/clients/asr/nemotron_asr_client_helper.cc index 068a37f..2ddc942 100644 --- a/nemotronspeech/clients/asr/riva_asr_client_helper.cc +++ b/nemotronspeech/clients/asr/nemotron_asr_client_helper.cc @@ -4,7 +4,7 @@ */ -#include "riva_asr_client_helper.h" +#include "nemotron_asr_client_helper.h" #include diff --git a/nemotronspeech/clients/asr/riva_asr_client_helper.h b/nemotronspeech/clients/asr/nemotron_asr_client_helper.h similarity index 100% rename from nemotronspeech/clients/asr/riva_asr_client_helper.h rename to nemotronspeech/clients/asr/nemotron_asr_client_helper.h diff --git a/nemotronspeech/clients/asr/riva_streaming_asr_client.cc b/nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc similarity index 99% rename from nemotronspeech/clients/asr/riva_streaming_asr_client.cc rename to nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc index b7d9cc9..e16dcec 100644 --- a/nemotronspeech/clients/asr/riva_streaming_asr_client.cc +++ b/nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc @@ -30,7 +30,7 @@ #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" #include "nemotronspeech/utils/wav/wav_reader.h" -#include "riva_asr_client_helper.h" +#include "nemotron_asr_client_helper.h" #include "streaming_recognize_client.h" using grpc::Status; @@ -122,7 +122,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_streaming_asr_client " << std::endl; + str_usage << "Usage: nemotron_streaming_asr_client " << std::endl; str_usage << " --audio_file= " << std::endl; str_usage << " --audio_device= " << std::endl; str_usage << " --automatic_punctuation=" << std::endl; diff --git a/nemotronspeech/clients/asr/streaming_recognize_client.h b/nemotronspeech/clients/asr/streaming_recognize_client.h index cd431ac..f618f40 100644 --- a/nemotronspeech/clients/asr/streaming_recognize_client.h +++ b/nemotronspeech/clients/asr/streaming_recognize_client.h @@ -30,7 +30,7 @@ #include "riva/proto/riva_asr.grpc.pb.h" #include "nemotronspeech/utils/thread_pool.h" #include "nemotronspeech/utils/wav/wav_reader.h" -#include "riva_asr_client_helper.h" +#include "nemotron_asr_client_helper.h" using grpc::Status; using grpc::StatusCode; diff --git a/nemotronspeech/clients/nlp/BUILD b/nemotronspeech/clients/nlp/BUILD index cf8e667..0210ae5 100644 --- a/nemotronspeech/clients/nlp/BUILD +++ b/nemotronspeech/clients/nlp/BUILD @@ -8,8 +8,8 @@ package( ) cc_library( - name = "riva_nlp_client", - hdrs = ["riva_nlp_client.h"], + name = "nemotron_nlp_client", + hdrs = ["nemotron_nlp_client.h"], deps = [ "@nvriva_common//riva/proto:riva_grpc_nlp", "@com_github_gflags_gflags//:gflags", @@ -19,10 +19,10 @@ cc_library( ) cc_binary( - name = "riva_nlp_punct", - srcs = ["riva_nlp_punct.cc","riva_nlp_client.h"], + name = "nemotron_nlp_punct", + srcs = ["nemotron_nlp_punct.cc","nemotron_nlp_client.h"], deps = [ - ":riva_nlp_client", + ":nemotron_nlp_client", "//nemotronspeech/clients/utils:grpc", "//nemotronspeech/utils:stamping", "//nemotronspeech/utils/files:files" diff --git a/nemotronspeech/clients/nlp/riva_nlp_client.h b/nemotronspeech/clients/nlp/nemotron_nlp_client.h similarity index 100% rename from nemotronspeech/clients/nlp/riva_nlp_client.h rename to nemotronspeech/clients/nlp/nemotron_nlp_client.h diff --git a/nemotronspeech/clients/nlp/riva_nlp_punct.cc b/nemotronspeech/clients/nlp/nemotron_nlp_punct.cc similarity index 98% rename from nemotronspeech/clients/nlp/riva_nlp_punct.cc rename to nemotronspeech/clients/nlp/nemotron_nlp_punct.cc index 3c2d50c..1c93c09 100644 --- a/nemotronspeech/clients/nlp/riva_nlp_punct.cc +++ b/nemotronspeech/clients/nlp/nemotron_nlp_punct.cc @@ -24,7 +24,7 @@ #include "nemotronspeech/clients/utils/grpc.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" -#include "riva_nlp_client.h" +#include "nemotron_nlp_client.h" using grpc::Status; using grpc::StatusCode; @@ -102,7 +102,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_nlp_punct" << std::endl; + str_usage << "Usage: nemotron_nlp_punct" << std::endl; str_usage << " --queries= " << std::endl; str_usage << " --riva_uri= " << std::endl; str_usage << " --num_iterations= " << std::endl; diff --git a/nemotronspeech/clients/nmt/BUILD b/nemotronspeech/clients/nmt/BUILD index 0f4e71a..9d0b99b 100644 --- a/nemotronspeech/clients/nmt/BUILD +++ b/nemotronspeech/clients/nmt/BUILD @@ -7,8 +7,8 @@ package( default_visibility = ["//visibility:public"], ) cc_binary( - name = "riva_nmt_t2t_client", - srcs = ["riva_nmt_t2t_client.cc"], + name = "nemotron_nmt_t2t_client", + srcs = ["nemotron_nmt_t2t_client.cc"], deps = [ "//nemotronspeech/clients/utils:grpc", "@nvriva_common//riva/proto:riva_grpc_nmt", @@ -91,8 +91,8 @@ cc_library( ) cc_binary( - name = "riva_nmt_streaming_s2t_client", - srcs = ["riva_nmt_streaming_s2t_client.cc"], + name = "nemotron_nmt_streaming_s2t_client", + srcs = ["nemotron_nmt_streaming_s2t_client.cc"], deps = [ "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", @@ -115,8 +115,8 @@ cc_binary( ], ) cc_binary( - name = "riva_nmt_streaming_s2s_client", - srcs = ["riva_nmt_streaming_s2s_client.cc"], + name = "nemotron_nmt_streaming_s2s_client", + srcs = ["nemotron_nmt_streaming_s2s_client.cc"], deps = [ "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", diff --git a/nemotronspeech/clients/nmt/client_call.h b/nemotronspeech/clients/nmt/client_call.h index 5e00528..659946a 100644 --- a/nemotronspeech/clients/nmt/client_call.h +++ b/nemotronspeech/clients/nmt/client_call.h @@ -23,7 +23,7 @@ #include #include -#include "nemotronspeech/clients/asr/riva_asr_client_helper.h" +#include "nemotronspeech/clients/asr/nemotron_asr_client_helper.h" #include "riva/proto/riva_asr.grpc.pb.h" #include "riva/proto/riva_nmt.grpc.pb.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/nmt/riva_nmt_streaming_s2s_client.cc b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc similarity index 99% rename from nemotronspeech/clients/nmt/riva_nmt_streaming_s2s_client.cc rename to nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc index 14bb65c..3e14613 100644 --- a/nemotronspeech/clients/nmt/riva_nmt_streaming_s2s_client.cc +++ b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc @@ -207,7 +207,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_nmt_streaming_s2s_client " << std::endl; + str_usage << "Usage: nemotron_nmt_streaming_s2s_client " << std::endl; str_usage << " --audio_file= " << std::endl; str_usage << " --audio_device= " << std::endl; str_usage << " --automatic_punctuation=" << std::endl; diff --git a/nemotronspeech/clients/nmt/riva_nmt_streaming_s2t_client.cc b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc similarity index 99% rename from nemotronspeech/clients/nmt/riva_nmt_streaming_s2t_client.cc rename to nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc index 8b3366d..86199be 100644 --- a/nemotronspeech/clients/nmt/riva_nmt_streaming_s2t_client.cc +++ b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc @@ -93,7 +93,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_nmt_streaming_s2t_client " << std::endl; + str_usage << "Usage: nemotron_nmt_streaming_s2t_client " << std::endl; str_usage << " --audio_file= " << std::endl; str_usage << " --audio_device= " << std::endl; str_usage << " --automatic_punctuation=" << std::endl; diff --git a/nemotronspeech/clients/nmt/riva_nmt_t2t_client.cc b/nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc similarity index 99% rename from nemotronspeech/clients/nmt/riva_nmt_t2t_client.cc rename to nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc index ce9fe9f..6c2f1f3 100644 --- a/nemotronspeech/clients/nmt/riva_nmt_t2t_client.cc +++ b/nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc @@ -176,7 +176,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_nmt_t2t_client" << std::endl; + str_usage << "Usage: nemotron_nmt_t2t_client" << std::endl; str_usage << " --text_file= " << std::endl; str_usage << " --riva_uri= " << std::endl; str_usage << " --num_iterations= " << std::endl; diff --git a/nemotronspeech/clients/nmt/streaming_s2s_client.h b/nemotronspeech/clients/nmt/streaming_s2s_client.h index f6380b0..e4077a1 100644 --- a/nemotronspeech/clients/nmt/streaming_s2s_client.h +++ b/nemotronspeech/clients/nmt/streaming_s2s_client.h @@ -27,7 +27,7 @@ #include #include "client_call.h" -#include "nemotronspeech/clients/asr/riva_asr_client_helper.h" +#include "nemotronspeech/clients/asr/nemotron_asr_client_helper.h" #include "riva/proto/riva_asr.grpc.pb.h" #include "nemotronspeech/utils/thread_pool.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/nmt/streaming_s2t_client.h b/nemotronspeech/clients/nmt/streaming_s2t_client.h index 6819e10..c96551e 100644 --- a/nemotronspeech/clients/nmt/streaming_s2t_client.h +++ b/nemotronspeech/clients/nmt/streaming_s2t_client.h @@ -27,7 +27,7 @@ #include #include "client_call.h" -#include "nemotronspeech/clients/asr/riva_asr_client_helper.h" +#include "nemotronspeech/clients/asr/nemotron_asr_client_helper.h" #include "riva/proto/riva_asr.grpc.pb.h" #include "nemotronspeech/utils/thread_pool.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/tts/BUILD b/nemotronspeech/clients/tts/BUILD index 3b961ec..77cc69d 100644 --- a/nemotronspeech/clients/tts/BUILD +++ b/nemotronspeech/clients/tts/BUILD @@ -8,8 +8,8 @@ package( ) cc_binary( - name = "riva_tts_client", - srcs = ["riva_tts_client.cc"], + name = "nemotron_tts_client", + srcs = ["nemotron_tts_client.cc"], deps = [ "@nvriva_common//riva/proto:riva_grpc_tts", "//nemotronspeech/utils:stamping", @@ -25,8 +25,8 @@ cc_binary( ) cc_binary( - name = "riva_tts_perf_client", - srcs = ["riva_tts_perf_client.cc"], + name = "nemotron_tts_perf_client", + srcs = ["nemotron_tts_perf_client.cc"], deps = [ "@nvriva_common//riva/proto:riva_grpc_tts", "//nemotronspeech/utils:stamping", diff --git a/nemotronspeech/clients/tts/riva_tts_client.cc b/nemotronspeech/clients/tts/nemotron_tts_client.cc similarity index 99% rename from nemotronspeech/clients/tts/riva_tts_client.cc rename to nemotronspeech/clients/tts/nemotron_tts_client.cc index 6d2eb25..9bb7f8d 100644 --- a/nemotronspeech/clients/tts/riva_tts_client.cc +++ b/nemotronspeech/clients/tts/nemotron_tts_client.cc @@ -132,7 +132,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_tts_client " << std::endl; + str_usage << "Usage: nemotron_tts_client " << std::endl; str_usage << " --text= " << std::endl; str_usage << " --text_file= " << std::endl; str_usage << " --audio_file= " << std::endl; diff --git a/nemotronspeech/clients/tts/riva_tts_perf_client.cc b/nemotronspeech/clients/tts/nemotron_tts_perf_client.cc similarity index 99% rename from nemotronspeech/clients/tts/riva_tts_perf_client.cc rename to nemotronspeech/clients/tts/nemotron_tts_perf_client.cc index a0d1af9..4c12245 100644 --- a/nemotronspeech/clients/tts/riva_tts_perf_client.cc +++ b/nemotronspeech/clients/tts/nemotron_tts_perf_client.cc @@ -389,7 +389,7 @@ main(int argc, char** argv) FLAGS_logtostderr = 1; std::stringstream str_usage; - str_usage << "Usage: riva_tts_perf_client " << std::endl; + str_usage << "Usage: nemotron_tts_perf_client " << std::endl; str_usage << " --text_file= " << std::endl; str_usage << " --write_output_audio= " << std::endl; str_usage << " --riva_uri= " << std::endl; From 432f681fc07354f1daeee5f2b12e83a978a95c10 Mon Sep 17 00:00:00 2001 From: sarane22 Date: Mon, 8 Jun 2026 12:37:53 +0530 Subject: [PATCH 3/4] chore(all): Updating protos --- WORKSPACE | 4 ++-- nemotronspeech/clients/asr/BUILD | 12 ++++++------ nemotronspeech/clients/asr/client_call.h | 2 +- nemotronspeech/clients/asr/nemotron_asr_client.cc | 2 +- .../clients/asr/nemotron_asr_client_helper.h | 2 +- .../clients/asr/nemotron_streaming_asr_client.cc | 2 +- .../clients/asr/streaming_recognize_client.h | 2 +- nemotronspeech/clients/nlp/BUILD | 2 +- nemotronspeech/clients/nlp/nemotron_nlp_client.h | 2 +- nemotronspeech/clients/nmt/BUILD | 12 ++++++------ nemotronspeech/clients/nmt/client_call.h | 4 ++-- .../clients/nmt/nemotron_nmt_streaming_s2s_client.cc | 2 +- .../clients/nmt/nemotron_nmt_streaming_s2t_client.cc | 2 +- .../clients/nmt/nemotron_nmt_t2t_client.cc | 2 +- nemotronspeech/clients/nmt/streaming_s2s_client.h | 2 +- nemotronspeech/clients/nmt/streaming_s2t_client.h | 2 +- nemotronspeech/clients/tts/BUILD | 4 ++-- nemotronspeech/clients/tts/nemotron_tts_client.cc | 2 +- .../clients/tts/nemotron_tts_perf_client.cc | 2 +- nemotronspeech/utils/wav/BUILD | 2 +- nemotronspeech/utils/wav/wav_data.h | 2 +- nemotronspeech/utils/wav/wav_reader.cc | 2 +- 22 files changed, 35 insertions(+), 35 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 6ccf2ab..10fe4fb 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -76,8 +76,8 @@ grpc_extra_deps() git_repository( name = "nvriva_common", - remote = "https://github.com/nvidia-riva/common.git", - commit = "71df98266725320a6b6b3a9f32a6da832dc93691" + remote = "https://gitlab-master.nvidia.com/sarane/common.git", + commit = "d7276290d1031e69145140015542c6bd4c13f09a" ) http_archive( diff --git a/nemotronspeech/clients/asr/BUILD b/nemotronspeech/clients/asr/BUILD index 308023a..a779c09 100644 --- a/nemotronspeech/clients/asr/BUILD +++ b/nemotronspeech/clients/asr/BUILD @@ -23,7 +23,7 @@ cc_library( ], }) + [ "@com_github_grpc_grpc//:grpc++", - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", ], ) @@ -40,7 +40,7 @@ cc_library( }) + [ ":asr_client_helper", "@com_github_grpc_grpc//:grpc++", - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", "@glog//:glog", "//nemotronspeech/utils/wav:reader", ], @@ -68,7 +68,7 @@ cc_library( "//nemotronspeech/utils:stamping", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", "//nemotronspeech/utils:thread_pool", ], ) @@ -79,7 +79,7 @@ cc_binary( deps = [ ":asr_client_helper", ":client_call", - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", "//nemotronspeech/utils:stamping", "//nemotronspeech/utils/files:files", "//nemotronspeech/utils/wav:reader", @@ -97,7 +97,7 @@ cc_binary( ":asr_client_helper", ":client_call", ":streaming_recognize_client", - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", "//nemotronspeech/utils/files:files", "//nemotronspeech/utils/wav:reader", "@glog//:glog", @@ -122,7 +122,7 @@ cc_test( deps = [ ":streaming_recognize_client", "@googletest//:gtest_main", - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", ], tags = ["needs_alsa"] ) diff --git a/nemotronspeech/clients/asr/client_call.h b/nemotronspeech/clients/asr/client_call.h index c6821b4..d34b6d8 100644 --- a/nemotronspeech/clients/asr/client_call.h +++ b/nemotronspeech/clients/asr/client_call.h @@ -24,7 +24,7 @@ #include #include -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" #include "nemotronspeech/utils/wav/wav_reader.h" #include "nemotron_asr_client_helper.h" diff --git a/nemotronspeech/clients/asr/nemotron_asr_client.cc b/nemotronspeech/clients/asr/nemotron_asr_client.cc index 1ba28c4..937a282 100644 --- a/nemotronspeech/clients/asr/nemotron_asr_client.cc +++ b/nemotronspeech/clients/asr/nemotron_asr_client.cc @@ -23,7 +23,7 @@ #include #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/asr/nemotron_asr_client_helper.h b/nemotronspeech/clients/asr/nemotron_asr_client_helper.h index 9abfc33..6f43cc6 100644 --- a/nemotronspeech/clients/asr/nemotron_asr_client_helper.h +++ b/nemotronspeech/clients/asr/nemotron_asr_client_helper.h @@ -15,7 +15,7 @@ #include "absl/strings/str_replace.h" #include "absl/strings/str_split.h" -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" namespace nr = nvidia::riva; namespace nr_asr = nvidia::riva::asr; diff --git a/nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc b/nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc index e16dcec..c4426f8 100644 --- a/nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc +++ b/nemotronspeech/clients/asr/nemotron_streaming_asr_client.cc @@ -26,7 +26,7 @@ #include "client_call.h" #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/asr/streaming_recognize_client.h b/nemotronspeech/clients/asr/streaming_recognize_client.h index f618f40..0b0b77c 100644 --- a/nemotronspeech/clients/asr/streaming_recognize_client.h +++ b/nemotronspeech/clients/asr/streaming_recognize_client.h @@ -27,7 +27,7 @@ #include #include "client_call.h" -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" #include "nemotronspeech/utils/thread_pool.h" #include "nemotronspeech/utils/wav/wav_reader.h" #include "nemotron_asr_client_helper.h" diff --git a/nemotronspeech/clients/nlp/BUILD b/nemotronspeech/clients/nlp/BUILD index 0210ae5..fe6a8e0 100644 --- a/nemotronspeech/clients/nlp/BUILD +++ b/nemotronspeech/clients/nlp/BUILD @@ -11,7 +11,7 @@ cc_library( name = "nemotron_nlp_client", hdrs = ["nemotron_nlp_client.h"], deps = [ - "@nvriva_common//riva/proto:riva_grpc_nlp", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nlp", "@com_github_gflags_gflags//:gflags", "@glog//:glog", "@com_github_grpc_grpc//:grpc++" diff --git a/nemotronspeech/clients/nlp/nemotron_nlp_client.h b/nemotronspeech/clients/nlp/nemotron_nlp_client.h index d937f13..27fcbe9 100644 --- a/nemotronspeech/clients/nlp/nemotron_nlp_client.h +++ b/nemotronspeech/clients/nlp/nemotron_nlp_client.h @@ -23,7 +23,7 @@ #include #include -#include "riva/proto/riva_nlp.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_nlp.grpc.pb.h" using grpc::Status; using grpc::StatusCode; diff --git a/nemotronspeech/clients/nmt/BUILD b/nemotronspeech/clients/nmt/BUILD index 9d0b99b..ab83f7b 100644 --- a/nemotronspeech/clients/nmt/BUILD +++ b/nemotronspeech/clients/nmt/BUILD @@ -11,7 +11,7 @@ cc_binary( srcs = ["nemotron_nmt_t2t_client.cc"], deps = [ "//nemotronspeech/clients/utils:grpc", - "@nvriva_common//riva/proto:riva_grpc_nmt", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nmt", "@com_github_gflags_gflags//:gflags", "@glog//:glog", "@com_github_grpc_grpc//:grpc++" @@ -32,7 +32,7 @@ cc_library( }) + [ "//nemotronspeech/clients/asr:asr_client_helper", "@com_github_grpc_grpc//:grpc++", - "@nvriva_common//riva/proto:riva_grpc_nmt", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nmt", "//nemotronspeech/utils/wav:reader", ], ) @@ -60,7 +60,7 @@ cc_library( "//nemotronspeech/utils:stamping", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", - "@nvriva_common//riva/proto:riva_grpc_nmt", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nmt", "//nemotronspeech/utils:thread_pool", ], ) @@ -85,7 +85,7 @@ cc_library( "//nemotronspeech/utils:stamping", "@com_github_grpc_grpc//:grpc++", "@com_github_gflags_gflags//:gflags", - "@nvriva_common//riva/proto:riva_grpc_nmt", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nmt", "//nemotronspeech/utils:thread_pool", ], ) @@ -97,7 +97,7 @@ cc_binary( "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", ":streaming_s2t_client", - "@nvriva_common//riva/proto:riva_grpc_nmt", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nmt", "//nemotronspeech/utils/files:files", "//nemotronspeech/utils/wav:reader", "@glog//:glog", @@ -121,7 +121,7 @@ cc_binary( "//nemotronspeech/clients/asr:asr_client_helper", ":client_call", ":streaming_s2s_client", - "@nvriva_common//riva/proto:riva_grpc_nmt", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_nmt", "//nemotronspeech/utils/files:files", "@glog//:glog", "//nemotronspeech/clients/utils:grpc", diff --git a/nemotronspeech/clients/nmt/client_call.h b/nemotronspeech/clients/nmt/client_call.h index 659946a..4ae6457 100644 --- a/nemotronspeech/clients/nmt/client_call.h +++ b/nemotronspeech/clients/nmt/client_call.h @@ -24,8 +24,8 @@ #include #include "nemotronspeech/clients/asr/nemotron_asr_client_helper.h" -#include "riva/proto/riva_asr.grpc.pb.h" -#include "riva/proto/riva_nmt.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_nmt.grpc.pb.h" #include "nemotronspeech/utils/wav/wav_reader.h" using grpc::Status; diff --git a/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc index 3e14613..19e87f9 100644 --- a/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc +++ b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2s_client.cc @@ -27,7 +27,7 @@ #include "client_call.h" #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_nmt.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_nmt.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc index 86199be..975a9ce 100644 --- a/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc +++ b/nemotronspeech/clients/nmt/nemotron_nmt_streaming_s2t_client.cc @@ -26,7 +26,7 @@ #include "client_call.h" #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_nmt.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_nmt.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/stamping.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc b/nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc index 6c2f1f3..1d496e2 100644 --- a/nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc +++ b/nemotronspeech/clients/nmt/nemotron_nmt_t2t_client.cc @@ -17,7 +17,7 @@ #include #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_nmt.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_nmt.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" using grpc::Status; using grpc::StatusCode; diff --git a/nemotronspeech/clients/nmt/streaming_s2s_client.h b/nemotronspeech/clients/nmt/streaming_s2s_client.h index e4077a1..895f963 100644 --- a/nemotronspeech/clients/nmt/streaming_s2s_client.h +++ b/nemotronspeech/clients/nmt/streaming_s2s_client.h @@ -28,7 +28,7 @@ #include "client_call.h" #include "nemotronspeech/clients/asr/nemotron_asr_client_helper.h" -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" #include "nemotronspeech/utils/thread_pool.h" #include "nemotronspeech/utils/wav/wav_reader.h" #include "nemotronspeech/utils/wav/wav_writer.h" diff --git a/nemotronspeech/clients/nmt/streaming_s2t_client.h b/nemotronspeech/clients/nmt/streaming_s2t_client.h index c96551e..3c47a8b 100644 --- a/nemotronspeech/clients/nmt/streaming_s2t_client.h +++ b/nemotronspeech/clients/nmt/streaming_s2t_client.h @@ -28,7 +28,7 @@ #include "client_call.h" #include "nemotronspeech/clients/asr/nemotron_asr_client_helper.h" -#include "riva/proto/riva_asr.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_asr.grpc.pb.h" #include "nemotronspeech/utils/thread_pool.h" #include "nemotronspeech/utils/wav/wav_reader.h" diff --git a/nemotronspeech/clients/tts/BUILD b/nemotronspeech/clients/tts/BUILD index 77cc69d..04d61d0 100644 --- a/nemotronspeech/clients/tts/BUILD +++ b/nemotronspeech/clients/tts/BUILD @@ -11,7 +11,7 @@ cc_binary( name = "nemotron_tts_client", srcs = ["nemotron_tts_client.cc"], deps = [ - "@nvriva_common//riva/proto:riva_grpc_tts", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_tts", "//nemotronspeech/utils:stamping", "//nemotronspeech/utils/wav:writer", "//nemotronspeech/utils/wav:reader", @@ -28,7 +28,7 @@ cc_binary( name = "nemotron_tts_perf_client", srcs = ["nemotron_tts_perf_client.cc"], deps = [ - "@nvriva_common//riva/proto:riva_grpc_tts", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_tts", "//nemotronspeech/utils:stamping", "//nemotronspeech/utils/wav:writer", "//nemotronspeech/utils/wav:reader", diff --git a/nemotronspeech/clients/tts/nemotron_tts_client.cc b/nemotronspeech/clients/tts/nemotron_tts_client.cc index 9bb7f8d..1d55e8a 100644 --- a/nemotronspeech/clients/tts/nemotron_tts_client.cc +++ b/nemotronspeech/clients/tts/nemotron_tts_client.cc @@ -18,7 +18,7 @@ #include #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_tts.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_tts.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/opus/opus_client_decoder.h" #include "nemotronspeech/utils/stamping.h" diff --git a/nemotronspeech/clients/tts/nemotron_tts_perf_client.cc b/nemotronspeech/clients/tts/nemotron_tts_perf_client.cc index 4c12245..c424ca9 100644 --- a/nemotronspeech/clients/tts/nemotron_tts_perf_client.cc +++ b/nemotronspeech/clients/tts/nemotron_tts_perf_client.cc @@ -21,7 +21,7 @@ #include #include "nemotronspeech/clients/utils/grpc.h" -#include "riva/proto/riva_tts.grpc.pb.h" +#include "nemotronspeech/proto/nemotron_tts.grpc.pb.h" #include "nemotronspeech/utils/files/files.h" #include "nemotronspeech/utils/opus/opus_client_decoder.h" #include "nemotronspeech/utils/stamping.h" diff --git a/nemotronspeech/utils/wav/BUILD b/nemotronspeech/utils/wav/BUILD index ef12cdc..31f5724 100644 --- a/nemotronspeech/utils/wav/BUILD +++ b/nemotronspeech/utils/wav/BUILD @@ -22,7 +22,7 @@ cc_library( srcs = ["wav_reader.cc"], hdrs = ["wav_reader.h", "wav_data.h"], deps = [ - "@nvriva_common//riva/proto:riva_grpc_asr", + "@nvriva_common//nemotronspeech/proto:nemotron_grpc_asr", "@rapidjson//:rapidjson", "@glog//:glog", ] diff --git a/nemotronspeech/utils/wav/wav_data.h b/nemotronspeech/utils/wav/wav_data.h index 0b9350a..98bece4 100644 --- a/nemotronspeech/utils/wav/wav_data.h +++ b/nemotronspeech/utils/wav/wav_data.h @@ -9,7 +9,7 @@ #include #include -#include "riva/proto/riva_asr.pb.h" +#include "nemotronspeech/proto/nemotron_asr.pb.h" namespace nr = nvidia::riva; namespace nr_asr = nvidia::riva::asr; diff --git a/nemotronspeech/utils/wav/wav_reader.cc b/nemotronspeech/utils/wav/wav_reader.cc index 30bfed1..c6f1656 100644 --- a/nemotronspeech/utils/wav/wav_reader.cc +++ b/nemotronspeech/utils/wav/wav_reader.cc @@ -15,7 +15,7 @@ #include #include "rapidjson/document.h" -#include "riva/proto/riva_asr.pb.h" +#include "nemotronspeech/proto/nemotron_asr.pb.h" namespace nr = nvidia::riva; namespace nr_asr = nvidia::riva::asr; From 28563b5d3eeb1739dd4f0df2077ea00bb44b9f44 Mon Sep 17 00:00:00 2001 From: sarane22 Date: Mon, 8 Jun 2026 16:17:07 +0530 Subject: [PATCH 4/4] docs: Updating README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b773460..14c5681 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![CircleCI](https://circleci.com/gh/nvidia-riva/cpp-clients.svg?style=shield)](https://circleci.com/gh/nvidia-riva/cpp-clients) [![License](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT) -# NVIDIA NemotronSpeech Clients +# NVIDIA Nemotron Speech Clients -NVIDIA NemotronSpeech is a GPU-accelerated SDK for building Speech AI applications that are customized for your use case and deliver real-time performance. This repo provides performant client example command-line clients. +NVIDIA Nemotron Speech is a GPU-accelerated SDK for building Speech AI applications that are customized for your use case and deliver real-time performance. This repo provides performant client example command-line clients. ## Features @@ -17,7 +17,7 @@ NVIDIA NemotronSpeech is a GPU-accelerated SDK for building Speech AI applicatio ## Requirements 1. Meet the Quick Start [prerequisites](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html#prerequisites) -2. A NVIDIA NemotronSpeech Server (Set one up using the [quick start guide](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html#local-deployment-using-quick-start-scripts)) +2. A NVIDIA Nemotron Speech Server (Set one up using the [quick start guide](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html#local-deployment-using-quick-start-scripts)) 3. Docker (for Docker build) 4. Bazel 5.0.0 (for local build) @@ -25,9 +25,9 @@ NVIDIA NemotronSpeech is a GPU-accelerated SDK for building Speech AI applicatio ### Docker -To avoid needing to manually build the clients yourself, NemotronSpeech comes with a ready to use client docker image. This allows you to run the clients through an interactive docker container. +To avoid needing to manually build the clients yourself, Nemotron Speech comes with a ready to use client docker image. This allows you to run the clients through an interactive docker container. -The clients will need access to a NemotronSpeech Server. If your server is running locally all you need to do is allow the client container access to your local network. +The clients will need access to a Nemotron Speech Server. If your server is running locally all you need to do is allow the client container access to your local network. If your server is not running locally, all clients come with a command line option `--riva_uri`. This defaults to `localhost:50051`, which is also the default server configuration. As the server is not local, run the client using `--riva_uri [IP]:[PORT]` with your configuration. To build the docker image simply run @@ -70,7 +70,7 @@ You can find the built binaries in `bazel-bin/nemotronspeech/clients` ## Usage ### Speech Recognition (ASR) Clients -NemotronSpeech comes with 2 ASR clients: +Nemotron Speech comes with 2 ASR clients: 1. `nemotron_asr_client` for offline usage. Using this client, the server will wait until it receives the full audio file before transcribing it and sending it back to the client. 2. `nemotron_streaming_asr_client` for online usage. Using this client, the server will start transcribing after it receives a sufficient amount of audio data, "streaming" intermediate transcripts as it goes on back to the client. By default, it is set to transcribe after every `100ms`, this can be changed using the `--chunk_duration_ms` command line flag. @@ -88,7 +88,7 @@ Note that only single-channel audio files in the `.wav` format are currently sup Other options and information can be found by running the clients with `-help` ### Speech Synthesis (TTS) Client -NemotronSpeech comes with 2 TTS clients: +Nemotron Speech comes with 2 TTS clients: 1. `nemotron_tts_client` 2. `nemotron_tts_perf_client` @@ -110,7 +110,7 @@ Other options and information can be found by running the clients with `-help` ### NLP Client -NemotronSpeech comes with `nemotron_nlp_punct` NLP client for Punctuation. The `examples` folder contains example queries to test out the API. +Nemotron Speech comes with `nemotron_nlp_punct` NLP client for Punctuation. The `examples` folder contains example queries to test out the API. To run the Punctuation client, simply pass in a text file containing queries using the `--queries` flag @@ -126,7 +126,7 @@ Other options and information can be found by running the client with `-help` ## Documentation -Additional documentation on the NemotronSpeech Skills SDK can be found [here](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/). +Additional documentation on the Nemotron Speech Skills SDK can be found [here](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/). ## License