Spaces:
Running
on
L40S
Running
on
L40S
update
Browse files- infer_api.py +2 -2
infer_api.py
CHANGED
@@ -283,8 +283,8 @@ def save_image_numpy(ndarr):
|
|
283 |
|
284 |
@spaces.GPU
|
285 |
def run_multiview_infer(data, pipeline, cfg: TestConfig, num_levels=3):
|
286 |
-
|
287 |
-
|
288 |
if cfg.seed is None:
|
289 |
generator = None
|
290 |
else:
|
|
|
283 |
|
284 |
@spaces.GPU
|
285 |
def run_multiview_infer(data, pipeline, cfg: TestConfig, num_levels=3):
|
286 |
+
pipeline.unet.enable_xformers_memory_efficient_attention()
|
287 |
+
|
288 |
if cfg.seed is None:
|
289 |
generator = None
|
290 |
else:
|