Skip to content

Conversation

@sayakpaul
Copy link
Member

What does this PR do?

Fixes #12159

Test code:

from huggingface_hub import login
from diffusers import DiffusionPipeline
import torch
from PIL import Image

pipe = DiffusionPipeline.from_pretrained(
    "Qwen/Qwen-Image", 
    torch_dtype=torch.bfloat16,
    device_map="cuda"
)
pipe.load_lora_weights("itspoidaman/qwenglitch")
_ = pipe(prompt="okay", num_inference_steps=2)

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@apolinario
Copy link
Collaborator

LGTM! Works for me too including in https://huggingface.co/spaces/multimodalart/Qwen-Image-LoRA-Explorer

@sayakpaul
Copy link
Member Author

Failing test is unrelated.

@sayakpaul sayakpaul merged commit 555b6cc into main Aug 18, 2025
34 of 35 checks passed
@sayakpaul sayakpaul deleted the support-more-qwen-loras branch August 18, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LoRA loading compatibility with some Qwen Image LoRAs

5 participants