You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: 172.18.0.7:38424 - "GET /v1/health/ready HTTP/1.1" 200 OK
2025-01-22 11:04:55,866 - ERROR - Inference failed for model paddle: 'int' object has no attribute 'decode'
Unhandled error calling image inference model: Inference failed for model paddle: 'int' object has no attribute 'decode'
Traceback (most recent call last):
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 120, in _call_image_inference_grpc_client
return"".join([output[0].decode("utf-8") foroutputin result.as_numpy("output")])
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 120, in<listcomp>return"".join([output[0].decode("utf-8") foroutputin result.as_numpy("output")])
AttributeError: 'int' object has no attribute 'decode'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/stages/nim/table_extraction.py", line 78, in _update_metadata
paddle_result = call_image_inference_model(paddle_client, "paddle", image_array, trace_info=trace_info)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/tracing/tagging.py", line 185, in wrapper_inject_trace_info
result = func(*args, **kwargs)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 103, in call_image_inference_model
response = _call_image_inference_grpc_client(client, model_name, image_data)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 124, in _call_image_inference_grpc_client
raise RuntimeError(err_msg)
RuntimeError: Inference failed for model paddle: 'int' object has no attribute 'decode'
2025-01-22 11:04:55,877 - ERROR - Future result failure - Inference failed for model paddle: 'int' object has no attribute 'decode'
Error occurred while extracting table data.
Traceback (most recent call last):
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 120, in _call_image_inference_grpc_client
return"".join([output[0].decode("utf-8") foroutputin result.as_numpy("output")])
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 120, in<listcomp>return"".join([output[0].decode("utf-8") foroutputin result.as_numpy("output")])
AttributeError: 'int' object has no attribute 'decode'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/stages/nim/table_extraction.py", line 133, in _extract_table_data
df["metadata"] = df.apply(_update_metadata, axis=1, args=(paddle_client, paddle_version, trace_info))
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/pandas/core/frame.py", line 9568, in apply
returnop.apply().__finalize__(self, method="apply")
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/pandas/core/apply.py", line 764, in apply
returnself.apply_standard()
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/pandas/core/apply.py", line 891, in apply_standard
results, res_index = self.apply_series_generator()
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/pandas/core/apply.py", line 907, in apply_series_generator
results[i] = self.f(v)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/pandas/core/apply.py", line 142, in f
return func(x, *args, **kwargs)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/stages/nim/table_extraction.py", line 78, in _update_metadata
paddle_result = call_image_inference_model(paddle_client, "paddle", image_array, trace_info=trace_info)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/tracing/tagging.py", line 185, in wrapper_inject_trace_info
result = func(*args, **kwargs)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 103, in call_image_inference_model
response = _call_image_inference_grpc_client(client, model_name, image_data)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/util/nim/helpers.py", line 124, in _call_image_inference_grpc_client
raise RuntimeError(err_msg)
RuntimeError: Inference failed for model paddle: 'int' object has no attribute 'decode'
Other/Misc.
No response
The text was updated successfully, but these errors were encountered:
Version
24.10.1
Which installation method(s) does this occur on?
Docker
Describe the bug.
Deployed nvingest with the docker compose from main branch, on H100's.
Tried to run the base python client example, with the default document in the notebook.
Immediately got an error in the handling of paddle NIM output.
Error logs extracted from nvingest runtime container.
Minimum reproducible example
Relevant log output
Other/Misc.
No response
The text was updated successfully, but these errors were encountered: