Skip to content

Commit 07ab116

Browse files
RyanJDickmaryhipp
authored andcommitted
Remove load_safety_checker=False from calls to from_single_file(...).
This param has been deprecated, and by including it (even when set to False) the safety checker automatically gets downloaded.
1 parent 1a13af3 commit 07ab116

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

invokeai/backend/model_manager/load/model_loaders/stable_diffusion.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def _load_from_singlefile(
134134
torch_dtype=self._torch_dtype,
135135
prediction_type=prediction_type,
136136
upcast_attention=upcast_attention,
137-
load_safety_checker=False,
138137
)
139138

140139
if not submodel_type:

0 commit comments

Comments
 (0)