runtime error
Exit code: 1. Reason: _mistral.py", line 25, in <module> from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 525, in <module> "U16": torch.uint16, File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 1932, in __getattr__ raise AttributeError(f"module '{__name__}' has no attribute '{name}'") AttributeError: module 'torch' has no attribute 'uint16' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 28, in <module> model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 563, in from_pretrained model_class = _get_model_class(config, cls._model_mapping) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 388, in _get_model_class supported_models = model_mapping[type(config)] File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 763, in __getitem__ return self._load_attr_from_module(model_type, model_name) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 777, in _load_attr_from_module return getattribute_from_module(self._modules[module_name], attr) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 693, in getattribute_from_module if hasattr(module, attr): File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1871, 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 1885, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.models.mistral.modeling_mistral because of the following error (look up to see its traceback): module 'torch' has no attribute 'uint16'
Container logs:
Fetching error logs...