runtime error
ed results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 . 07/06 08:31:08 - mmengine - INFO - Successfully add external embeddings: P_ctxt, P_shape, P_obj. 07/06 08:31:08 - mmengine - INFO - Successfully add trainable external embeddings: P_ctxt, P_shape, P_obj Traceback (most recent call last): File "/home/user/app/app.py", line 59, in <module> torch.load("./PowerPaint_v2/PowerPaint_Brushnet/pytorch_model.bin"), strict=False File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 1025, in load return _load(opened_zipfile, File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 1446, in _load result = unpickler.load() File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 1416, in persistent_load typed_storage = load_tensor(dtype, nbytes, key, _maybe_decode_ascii(location)) File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 1390, in load_tensor wrap_storage=restore_location(storage, location), File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 390, in default_restore_location result = fn(storage, location) File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 265, in _cuda_deserialize device = validate_cuda_device(location) File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 249, 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...