Unverified Commit f4f8a9d8 authored by liuyhwangyh's avatar liuyhwangyh Committed by GitHub
Browse files

[Bugfix]fix modelscope compatible issue (#6730)

parent b5708117
...@@ -161,7 +161,7 @@ class DefaultModelLoader(BaseModelLoader): ...@@ -161,7 +161,7 @@ class DefaultModelLoader(BaseModelLoader):
cache_dir=self.load_config.download_dir, cache_dir=self.load_config.download_dir,
local_files_only=huggingface_hub.constants.HF_HUB_OFFLINE, local_files_only=huggingface_hub.constants.HF_HUB_OFFLINE,
revision=revision, revision=revision,
ignore_patterns=self.load_config.ignore_patterns, ignore_file_pattern=self.load_config.ignore_patterns,
) )
else: else:
model_path = model model_path = model
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment