runtime error

Exit code: 1. Reason: ine 1541, in load return _legacy_load( File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1797, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) File "/usr/local/lib/python3.10/site-packages/torch/_weights_only_unpickler.py", line 573, in load return Unpickler(file, encoding=encoding).load() File "/usr/local/lib/python3.10/site-packages/torch/_weights_only_unpickler.py", line 535, in load self.append(self.memo[idx]) KeyError: 116 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 587, in load_state_dict raise ValueError( ValueError: Unable to locate the file ./publicitario/pytorch_model.bin which is necessary to load this pretrained model. Make sure you have saved the model properly. 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 292, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 309, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4573, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4832, 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 592, in load_state_dict raise OSError( OSError: Unable to load weights from pytorch checkpoint file for './publicitario/pytorch_model.bin' at './publicitario/pytorch_model.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...