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 2540824 commit c7f8b12Copy full SHA for c7f8b12
examples/apps/flux_demo.py
@@ -62,6 +62,10 @@ def compile_model(
62
torch_dtype=torch.float16,
63
).to(torch.float16)
64
65
+ pipe.transformer = FluxTransformer2DModel(
66
+ num_layers=23, num_single_layers=10, guidance_embeds=True
67
+ ).to(torch.float16)
68
+
69
if args.low_vram_mode:
70
pipe.enable_model_cpu_offload()
71
else:
0 commit comments