From 05e40922b31ecd9b1eafba44aa7fcfd6b4ed7d91 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 11 Mar 2026 23:30:45 +0800 Subject: [PATCH] [Doc] Fix wrong link and cmd description (#20365) --- docs/supported_models/extending/support_new_models.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/supported_models/extending/support_new_models.md b/docs/supported_models/extending/support_new_models.md index bc683a636..6923b1936 100644 --- a/docs/supported_models/extending/support_new_models.md +++ b/docs/supported_models/extending/support_new_models.md @@ -55,7 +55,7 @@ should give the same text output and very similar prefill logits: - Get the reference output: ```bash - python3 scripts/playground/reference_hf.py --model-path [new model] --model-type {text,mllm} + python3 scripts/playground/reference_hf.py --model-path [new model] --model-type {text,vlm} ``` - Get the SGLang output: ```bash @@ -65,7 +65,7 @@ should give the same text output and very similar prefill logits: ### Add the Model to the Test Suite To ensure the new model is well maintained, add it to the test suite by including it in the `ALL_OTHER_MODELS` list in -the [test_generation_models.py](https://github.com/sgl-project/sglang/blob/main/test/srt/models/test_generation_models.py) +the [test_generation_models.py](https://github.com/sgl-project/sglang/blob/main/test/registered/models/test_generation_models.py) file, test the new model on your local machine and report the results on demonstrative benchmarks (GSM8K, MMLU, MMMU, MMMU-Pro, etc.) in your PR. \\ For VLMs, also include a test in `test_vision_openai_server_{x}.py` (e.g. [test_vision_openai_server_a.py](https://github.com/sgl-project/sglang/blob/main/test/srt/test_vision_openai_server_a.py), [test_vision_openai_server_b.py](https://github.com/sgl-project/sglang/blob/main/test/srt/test_vision_openai_server_b.py)).