Skip to content

Commit c8e0001

Browse files
committed
cached_download -> hf_hub_download
1 parent 62d7dfe commit c8e0001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/maxdiffusion/utils/dynamic_modules_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def get_cached_module_file(
282282
# community pipeline on GitHub
283283
github_url = COMMUNITY_PIPELINES_URL.format(revision=revision, pipeline=pretrained_model_name_or_path)
284284
try:
285-
resolved_module_file = cached_download(
285+
resolved_module_file = hf_hub_download(
286286
github_url,
287287
cache_dir=cache_dir,
288288
force_download=force_download,

0 commit comments

Comments
 (0)