Upload vafipas663_Qwen-Edit-2509-Upscale-LoRA_0.txt with huggingface_hub
Browse files12345678910111213141516171819202122232425262728293031323334353637```CODE: import torchfrom diffusers import DiffusionPipeline
# switch to "mps" for apple devicespipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda")pipe.load_lora_weights("vafipas663/Qwen-Edit-2509-Upscale-LoRA")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"image = pipe(prompt).images[0]```
ERROR: Traceback (most recent call last): File "/tmp/vafipas663_Qwen-Edit-2509-Upscale-LoRA_0PrGykc.py", line 27, in <module> pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda") File "/tmp/.cache/uv/environments-v2/0136fa945d835e43/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/0136fa945d835e43/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained cached_folder = cls.download( pretrained_model_name_or_path, ...<14 lines>... **kwargs, ) File "/tmp/.cache/uv/environments-v2/0136fa945d835e43/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/0136fa945d835e43/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/0136fa945d835e43/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/0136fa945d835e43/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'?vafipas663_Qwen-Edit-2509-Upscale-LoRA_0.txtAdded+37