Spaces:
Sleeping
Sleeping
Bobby
commited on
Commit
·
1cdb901
1
Parent(s):
4b8d6d8
test
Browse files
app.py
CHANGED
|
@@ -95,7 +95,6 @@ if gr.NO_RELOAD:
|
|
| 95 |
def init(pipe):
|
| 96 |
pipe.enable_xformers_memory_efficient_attention()
|
| 97 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
| 98 |
-
pipe.compile()
|
| 99 |
print("Model Compiled!")
|
| 100 |
init(pipe)
|
| 101 |
|
|
|
|
| 95 |
def init(pipe):
|
| 96 |
pipe.enable_xformers_memory_efficient_attention()
|
| 97 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
|
|
|
| 98 |
print("Model Compiled!")
|
| 99 |
init(pipe)
|
| 100 |
|