runtime error

_state_dict(load_state_dict('./controlnet/models/v1-5-pruned.ckpt', location='cuda'), strict=False) File "/home/user/app/controlnet/cldm/model.py", line 18, in load_state_dict state_dict = get_state_dict(torch.load(ckpt_path, map_location=torch.device(location))) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 809, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1172, in _load result = unpickler.load() File "/usr/local/lib/python3.10/pickle.py", line 1213, in load dispatch[key[0]](self) File "/usr/local/lib/python3.10/pickle.py", line 1254, in load_binpersid self.append(self.persistent_load(pid)) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1142, in persistent_load typed_storage = load_tensor(dtype, nbytes, key, _maybe_decode_ascii(location)) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1116, in load_tensor wrap_storage=restore_location(storage, location), File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 1086, in restore_location return default_restore_location(storage, str(map_location)) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 217, in default_restore_location result = fn(storage, location) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 182, in _cuda_deserialize device = validate_cuda_device(location) File "/home/user/.local/lib/python3.10/site-packages/torch/serialization.py", line 166, in validate_cuda_device raise RuntimeError('Attempting to deserialize object on a CUDA ' 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...