runtime error

Exit code: 1. Reason: ad( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2441, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 943, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 759, in wrapper response = f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/home/user/app/app.py", line 253, in process1 global_state = GlobalState() File "/home/user/app/app.py", line 194, in __init__ pipe, frescoProc, controlnet, detector, flow_model, sod_model = get_models( File "/home/user/app/app.py", line 94, in get_models sod_model.load_state_dict(torch.load(config['sod_path'])) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1028, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1256, in _legacy_load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1193, in persistent_load wrap_storage=restore_location(obj, location), File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 381, in default_restore_location result = fn(storage, location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 274, in _cuda_deserialize device = validate_cuda_device(location) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 258, 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...