Views
No views yet
yoda, yarn art style to trigger the image generation.1 >>> import torch
2 >>> from diffusers import QwenImagePipeline
3
4 >>> pipe = QwenImagePipeline.from_pretrained(
5 ... "Qwen/Qwen-Image",
6 ... torch_dtype=torch.bfloat16,
7 ... )
8 >>> pipe.enable_model_cpu_offload()
9 >>> pipe.load_lora_weights(f"linoyts/lora_jobs_test")
10 >>> image = pipe(f"yoda, yarn art style").images[0]
11
12# TODO: add an example code snippet for running this diffusion pipeline