Upload dx8152_Fusion_lora_0.txt with huggingface_hub
Browse files1 unmodified line2345567893 unmodified lines13141515161718192021222324252616171819204 unmodified lines2526273738394041424344454647484950515253545556575859606162636465666768697071727374757677282930313233798081828384858634353637381 unmodified linefrom diffusers import DiffusionPipelinefrom diffusers.utils import load_image
pipe = DiffusionPipeline.from_pretrained("dx8152/Fusion_lora")pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")pipe.load_lora_weights("dx8152/Fusion_lora")
prompt = "Turn this cat into a dog"input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")3 unmodified lines
ERROR: Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/dx8152/Fusion_lora/resolve/main/model_index.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/tmp/dx8152_Fusion_lora_0FkXIdt.py", line 19, in <module> pipe = DiffusionPipeline.from_pretrained("dx8152/Fusion_lora") File "/tmp/dx8152_Fusion_lora_0BgJxqP.py", line 19, in <module> pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509") File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained4 unmodified lines ) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1490, in download config_file = hf_hub_download( pretrained_model_name, ...<5 lines>... token=token, ) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download return _hf_hub_download_to_cache_dir( # Destination ...<14 lines>... force_download=force_download, ) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1070, in _hf_hub_download_to_cache_dir (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ repo_id=repo_id, ^^^^^^^^^^^^^^^^ ...<10 lines>... relative_filename=relative_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error metadata = get_hf_file_metadata( url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint ) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata r = _request_wrapper( method="HEAD", ...<5 lines>... timeout=timeout, ) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper response = _request_wrapper( method=method, ...<2 lines>... **params, File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1548, in download pipeline_class = _get_pipeline_class( cls, ...<7 lines>... revision=custom_revision, ) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 413, in hf_raise_for_status raise _format(EntryNotFoundError, message, response) from ehuggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-6908566d-0f51e8787f301b707e625a3f;9c9cf22e-7f6c-42a3-b193-784a4c6a8c6d)
Entry Not Found for url: https://huggingface.co/dx8152/Fusion_lora/resolve/main/model_index.json. File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_loading_utils.py", line 491, in _get_pipeline_class pipeline_cls = getattr(diffusers_module, class_name) File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/utils/import_utils.py", line 946, in __getattr__ raise AttributeError(f"module {self.__name__} has no attribute {name}")AttributeError: module diffusers has no attribute QwenImageEditPlusPipeline. Did you mean: 'QwenImageEditPipeline'?dx8152_Fusion_lora_0.txt+14-62