[Core] Add native ModelExpress load format (#43105)

Signed-off-by: Zheng Luo <zheluo@nvidia.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com>
This commit is contained in:
Zheng Luo
2026-05-21 16:05:01 -04:00
committed by GitHub
co-authored by OpenAI Codex Robert Shaw
parent b29cbf0652
commit 17b69828a0
5 changed files with 212 additions and 1 deletions
+1
View File
@@ -55,6 +55,7 @@ class LoadConfig:
https://github.com/ggml-org/ggml/blob/master/docs/gguf.md).
- "mistral" will load weights from consolidated safetensors files used by
Mistral models.
- "modelexpress" will load weights using ModelExpress.
- Other custom values can be supported via plugins.
"""
download_dir: str | None = None
+2 -1
View File
@@ -1901,12 +1901,13 @@ class VllmConfig:
)
self.load_config.load_format = "runai_streamer"
elif self.load_config.load_format not in (
"modelexpress",
"runai_streamer",
"runai_streamer_sharded",
):
raise ValueError(
f"To load a model from object storage (S3/GCS/Azure), "
f"'load_format' must be 'runai_streamer' or "
f"'load_format' must be 'modelexpress', 'runai_streamer' or "
f"'runai_streamer_sharded', "
f"but got '{self.load_config.load_format}'. "
f"Model: {self.model_config.model}"