runtime error
Exit code: 1. Reason: Using device: cuda Traceback (most recent call last): File "/home/user/app/app.py", line 19, in <module> models = preload_models_from_standard_weights(model_file, Device) File "/home/user/app/loadModel.py", line 8, in preload_models_from_standard_weights state_dict = model_converter.load_from_standard_weights(ckpt_path, device) File "/home/user/app/model_converter.py", line 5, in load_from_standard_weights original_model = torch.load(input_file, map_location=device, weights_only = False)["state_dict"] File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1360, in load return _load( File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1848, in _load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1812, in persistent_load typed_storage = load_tensor( File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1784, in load_tensor wrap_storage=restore_location(storage, location), File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1685, in restore_location return default_restore_location(storage, map_location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 601, in default_restore_location result = fn(storage, location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 539, in _deserialize device = _validate_device(location, backend_name) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 508, in _validate_device raise RuntimeError( 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...