Commit
•
77460fb
1
Parent(s):
621bbdc
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,8 @@ pipe = AuraFlowPipeline.from_pretrained(
|
|
12 |
torch_dtype=torch.float16
|
13 |
).to("cuda")
|
14 |
|
|
|
|
|
15 |
MAX_SEED = np.iinfo(np.int32).max
|
16 |
MAX_IMAGE_SIZE = 1024
|
17 |
|
|
|
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
|
19 |
|