Skip to content

Commit c85efbb

Browse files
Fix deprecation warning (huggingface#2426)
Deprecation warning should only hit at version 0.15
1 parent 1e5eaca commit c85efbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/pipeline_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P
537537

538538
if revision in DEPRECATED_REVISION_ARGS and version.parse(
539539
version.parse(__version__).base_version
540-
) >= version.parse("0.10.0"):
540+
) >= version.parse("0.15.0"):
541541
info = model_info(
542542
pretrained_model_name_or_path,
543543
use_auth_token=use_auth_token,

0 commit comments

Comments
 (0)