Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DST_DIR ?= .
SRC_DIR ?= ./riva/proto
SRC_DIR ?= ./nemotronspeech/proto

setup:
@mkdir -p ${DST_DIR}
Expand Down Expand Up @@ -33,7 +33,7 @@ python: setup
python3 -m grpc_tools.protoc --python_out=${DST_DIR} \
--grpc_python_out=${DST_DIR} \
-I=. ${SRC_DIR}/*.proto
@sed -i -r 's/from riva.proto import (.+_pb2.*)/from . import \1/g' ${DST_DIR}/riva/proto/*_pb2*.py
@sed -i -r 's/from nemotronspeech.proto import (.+_pb2.*)/from . import \1/g' ${DST_DIR}/nemotronspeech/proto/*_pb2*.py
.PHONY: python

clean:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# NVIDIA Riva Common
# NVIDIA Nemotron Speech Common

[NVIDIA Riva](https://developer.nvidia.com/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 API definitions and other shared components used throughout the project.
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 API definitions and other shared components used throughout the project.

## gRPC & Protocol Buffers

Riva clients use [gRPC](https://grpc.io) to communicate with the Riva server. The APIs and message types are defined in `riva/proto`. Complete API documentation is available in the [Riva user documentation](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/reference/protos/protos.html).
Nemotron Speech clients use [gRPC](https://grpc.io) to communicate with the Riva server. The APIs and message types are defined in `nemotronspeech/proto`. Complete API documentation is available in the [Nemotron Speech user documentation](https://docs.nvidia.com/deeplearning/riva/user-guide/docs/reference/protos/protos.html).

### Compile Protocol Buffers

Expand All @@ -18,7 +18,7 @@ make golang

## Client Packages

NVIDIA offers Riva client packages which include various language-specific bindings for the protocol buffers:
NVIDIA offers Nemotron Speech client packages which include various language-specific bindings for the protocol buffers:

* **C++**: [nvidia-riva/cpp-clients](https://github.com/nvidia-riva/cpp-clients)
* **Python**: [nvidia-riva/python-clients](https://github.com/nvidia-riva/python-clients)
Expand All @@ -27,4 +27,4 @@ NVIDIA offers Riva client packages which include various language-specific bindi

Submit [GitHub issues](https://github.com/nvidia-riva/common/issues) for bugs and requests.

Visit the [NVIDIA Riva developer forum](https://forums.developer.nvidia.com/c/ai-data-science/deep-learning/riva/475) for questions and discussions.
Visit the [NVIDIA Nemotron Speech developer forum](https://forums.developer.nvidia.com/c/ai-data-science/deep-learning/riva/475) for questions and discussions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
@@ -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")

http_archive(
Expand Down
40 changes: 20 additions & 20 deletions riva/proto/BUILD → nemotronspeech/proto/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,53 +12,53 @@ package(default_visibility = ["//visibility:public"])
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")

cc_grpc_library(
name = "riva_audio_proto",
name = "nemotron_audio_proto",
srcs = [
":riva_audio.proto"
":nemotron_audio.proto"
],
deps = [],
)

cc_grpc_library(
name = "riva_common_proto",
name = "nemotron_common_proto",
srcs = [
":riva_common.proto"
":nemotron_common.proto"
],
deps = [],
)

cc_grpc_library(
name = "riva_grpc_asr",
srcs = [":riva_asr.proto"],
deps = [":riva_audio_proto", ":riva_common_proto"],
name = "nemotron_grpc_asr",
srcs = [":nemotron_asr.proto"],
deps = [":nemotron_audio_proto", ":nemotron_common_proto"],
)

cc_grpc_library(
name = "riva_grpc_tts",
srcs = [":riva_tts.proto"],
deps = [":riva_audio_proto", ":riva_common_proto"],
name = "nemotron_grpc_tts",
srcs = [":nemotron_tts.proto"],
deps = [":nemotron_audio_proto", ":nemotron_common_proto"],
)

cc_grpc_library(
name = "riva_grpc_nlp",
srcs = [":riva_nlp.proto"],
deps = [":riva_common_proto"],
name = "nemotron_grpc_nlp",
srcs = [":nemotron_nlp.proto"],
deps = [":nemotron_common_proto"],
)

cc_grpc_library(
name = "riva_grpc_nmt",
srcs = [":riva_nmt.proto"],
name = "nemotron_grpc_nmt",
srcs = [":nemotron_nmt.proto"],
deps = [
":riva_audio_proto",
":riva_grpc_tts",
":riva_grpc_asr",
":riva_common_proto",
":nemotron_audio_proto",
":nemotron_grpc_tts",
":nemotron_grpc_asr",
":nemotron_common_proto",
]
)


cc_grpc_library(
name = "riva_grpc_health",
name = "nemotron_grpc_health",
srcs = [":health.proto"],
deps = []
)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ package nvidia.riva.asr;
option cc_enable_arenas = true;
option go_package = "nvidia.com/riva_speech";

import "riva/proto/riva_audio.proto";
import "riva/proto/riva_common.proto";
import "nemotronspeech/proto/nemotron_audio.proto";
import "nemotronspeech/proto/nemotron_common.proto";

/*
* The RivaSpeechRecognition service provides two mechanisms for converting
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package nvidia.riva.nlp;
option cc_enable_arenas = true;
option go_package = "nvidia.com/riva_speech";

import "riva/proto/riva_common.proto";
import "nemotronspeech/proto/nemotron_common.proto";

/* Riva Natural Language Services implement generic and task-specific APIs.
* The generic APIs allows users to design
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ package nvidia.riva.nmt;

option cc_enable_arenas = true;
option go_package = "nvidia.com/riva_speech";
import "riva/proto/riva_common.proto";
import "riva/proto/riva_audio.proto";
import "riva/proto/riva_asr.proto";
import "riva/proto/riva_tts.proto";
import "nemotronspeech/proto/nemotron_common.proto";
import "nemotronspeech/proto/nemotron_audio.proto";
import "nemotronspeech/proto/nemotron_asr.proto";
import "nemotronspeech/proto/nemotron_tts.proto";

/*
* RivaTranslation service provides rpcs to translate between languages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ package nvidia.riva.tts;
option cc_enable_arenas = true;
option go_package = "nvidia.com/riva_speech";

import "riva/proto/riva_audio.proto";
import "riva/proto/riva_common.proto";
import "nemotronspeech/proto/nemotron_audio.proto";
import "nemotronspeech/proto/nemotron_common.proto";

service RivaSpeechSynthesis {
// Used to request text-to-speech from the service. Submit a request
Expand Down