Views
No views yet
QwenImageEditPipeline.l8v1.1 in the repo name is Lightning, 8 steps, V1.1.Qwen-Image-Lightning-8steps-V1.1.safetensors is loaded as a LoRA, fused
into the base transformer, and unloaded — so the published weights carry the
step distillation directly and no LoRA is needed at inference.e4m3_e4m3_dynamic
(float8_e4m3fn weights, dynamically scaled float8_e4m3fn activations)..bin shards, so loading requires
use_safetensors=False.1import torch
2from diffusers import QwenImageEditPipeline
3from diffusers.utils import load_image
4
5pipe = QwenImageEditPipeline.from_pretrained(
6 "wavespeed/Qwen-Image-Edit-l8v1.1-e4m3",
7 torch_dtype=torch.bfloat16,
8 use_safetensors=False,
9).to("cuda")
10
11out = pipe(
12 image=load_image("input.png"),
13 prompt="replace the sky with a clear night sky",
14 num_inference_steps=8,
15 true_cfg_scale=1.0,
16).images[0]