runtime error

Exit code: 1. Reason: object has no attribute 'type' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 589, in load_state_dict if f.read(7) == "version": File "/usr/local/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 64: invalid start byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 310, in infer_framework_load_model model = model_class.from_pretrained(model, **fp32_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 317, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 5074, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 5340, in _load_pretrained_model load_state_dict(checkpoint_files[0], map_location="meta", weights_only=weights_only).keys() File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 601, in load_state_dict raise OSError( OSError: Unable to load weights from pytorch checkpoint file for '/home/user/.cache/huggingface/hub/models--openai--clip-vit-base-patch16/snapshots/57c216476eefef5ab752ec549e440a49ae4ae5f3/pytorch_model.bin' at '/home/user/.cache/huggingface/hub/models--openai--clip-vit-base-patch16/snapshots/57c216476eefef5ab752ec549e440a49ae4ae5f3/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True. model.safetensors: 83%|████████▎ | 499M/599M [00:01<00:00, 489MB/s] model.safetensors: 100%|██████████| 599M/599M [00:01<00:00, 430MB/s]

Container logs:

Fetching error logs...