We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b572635 commit dd69d54Copy full SHA for dd69d54
examples/dreambooth/train_dreambooth_flux.py
@@ -1157,6 +1157,7 @@ def main(args):
1157
"Mixed precision training with bfloat16 is not supported on MPS. Please use fp16 (recommended) or fp32 instead."
1158
)
1159
1160
+ transformer.to(accelerator.device, dtype=weight_dtype)
1161
vae.to(accelerator.device, dtype=weight_dtype)
1162
if not args.train_text_encoder:
1163
text_encoder_one.to(accelerator.device, dtype=weight_dtype)
0 commit comments