casting the unet to low precision when training controlnet #8377
Unanswered
eyalgutflaish
asked this question in
Q&A
Replies: 1 comment 1 reply
-
According to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I see that the unet is casted to low precision on examples/controlnet/train_controlnet_sdxl.py.
As I understand when using automatic mixed precision by accelerate, all layers that propagate gradients should be left on full precision and the accelerate module should decide automatically on the precision of layers.
So why do we cast the unet to low precision ?
Beta Was this translation helpful? Give feedback.
All reactions