runtime error
Exit code: 1. Reason: net.py: 100%|ββββββββββ| 34.4k/34.4k [00:00<00:00, 105MB/s] config.json: 0%| | 0.00/601 [00:00<?, ?B/s][A config.json: 100%|ββββββββββ| 601/601 [00:00<00:00, 3.53MB/s] diffusion_pytorch_model.safetensors: 0%| | 0.00/167M [00:00<?, ?B/s][A diffusion_pytorch_model.safetensors: 100%|ββββββββββ| 167M/167M [00:00<00:00, 228MB/s] Keyword arguments {'trust_remote_code': True} are not expected by LGMFullPipeline and will be ignored. Loading pipeline components...: 0%| | 0/8 [00:00<?, ?it/s][A Loading pipeline components...: 0%| | 0/8 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 16, in <module> pipeline = DiffusionPipeline.from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 961, in from_pretrained loaded_sub_model = load_sub_model( File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_loading_utils.py", line 777, in load_sub_model loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 309, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4252, in from_pretrained device_in_context = get_torch_context_manager_or_global_device() File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 322, in get_torch_context_manager_or_global_device default_device = torch.get_default_device() File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 1932, in __getattr__ raise AttributeError(f"module '{__name__}' has no attribute '{name}'") AttributeError: module 'torch' has no attribute 'get_default_device'
Container logs:
Fetching error logs...