"vllm/vscode:/vscode.git/clone" did not exist on "e08a3a3fdbdb5408f904a237b31ff2447a336b2f"
Unverified Commit 4f5d8446 authored by Nicolò Lucchesi's avatar Nicolò Lucchesi Committed by GitHub
Browse files

[Bugfix] Fix ModelScope models in v0.5.5 (#8037)

parent d05f0a9d
......@@ -108,6 +108,9 @@ def get_hf_image_processor_config(
revision: Optional[str] = None,
**kwargs,
) -> Dict[str, Any]:
# ModelScope does not provide an interface for image_processor
if VLLM_USE_MODELSCOPE:
return dict()
# Separate model folder from file path for GGUF models
if Path(model).is_file() and Path(model).suffix == ".gguf":
model = Path(model).parent
......
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