Views
No views yet
bitdance_diffusers) for direct loading with DiffusionPipeline.1import torch
2from diffusers import DiffusionPipeline
3
4# Local path (recommended - no trust_remote_code needed)
5model_path = "BiliSakura/BitDance-14B-64x-diffusers"
6pipe = DiffusionPipeline.from_pretrained(
7 model_path,
8 custom_pipeline=model_path,
9 torch_dtype=torch.bfloat16,
10).to("cuda")
11
12result = pipe(
13 prompt = "A close-up portrait in a cinematic photography style, capturing a girl-next-door look on a sunny daytime urban street. She wears a khaki sweater, with long, flowing hair gently draped over her shoulders. Her head is turned slightly, revealing soft facial features illuminated by realistic, delicate sunlight coming from the left. The sunlight subtly highlights individual strands of her hair. The image has a Canon film-like color tone, evoking a warm nostalgic atmosphere.",
14 height=1024,
15 width=1024,
16 num_inference_steps=50,
17 guidance_scale=7.5,
18)
19result.images[0].save("bitdance_14b_64x.png")python test_bitdance.pyNVIDIA A100-SXM4-80GB using:dtype=torch.bfloat16num_inference_steps=30guidance_scale=7.5A close-up portrait in a cinematic photography style, capturing a girl-next-door look on a sunny daytime urban street. She wears a khaki sweater, with long, flowing hair gently draped over her shoulders. Her head is turned slightly, revealing soft facial features illuminated by realistic, delicate sunlight coming from the left. The sunlight subtly highlights individual strands of her hair. The image has a Canon film-like color tone, evoking a warm nostalgic atmosphere.| Resolution | Peak Allocated VRAM (GiB) | Peak Reserved VRAM (GiB) | Time (s) | Status |
|---|---|---|---|---|
| 512x512 | 39.60 | 40.62 | 4.08 | ok |
| 1024x1024 | 41.21 | 50.15 | 15.79 | ok |
| 1280x768 | 40.88 | 49.52 | 14.78 | ok |
| 768x1280 | 40.88 | 49.52 | 14.75 | ok |
| 1536x640 | 40.88 | 49.52 | 14.76 | ok |
| 2048x512 | 41.21 | 50.15 | 15.85 | ok |
BitDanceDiffusionPipeline0.36.064Qwen3ForCausalLM + Qwen2TokenizerFast1024x1024, 1280x768, 768x1280, 2048x512, and more (see model_index.json)1@article{ai2026bitdance,
2 title = {BitDance: Scaling Autoregressive Generative Models with Binary Tokens},
3 author = {Ai, Yuang and Han, Jiaming and Zhuang, Shaobin and Hu, Xuefeng and Yang, Ziyan and Yang, Zhenheng and Huang, Huaibo and Yue, Xiangyu and Chen, Hao},
4 journal = {arXiv preprint arXiv:2602.14041},
5 year = {2026}
6}
7
8@inproceedings{von-platen-etal-2022-diffusers,
9 title = {Diffusers: State-of-the-art diffusion models},
10 author = {Patrick von Platen and Suraj Patil and Anton Lozhkov and Damar Jablonski and Hernan Bischof and Thomas Wolf},
11 booktitle = {GitHub repository},
12 year = {2022},
13 url = {https://github.com/huggingface/diffusers}
14}