diff --git a/vllm/model_executor/model_loader/loader.py b/vllm/model_executor/model_loader/loader.py index fe501b9b22da1..bbe49655020da 100644 --- a/vllm/model_executor/model_loader/loader.py +++ b/vllm/model_executor/model_loader/loader.py @@ -161,7 +161,7 @@ def _maybe_download_from_modelscope( cache_dir=self.load_config.download_dir, local_files_only=huggingface_hub.constants.HF_HUB_OFFLINE, revision=revision, - ignore_patterns=self.load_config.ignore_patterns, + ignore_file_pattern=self.load_config.ignore_patterns, ) else: model_path = model