prain: serve with the string chat template content format
This commit is contained in:
+2
-1
@@ -55,7 +55,8 @@ class Cli(TmpCase):
|
||||
execvp.assert_called_once_with("vllm", [
|
||||
"vllm", "serve", "/models/m", "--enforce-eager", "--moe-backend", "triton",
|
||||
"--scheduling-policy", "priority", "--max-num-seqs", "3",
|
||||
"--kv-cache-memory-bytes", "1073741824", "--port", "8001"])
|
||||
"--kv-cache-memory-bytes", "1073741824", "--chat-template-content-format", "string",
|
||||
"--port", "8001"])
|
||||
with mock.patch("os.execvp") as execvp, self.assertRaisesRegex(
|
||||
SystemExit, "--max-num-seqs=4 comes from the placement file"):
|
||||
main(["serve", config, "/models/m", "--", "--max-num-seqs=4"])
|
||||
|
||||
Reference in New Issue
Block a user