Skip to content

Commit 6198f8a

Browse files
DN6yiyixuxu
andauthored
[Modular] Allow ModularPipeline to load from revisions (#12592)
* update * update * update * update --------- Co-authored-by: YiYi Xu <yixu310@gmail.com>
1 parent dcfb18a commit 6198f8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/utils/dynamic_modules_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ def get_cached_module_file(
358358
proxies=proxies,
359359
local_files_only=local_files_only,
360360
local_dir=local_dir,
361+
revision=revision,
361362
token=token,
362363
)
363364
submodule = os.path.join("local", "--".join(pretrained_model_name_or_path.split("/")))

0 commit comments

Comments
 (0)