mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-08-03 08:40:39 -05:00
Since norm layer need fp32, I only convert the linear operation layer(conv2d/linear) And TE have some pytorch function not support bf16 amp in CPU. I add a condition to indicate if the autocast is for unet.
68 KiB
68 KiB