Hardware - GPU (A10)
Hardware - CPU
Operating System: Ubuntu 22.04
Riva Version: 2.18.0
TLT Version (if relevant) - null
How to reproduce the issue ? (This is for errors. Please share the command and the detailed log here)
By pulling the canary 0.6b_turbo model into Riva and by running this below command, you get:
python scripts/asr/riva_streaming_asr_client.py --model-name ‘canary-0.6b-turbo-multi-asr-offline-asr-bls-ensemble’ --input-file ‘wz0YOwXoBMKKYtXE.wav’ --language-code ar
Number of clients: 1
Number of iteration: 1
Input file: wz0YOwXoBMKKYtXE.wav
Exception in thread Thread-1 (streaming_transcription_worker):
Traceback (most recent call last):
File “/home/mw/anaconda3/envs/riva_clients/lib/python3.11/threading.py”, line 1045, in _bootstrap_inner
self.run()
File “/home/mw/anaconda3/envs/riva_clients/lib/python3.11/threading.py”, line 982, in run
self._target(*self._args, **self._kwargs)
File “/home/mw/RIVA-STT/riva_quickstart_v2.18.0/python-clients/python-clients/scripts/asr/riva_streaming_asr_client.py”, line 87, in streaming_transcription_worker
riva.client.print_streaming(
File “/home/mw/anaconda3/envs/riva_clients/lib/python3.11/site-packages/riva/client/asr.py”, line 246, in print_streaming
for response in responses:
File “/home/mw/anaconda3/envs/riva_clients/lib/python3.11/site-packages/riva/client/asr.py”, line 393, in streaming_response_generator
for response in self.stub.StreamingRecognize(generator, metadata=self.auth.get_auth_metadata()):
File “/home/mw/anaconda3/envs/riva_clients/lib/python3.11/site-packages/grpc/_channel.py”, line 543, in next
return self._next()
^^^^^^^^^^^^
File “/home/mw/anaconda3/envs/riva_clients/lib/python3.11/site-packages/grpc/_channel.py”, line 969, in _next
raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = “OfflineAsrEnsemble expects both start and end flags to be 1”
debug_error_string = “UNKNOWN:Error received from peer ipv6:%5B::1%5D:50051 {grpc_message:“OfflineAsrEnsemble expects both start and end flags to be 1”, grpc_status:3, created_time:“2025-01-22T09:17:41.796966261+03:00”}”
Traceback (most recent call last):
File “/home/mw/RIVA-STT/riva_quickstart_v2.18.0/python-clients/python-clients/scripts/asr/riva_streaming_asr_client.py”, line 133, in
main()
File “/home/mw/RIVA-STT/riva_quickstart_v2.18.0/python-clients/python-clients/scripts/asr/riva_streaming_asr_client.py”, line 119, in main
raise RuntimeError(f"A thread with index {thread_i} failed with error:\n{exc}")
RuntimeError: A thread with index 0 failed with error:
<_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = “OfflineAsrEnsemble expects both start and end flags to be 1”
debug_error_string = “UNKNOWN:Error received from peer ipv6:%5B::1%5D:50051 {grpc_message:“OfflineAsrEnsemble expects both start and end flags to be 1”, grpc_status:3, created_time:“2025-01-22T09:17:41.796966261+03:00”}”