We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d05f0a9 commit 4f5d844Copy full SHA for 4f5d844
vllm/transformers_utils/config.py
@@ -108,6 +108,9 @@ def get_hf_image_processor_config(
108
revision: Optional[str] = None,
109
**kwargs,
110
) -> Dict[str, Any]:
111
+ # ModelScope does not provide an interface for image_processor
112
+ if VLLM_USE_MODELSCOPE:
113
+ return dict()
114
# Separate model folder from file path for GGUF models
115
if Path(model).is_file() and Path(model).suffix == ".gguf":
116
model = Path(model).parent
0 commit comments