multimodalart HF staff commited on
Commit
629f291
1 Parent(s): 77460fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ pipe = AuraFlowPipeline.from_pretrained(
12
  torch_dtype=torch.float16
13
  ).to("cuda")
14
 
15
- pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
16
 
17
  MAX_SEED = np.iinfo(np.int32).max
18
  MAX_IMAGE_SIZE = 1024
 
12
  torch_dtype=torch.float16
13
  ).to("cuda")
14
 
15
+ pipe.transformer = torch.compile(pipe.transformer, mode="reduce-overhead", fullgraph=True)
16
 
17
  MAX_SEED = np.iinfo(np.int32).max
18
  MAX_IMAGE_SIZE = 1024