- scripts/sd_model_zoo.py +1 -1
scripts/sd_model_zoo.py
CHANGED
@@ -68,7 +68,7 @@ def load_image_encoder():
|
|
68 |
def load_common_sd15_pipe(base_model=DEFAULT_BASE_MODEL, device="balanced", controlnet=None, ip_adapter=False, plus_model=True, torch_dtype=torch.float16, model_cpu_offload_seq=None, enable_sequential_cpu_offload=False, vae_slicing=False, pipeline_class=None, **kwargs):
|
69 |
model_kwargs = dict(
|
70 |
torch_dtype=torch_dtype,
|
71 |
-
device_map=device,
|
72 |
requires_safety_checker=False,
|
73 |
safety_checker=None,
|
74 |
)
|
|
|
68 |
def load_common_sd15_pipe(base_model=DEFAULT_BASE_MODEL, device="balanced", controlnet=None, ip_adapter=False, plus_model=True, torch_dtype=torch.float16, model_cpu_offload_seq=None, enable_sequential_cpu_offload=False, vae_slicing=False, pipeline_class=None, **kwargs):
|
69 |
model_kwargs = dict(
|
70 |
torch_dtype=torch_dtype,
|
71 |
+
# device_map=device,
|
72 |
requires_safety_checker=False,
|
73 |
safety_checker=None,
|
74 |
)
|