mart9992 commited on
Commit
5553910
1 Parent(s): b8303b0
Files changed (2) hide show
  1. entklei.py +1 -1
  2. handler.py +1 -1
entklei.py CHANGED
@@ -129,7 +129,7 @@ base_pipe.scheduler = DDIMScheduler.from_config(base_pipe.scheduler.config)
129
  base_pipe = base_pipe.to("cuda")
130
  base_pipe.enable_model_cpu_offload()
131
  base_pipe.safety_checker = None
132
- base_pipe.enable_xformers_memory_efficient_attention()
133
 
134
  pipe_with_tit_slider = _.clone_deep(base_pipe)
135
 
 
129
  base_pipe = base_pipe.to("cuda")
130
  base_pipe.enable_model_cpu_offload()
131
  base_pipe.safety_checker = None
132
+ # base_pipe.enable_xformers_memory_efficient_attention()
133
 
134
  pipe_with_tit_slider = _.clone_deep(base_pipe)
135
 
handler.py CHANGED
@@ -5,7 +5,7 @@ import subprocess, io, os, sys, time
5
  from dw_pose.main import dwpose
6
 
7
  # os.environ["XFORMERS_DISABLE_FLASH_ATTN"] = "1"
8
- result = subprocess.run(['pip', 'install', 'xformers'], check=True)
9
 
10
  from entklei import get_nude
11
  from scipy.ndimage import binary_dilation
 
5
  from dw_pose.main import dwpose
6
 
7
  # os.environ["XFORMERS_DISABLE_FLASH_ATTN"] = "1"
8
+ # result = subprocess.run(['pip', 'install', 'xformers'], check=True)
9
 
10
  from entklei import get_nude
11
  from scipy.ndimage import binary_dilation