runtime error

pickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. return torch.load(io.BytesIO(b)) Traceback (most recent call last): File "/home/user/app/app.py", line 15, in <module> Pickled_Model = pickle.load(file) File "/usr/local/lib/python3.10/site-packages/torch/storage.py", line 414, in _load_from_bytes return torch.load(io.BytesIO(b)) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1114, in load return _legacy_load( File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1348, in _legacy_load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1281, in persistent_load obj = restore_location(obj, location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 414, in default_restore_location result = fn(storage, location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 391, in _deserialize device = _validate_device(location, backend_name) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 364, in _validate_device raise RuntimeError(f'Attempting to deserialize object on a {backend_name.upper()} ' RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

Container logs:

Fetching error logs...