runtime error
Exit code: 1. Reason: l/lib/python3.10/site-packages/spaces/zero/torch/patching.py", line 237, in _untyped_storage_new_register if (device := kwargs.get('device')) is not None and device.type == 'cuda': AttributeError: 'str' 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 598, 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 128: invalid start byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 77, in <module> _preload_and_load_models() File "/home/user/app/app.py", line 71, in _preload_and_load_models vicuna_model = LlamaForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 271, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4452, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4995, in _load_pretrained_model state_dict = load_state_dict( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 610, in load_state_dict raise OSError( OSError: Unable to load weights from pytorch checkpoint file for '/home/user/.cache/huggingface/hub/models--lmsys--vicuna-13b-v1.5/snapshots/c8327bf999adbd2efe2e75f6509fa01436100dc2/pytorch_model-00001-of-00003.bin' at '/home/user/.cache/huggingface/hub/models--lmsys--vicuna-13b-v1.5/snapshots/c8327bf999adbd2efe2e75f6509fa01436100dc2/pytorch_model-00001-of-00003.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
Container logs:
Fetching error logs...