From f4f8a9d892a357e341b90bc47a8d72ece62323d5 Mon Sep 17 00:00:00 2001 From: liuyhwangyh Date: Wed, 24 Jul 2024 20:04:46 +0800 Subject: [PATCH] [Bugfix]fix modelscope compatible issue (#6730) --- vllm/model_executor/model_loader/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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