Repository navigation
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@yenuo26 hello maintainer, could you plz review my code? thank you very much |
Thanks for tracking this down — the failure mode in #4975 is real: However, I don't think mapping that field inside
"server_params": {
"model": "openbmb/VoxCPM2",
"extra_cli_args": ["--trust-remote-code"]
} |
Signed-off-by: leo <yaoliu548926@gmail.com>
c828d8d to
c916e2f
Compare
Thanks for the review. I agree with your point that I updated the PR to follow the existing DFX pattern instead:
I also kept Validated with: python -m json.tool tests/dfx/perf/tests/test_voxcpm2.json
python -m pytest -q tests/dfx/perf/tests/test_runner_metadata.py
Result: 2 passed. |
@Gaohan123 I have verified this change locally and confirmed that it fixes the current issue. Could you please take a look and see if it can be merged? |
Move the flag into serve_args so run_diffusion_benchmark expands it into the OmniServer CLI, matching the VoxCPM2 vllm-project#4975/vllm-project#4984 pattern. Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: leo <yaoliu548926@gmail.com>
Signed-off-by: leo <yaoliu548926@gmail.com> Signed-off-by: Wojciech Kutak <wkutak@nvidia.com>
Signed-off-by: leo <yaoliu548926@gmail.com>
Signed-off-by: leo <yaoliu548926@gmail.com>

Summary
Fixes #4975.
This PR ensures
server_params.trust_remote_codefrom DFX perf/stability JSON configs is propagated to the OmniServer startupcommand.
Previously,
trust_remote_code: trueintests/dfx/perf/tests/test_voxcpm2.jsonwas only used when constructing benchmark client args. The server fixture did not pass--trust-remote-codetovllm serve, so the StageEngine still initialized withtrust_remote_code=False. This caused VoxCPM2 startup to fail whenStructuredOutputManagerloaded the tokenizer viaAutoTokenizer.from_pretrained(...).Changes
server_params.trust_remote_codeto--trust-remote-code.extra_cli_argsorserve_args.Test