aboutsummaryrefslogtreecommitdiff
path: root/modules/extra_networks_hypernet.py
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-10-24 01:49:05 +0800
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-10-24 01:49:05 +0800
commiteaa9f5162fbca2ebcb2682eb861bc7e5510a2b66 (patch)
treef8bf60786db8d42a0a0e85deb56c885780bda654 /modules/extra_networks_hypernet.py
parent5f9ddfa46f28ca2aa9e0bd832f6bbd67069be63e (diff)
Add CPU fp8 support
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.
Diffstat (limited to 'modules/extra_networks_hypernet.py')
0 files changed, 0 insertions, 0 deletions