Spaces:
Running
on
Zero
Running
on
Zero
Plat
commited on
Commit
β’
32d6647
1
Parent(s):
1b970c4
remove xformers
Browse files- app.py +0 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -100,7 +100,6 @@ def load_pipeline():
|
|
100 |
custom_pipeline="lpw_stable_diffusion_xl",
|
101 |
)
|
102 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
103 |
-
pipe.enable_xformers_memory_efficient_attention()
|
104 |
if CPU_OFFLOAD: # local
|
105 |
pipe.enable_sequential_cpu_offload(gpu_id=0, device=device)
|
106 |
else:
|
|
|
100 |
custom_pipeline="lpw_stable_diffusion_xl",
|
101 |
)
|
102 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
|
|
103 |
if CPU_OFFLOAD: # local
|
104 |
pipe.enable_sequential_cpu_offload(gpu_id=0, device=device)
|
105 |
else:
|
requirements.txt
CHANGED
@@ -4,4 +4,3 @@ accelerate==0.34.2
|
|
4 |
diffusers==0.30.1
|
5 |
transformers==4.45.1
|
6 |
spaces==0.30.2
|
7 |
-
xformers
|
|
|
4 |
diffusers==0.30.1
|
5 |
transformers==4.45.1
|
6 |
spaces==0.30.2
|
|