Hardware - GPU None
Hardware - CPU Intel i5
Operating System- Windows 10
nvidia-ace 1.0.0
TLT Version (if relevant)
How to reproduce the issue ? (This is for errors. Please share the command and the detailed log here)
I am trying to make API calls from my local windows 10 system by following instructions in the below page
While trying to make api call to audio2face model from local system, I am facing errors
python ./nim_a2f_client.py --apikey nvapi-apikey --function-id 462f7853-60e8-474a-9728-7b598e58472c ./audio/en-US_sample.wav ./config/config_claire.yml
Traceback (most recent call last):
File “C:\Users\Df2\nvidia_trial\nvidia12\Lib\site-packages\grpc\aio_call.py”, line 492, in _write
await self._cython_call.send_serialized_message(serialized_request)
File “src\python\grpcio\grpc\_cython\_cygrpc/aio/call.pyx.pxi”, line 383, in send_serialized_message
File “src\python\grpcio\grpc\_cython\_cygrpc/aio/callback_common.pyx.pxi”, line 148, in _send_message
File “src\python\grpcio\grpc\_cython\_cygrpc/aio/callback_common.pyx.pxi”, line 99, in execute_batch
grpc._cython.cygrpc.ExecuteBatchError: Failed “execute_batch”: (<grpc._cython.cygrpc.SendMessageOperation object at 0x00000196FBB3F330>,)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Users\Df2\nvidia_trial\nvidia12\ACE\microservices\audio_2_face_microservice\scripts\audio2face_api_client\nim_a2f_client.py”, line 48, in
asyncio.run(main())
File “C:\Users\Df2\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py”, line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File “C:\Users\Df2\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py”, line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Df2\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py”, line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File “C:\Users\Df2\nvidia_trial\nvidia12\ACE\microservices\audio_2_face_microservice\scripts\audio2face_api_client\nim_a2f_client.py”, line 44, in main
await write
File “C:\Users\Df2\nvidia_trial\nvidia12\ACE\microservices\audio_2_face_microservice\scripts\audio2face_api_client\a2f\client\service.py”, line 195, in write_to_stream
await stream.write(audio_stream_header)
File “C:\Users\Df2\nvidia_trial\nvidia12\Lib\site-packages\grpc\aio_call.py”, line 517, in write
await self._write(request)
File “C:\Users\Df2\nvidia_trial\nvidia12\Lib\site-packages\grpc\aio_call.py”, line 495, in _write
await self._raise_for_status()
File “C:\Users\Df2\nvidia_trial\nvidia12\Lib\site-packages\grpc\aio_call.py”, line 263, in _raise_for_status
raise _create_rpc_error(
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = “Internal error from Core”
debug_error_string = “Failed “execute_batch”: (<grpc._cython.cygrpc.SendMessageOperation object at 0x00000196FBB3F330>,)”
Task exception was never retrieved
future: <Task finished name=‘Task-4’ coro=<read_from_stream() done, defined at C:\Users\Df2\nvidia_trial\nvidia12\ACE\microservices\audio_2_face_microservice\scripts\audio2face_api_client\a2f\client\service.py:91> exception=<AioRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = “Internal error from Core”
debug_error_string = “Failed “execute_batch”: (<grpc._cython.cygrpc.SendMessageOperation object at 0x00000196FBB3F330>,)”
Traceback (most recent call last):
File “C:\Users\Df2\nvidia_trial\nvidia12\ACE\microservices\audio_2_face_microservice\scripts\audio2face_api_client\a2f\client\service.py”, line 109, in read_from_stream
message = await stream.read()
^^^^^^^^^^^^^^^^^^^
File “C:\Users\Df2\nvidia_trial\nvidia12\Lib\site-packages\grpc\aio_call.py”, line 393, in read
await self._raise_for_status()
File “C:\Users\Df2\nvidia_trial\nvidia12\Lib\site-packages\grpc\aio_call.py”, line 263, in _raise_for_status
raise _create_rpc_error(
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = “Internal error from Core”
debug_error_string = “Failed “execute_batch”: (<grpc._cython.cygrpc.SendMessageOperation object at 0x00000196FBB3F330>,)”