Upload dx8152_Fusion_lora_0.txt with huggingface_hub
Browse files- dx8152_Fusion_lora_0.txt +14 -62
dx8152_Fusion_lora_0.txt
CHANGED
|
@@ -2,7 +2,8 @@
|
|
| 2 |
from diffusers import DiffusionPipeline
|
| 3 |
from diffusers.utils import load_image
|
| 4 |
|
| 5 |
-
pipe = DiffusionPipeline.from_pretrained("
|
|
|
|
| 6 |
|
| 7 |
prompt = "Turn this cat into a dog"
|
| 8 |
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
|
|
@@ -12,18 +13,8 @@ image = pipe(image=input_image, prompt=prompt).images[0]
|
|
| 12 |
|
| 13 |
ERROR:
|
| 14 |
Traceback (most recent call last):
|
| 15 |
-
File "/tmp
|
| 16 |
-
|
| 17 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
| 18 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
|
| 19 |
-
raise HTTPError(http_error_msg, response=self)
|
| 20 |
-
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/dx8152/Fusion_lora/resolve/main/model_index.json
|
| 21 |
-
|
| 22 |
-
The above exception was the direct cause of the following exception:
|
| 23 |
-
|
| 24 |
-
Traceback (most recent call last):
|
| 25 |
-
File "/tmp/dx8152_Fusion_lora_0FkXIdt.py", line 19, in <module>
|
| 26 |
-
pipe = DiffusionPipeline.from_pretrained("dx8152/Fusion_lora")
|
| 27 |
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 28 |
return fn(*args, **kwargs)
|
| 29 |
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained
|
|
@@ -34,53 +25,14 @@ Traceback (most recent call last):
|
|
| 34 |
)
|
| 35 |
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 36 |
return fn(*args, **kwargs)
|
| 37 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
...<
|
| 41 |
-
|
| 42 |
-
)
|
| 43 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 44 |
-
return fn(*args, **kwargs)
|
| 45 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 46 |
-
return _hf_hub_download_to_cache_dir(
|
| 47 |
-
# Destination
|
| 48 |
-
...<14 lines>...
|
| 49 |
-
force_download=force_download,
|
| 50 |
-
)
|
| 51 |
-
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
|
| 52 |
-
(url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
|
| 53 |
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 54 |
-
repo_id=repo_id,
|
| 55 |
-
^^^^^^^^^^^^^^^^
|
| 56 |
-
...<10 lines>...
|
| 57 |
-
relative_filename=relative_filename,
|
| 58 |
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 59 |
-
)
|
| 60 |
-
^
|
| 61 |
-
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
|
| 62 |
-
metadata = get_hf_file_metadata(
|
| 63 |
-
url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
|
| 64 |
-
)
|
| 65 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 66 |
-
return fn(*args, **kwargs)
|
| 67 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 68 |
-
r = _request_wrapper(
|
| 69 |
-
method="HEAD",
|
| 70 |
-
...<5 lines>...
|
| 71 |
-
timeout=timeout,
|
| 72 |
-
)
|
| 73 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 74 |
-
response = _request_wrapper(
|
| 75 |
-
method=method,
|
| 76 |
-
...<2 lines>...
|
| 77 |
-
**params,
|
| 78 |
)
|
| 79 |
-
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
huggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-6908566d-0f51e8787f301b707e625a3f;9c9cf22e-7f6c-42a3-b193-784a4c6a8c6d)
|
| 85 |
-
|
| 86 |
-
Entry Not Found for url: https://huggingface.co/dx8152/Fusion_lora/resolve/main/model_index.json.
|
|
|
|
| 2 |
from diffusers import DiffusionPipeline
|
| 3 |
from diffusers.utils import load_image
|
| 4 |
|
| 5 |
+
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")
|
| 6 |
+
pipe.load_lora_weights("dx8152/Fusion_lora")
|
| 7 |
|
| 8 |
prompt = "Turn this cat into a dog"
|
| 9 |
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
|
|
|
|
| 13 |
|
| 14 |
ERROR:
|
| 15 |
Traceback (most recent call last):
|
| 16 |
+
File "/tmp/dx8152_Fusion_lora_0BgJxqP.py", line 19, in <module>
|
| 17 |
+
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 19 |
return fn(*args, **kwargs)
|
| 20 |
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained
|
|
|
|
| 25 |
)
|
| 26 |
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 27 |
return fn(*args, **kwargs)
|
| 28 |
+
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1548, in download
|
| 29 |
+
pipeline_class = _get_pipeline_class(
|
| 30 |
+
cls,
|
| 31 |
+
...<7 lines>...
|
| 32 |
+
revision=custom_revision,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
)
|
| 34 |
+
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_loading_utils.py", line 491, in _get_pipeline_class
|
| 35 |
+
pipeline_cls = getattr(diffusers_module, class_name)
|
| 36 |
+
File "/tmp/.cache/uv/environments-v2/750214939a19bc37/lib/python3.13/site-packages/diffusers/utils/import_utils.py", line 946, in __getattr__
|
| 37 |
+
raise AttributeError(f"module {self.__name__} has no attribute {name}")
|
| 38 |
+
AttributeError: module diffusers has no attribute QwenImageEditPlusPipeline. Did you mean: 'QwenImageEditPipeline'?
|
|
|
|
|
|
|
|
|