Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
629f291
1
Parent(s):
77460fb
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ pipe = AuraFlowPipeline.from_pretrained(
|
|
12 |
torch_dtype=torch.float16
|
13 |
).to("cuda")
|
14 |
|
15 |
-
pipe.
|
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
|