runtime error
Exit code: 1. Reason: enter_crop, normalize, rescale File "/usr/local/lib/python3.10/site-packages/transformers/image_transforms.py", line 50, in <module> import tensorflow as tf File "/usr/local/lib/python3.10/site-packages/tensorflow/__init__.py", line 38, in <module> from tensorflow.python.tools import module_util as _module_util File "/usr/local/lib/python3.10/site-packages/tensorflow/python/__init__.py", line 42, in <module> from tensorflow.python.saved_model import saved_model File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/saved_model.py", line 20, in <module> from tensorflow.python.saved_model import builder File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/builder.py", line 23, in <module> from tensorflow.python.saved_model.builder_impl import _SavedModelBuilder File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/builder_impl.py", line 26, in <module> from tensorflow.python.framework import dtypes File "/usr/local/lib/python3.10/site-packages/tensorflow/python/framework/dtypes.py", line 37, in <module> _np_bfloat16 = pywrap_ml_dtypes.bfloat16() TypeError: Unable to convert function return value to a Python type! The signature was () -> handle The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> from transformers import pipeline File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1766, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1780, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): Unable to convert function return value to a Python type! The signature was () -> handle
Container logs:
Fetching error logs...