mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-02 02:47:04 +08:00
[BUG] Allow runai_streamer_sharded in config check (#26958)
Signed-off-by: ahao-anyscale <ahao@anyscale.com>
This commit is contained in:
parent
f8a0acbdbe
commit
582f2c6be7
@ -740,10 +740,13 @@ class VllmConfig:
|
||||
"Overriding `load_format` to 'runai_streamer'"
|
||||
)
|
||||
self.load_config.load_format = "runai_streamer"
|
||||
elif self.load_config.load_format != "runai_streamer":
|
||||
elif self.load_config.load_format not in (
|
||||
"runai_streamer",
|
||||
"runai_streamer_sharded",
|
||||
):
|
||||
raise ValueError(
|
||||
f"To load a model from S3, 'load_format' "
|
||||
f"must be 'runai_streamer', "
|
||||
f"must be 'runai_streamer' or 'runai_streamer_sharded', "
|
||||
f"but got '{self.load_config.load_format}'. "
|
||||
f"Model: {self.model_config.model}"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user