diff --git a/CMakeLists.txt b/CMakeLists.txt index 4aa5ec5..2cd28a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,13 +63,12 @@ if(NOT openfst_POPULATED) ) target_include_directories(riva_asrlib_openfst SYSTEM PUBLIC ${openfst_SOURCE_DIR}/src/include/) set_target_properties(riva_asrlib_openfst PROPERTIES POSITION_INDEPENDENT_CODE TRUE) - target_compile_options(riva_asrlib_openfst PUBLIC -Wno-unused-local-typedefs -Wno-sign-compare -Wno-unused-variable) + target_compile_options(riva_asrlib_openfst PUBLIC -Wno-unused-local-typedefs -Wno-sign-compare -Wno-unused-variable -fno-gnu-unique) add_library(fst-types OBJECT "${openfst_SOURCE_DIR}/src/lib/fst-types.cc") target_include_directories(fst-types SYSTEM PUBLIC ${openfst_SOURCE_DIR}/src/include/) set_target_properties(fst-types PROPERTIES POSITION_INDEPENDENT_CODE TRUE) - target_compile_options(fst-types PUBLIC -Wno-unused-local-typedefs -Wno-sign-compare -Wno-unused-variable) - + target_compile_options(fst-types PUBLIC -Wno-unused-local-typedefs -Wno-sign-compare -Wno-unused-variable -fno-gnu-unique) add_library(fstscript_base "${openfst_SOURCE_DIR}/src/script/arciterator-class.cc" diff --git a/setup.py b/setup.py index 6aba2b0..06983f2 100644 --- a/setup.py +++ b/setup.py @@ -96,7 +96,7 @@ def build_extension(self, ext: setuptools.extension.Extension): setuptools.setup( python_requires='>=3.7', name='riva-asrlib-decoder', - version='0.4.1', + version='0.4.3', author='NVIDIA', author_email='dgalvez@nvidia.com', keywords='ASR, CUDA, WFST, Decoder', diff --git a/src/riva/asrlib/decoder/test_graph_construction.py b/src/riva/asrlib/decoder/test_graph_construction.py index 38e30ec..a966aa2 100644 --- a/src/riva/asrlib/decoder/test_graph_construction.py +++ b/src/riva/asrlib/decoder/test_graph_construction.py @@ -52,7 +52,7 @@ from nemo.collections.asr.metrics.wer import word_error_rate -ERROR_MARGIN = 0.0002 +ERROR_MARGIN = 0.0003 # os.environ["TORCH_CUDNN_V8_API_ENABLED"]="1"