Qwen-Image LoRAs
Collection
11 items โข Updated
How to use PJMixers-Images/lightx2v_Qwen-Image-Lightning-8steps-V1.0-V1.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("PJMixers-Images/lightx2v_Qwen-Image-Lightning-8steps-V1.0-V1.1", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]50/50 merge of the 8-step v1.0 and v1.1 LoRAs.
Fairly similar outputs to PJMixers-Images/lightx2v_Qwen-Image-Lightning-4step-8step-Merge so refer to that for a more detailed README.
Base model
Qwen/Qwen-Image