Spaces:
Runtime error
Runtime error
pengHTYX
commited on
Commit
•
67c0098
1
Parent(s):
d882e8b
'update'
Browse files
app.py
CHANGED
@@ -298,7 +298,7 @@ def run_demo():
|
|
298 |
torch.set_grad_enabled(False)
|
299 |
print(1)
|
300 |
pipeline.to(device=f'cuda:{_GPU_ID}')
|
301 |
-
pipeline.unet.enable_xformers_memory_efficient_attention()
|
302 |
|
303 |
print(2)
|
304 |
predictor = sam_init()
|
|
|
298 |
torch.set_grad_enabled(False)
|
299 |
print(1)
|
300 |
pipeline.to(device=f'cuda:{_GPU_ID}')
|
301 |
+
# pipeline.unet.enable_xformers_memory_efficient_attention()
|
302 |
|
303 |
print(2)
|
304 |
predictor = sam_init()
|