[docs] fix HF reference script command (#4148)

This commit is contained in:
Adarsh Shirawalmath
2025-03-07 02:51:54 +05:30
committed by GitHub
parent 9c58e68b4c
commit 19fd57bcd7
2 changed files with 7 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ You should test the new vLM locally against hf models. See [`mmmu`](https://gith
For interactive debugging, you can compare the outputs of huggingface/transformers and SGLang.
The following two commands should give the same text output and very similar prefill logits.
- Get the reference output by `python3 scripts/playground/reference_hf.py --model [new model]`
- Get the reference output by `python3 scripts/playground/reference_hf.py --model-path [new model] --model-type {text,vlm}`
- Get the SGLang output by `python3 -m sglang.bench_one_batch --correct --model [new model]`
#### Add the model to the test suite