Disty0 commited on
Commit
6e745a9
·
verified ·
1 Parent(s): 8234b73

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -32,11 +32,10 @@ pipe = diffusers.ZImagePipeline.from_pretrained("Disty0/Z-Image-Turbo-SDNQ-int8"
32
  if triton_is_available and (torch.cuda.is_available() or torch.xpu.is_available()):
33
  pipe.transformer = apply_sdnq_options_to_model(pipe.transformer, use_quantized_matmul=True)
34
  pipe.text_encoder = apply_sdnq_options_to_model(pipe.text_encoder, use_quantized_matmul=True)
 
35
 
36
  pipe.enable_model_cpu_offload()
37
 
38
- pipe.transformer = torch.compile(pipe.transformer)
39
-
40
  prompt = "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (⚡️), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (西安大雁塔), blurred colorful distant lights."
41
  image = pipe(
42
  prompt=prompt,
 
32
  if triton_is_available and (torch.cuda.is_available() or torch.xpu.is_available()):
33
  pipe.transformer = apply_sdnq_options_to_model(pipe.transformer, use_quantized_matmul=True)
34
  pipe.text_encoder = apply_sdnq_options_to_model(pipe.text_encoder, use_quantized_matmul=True)
35
+ pipe.transformer = torch.compile(pipe.transformer)
36
 
37
  pipe.enable_model_cpu_offload()
38
 
 
 
39
  prompt = "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (⚡️), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (西安大雁塔), blurred colorful distant lights."
40
  image = pipe(
41
  prompt=prompt,