Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc85efbb

Browse files
Fix deprecation warning (open-mmlab#2426)
Deprecation warning should only hit at version 0.15
1 parent1e5eaca commitc85efbb

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
ifrevisioninDEPRECATED_REVISION_ARGSandversion.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)

[8]ページ先頭

©2009-2025 Movatter.jp