Open
【11月贡献大赛-缺陷修复】docs(diffusers-ascend-adaptation): 纠正 bf16 与黑图归因,更新 FLUX 显存口径 #7330
饼酥Add on 4 hours ago
【11月贡献大赛-缺陷修复】docs(diffusers-ascend-adaptation): 纠正 bf16 与黑图归因,更新 FLUX 显存口径 #7330
Open
Merge blocked
4 hours ago Added label: ascend-cla/yes
ascend-robot
4 hours ago Comments:
4 hours ago Comments:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
PR Approval Progress
⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| sig-model-agent | ❌ (0/2)(You can also ask: 花新宇, 陈少宏, 顾梦沁, cookieyyds, guohui8023) | ❌ (0/1)(You can also ask: 胡晓曼, 陈少宏, 王岩, 林泽毅, 张玉橙) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
gcw_6a3w2yXz, thanks for your pull request. All authors of the commits have signed the CLA. 👍


skills/adaptation/diffusers-ascend-adaptation/SKILL.md里有两处与实测相反的建议:在 Ascend910_9362 + CANN 9.2.1 + diffusers 0.35.1 上实测:FLUX.1-schnell 用 bfloat16 可以正常出图,1024×1024 峰值 36.34 GB;黑图的真实原因是 VAE 精度不足(VAE 用 fp16/bf16 时溢出),把 VAE 保持 fp32、并在 decode 前把 latents cast 到 VAE dtype 即可。同 seed 下 VAE bf16 与 fp32 的 PSNR 为 53.18 dB,无可见差异。
本次修改:
~15 GB (bf16)改为~32-36 GB (bf16, 1024×1024)(12B 权重本身就超过 24GB);