Please Help Cant run, PS Running On COmfy UI

#6
by saurabhjadhav - opened

image

image

icreated workflow form own,
https://github.com/EnragedAntelope/comfyui-sdnq/issues/14

this is repo i used.

SDNQ models are uploaded for SD.Next and in proxy, Diffusers. If you have issues with SDNQ on SD.Next or Diffuses, we can help. For other 3rd party apps, create an issue on them instead.

Disty0 changed discussion status to closed

import torch
import diffusers
from sdnq import SDNQConfig # import sdnq to register it into diffusers and transformers

pipe = diffusers.ZImagePipeline.from_pretrained("Disty0/Z-Image-Turbo-SDNQ-uint4-svd-r32", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()

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."
image = pipe(
prompt=prompt,
height=1024,
width=1024,
num_inference_steps=9,
guidance_scale=0.0,
generator=torch.manual_seed(42),
).images[0]
image.save("z-image-turb

@Disty0 can I just run this code will.it work?

That's the example code for Diffusers. It does work.

@Disty0 yes it worked for me and i am using it now thanks.

Sign up or log in to comment