Views
No views yet

kernels package.Qwen3VLModel) — NF4 (4-bit NormalFloat) via bitsandbytes.[!NOTE] Requirements:
- A diffusers build with Nunchaku Lite support (PR #14100, until merged).
pip install -U kernels bitsandbytes- NVFP4 kernels require a Blackwell (RTX 50 / RTX PRO) GPU.
7):1import torch
2from diffusers import DiffusionPipeline
3
4pipe = DiffusionPipeline.from_pretrained("OzzyGT/Krea_2_Turbo_nunchaku_lite_nvfp4", torch_dtype=torch.bfloat16)
5pipe.to("cuda")
6
7prompt = (
8 "A cozy corner bookstore-cafe on a rainy evening, cinematic wide shot. "
9 'A large hand-lettered chalkboard sign in the window reads "FRESH COFFEE & OLD BOOKS" '
10 "and below it in smaller chalk letters \"open 'til late\". "
11 "Warm golden light spills onto wet cobblestones that mirror pink and blue neon reflections. "
12 "Inside, tall mahogany shelves are packed with hundreds of colorful book spines with tiny legible titles, "
13 "a barista in a striped apron pours delicate latte art, steam curling upward, "
14 "a tabby cat sleeps on a windowsill beside a stack of paperbacks. "
15 "Intricate detail, sharp focus, shallow depth of field, photorealistic, rich color grading."
16)
17
18image = pipe(
19 prompt,
20 num_inference_steps=8,
21 guidance_scale=0.0,
22 height=1024,
23 width=1024,
24 generator=torch.Generator("cuda").manual_seed(7),
25).images[0]
26image.save("sample.png")