Update README.md
#2
by zheyishine - opened
README.md
CHANGED
|
@@ -62,7 +62,20 @@ We have conducted a comprehensive evaluation of Ling-3.0-flash across multiple a
|
|
| 62 |
> - <font style="color:rgb(16, 18, 20);">Draco: Scored based on official rubrics per question, with the final score calculated as the average across all questions using </font>Claude Opus 4.6<font style="color:rgb(16, 18, 20);"> as the scoring model.</font>
|
| 63 |
> - BrowseComp (Single-Agent): Evaluated using a resume strategy for context management: once the context reaches a 64K-token threshold, the trajectory is summarized, the original history is discarded, and execution is resumed from the summary.
|
| 64 |
> - BrowseComp (Multi-Agent):<font style="color:rgb(16, 18, 20);"> Evaluated on English and ZH Revised datasets using an internal multi-agent search harness based on SearchSwarm/Tongyi DeepResearch, configured with </font>`temperature=0.85, top_p=0.95, max_tokens=8K`<font style="color:rgb(16, 18, 20);">, and main/sub-agent context windows of 128K and 64K, respectively.</font>
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Quickstart
|
| 67 |
#### Install our SGLang
|
| 68 |
```bash
|
|
@@ -70,17 +83,17 @@ pip install uv
|
|
| 70 |
uv venv ~/my_ling_env
|
| 71 |
source ~/my_ling_env/bin/activate
|
| 72 |
git clone -b ling_v3_support https://github.com/inclusionAI/sglang_ling_v3.git
|
| 73 |
-
cd
|
| 74 |
pip install --upgrade pip
|
| 75 |
pip install -e "python"
|
| 76 |
```
|
| 77 |
|
| 78 |
#### Run Inference
|
| 79 |
-
Here is the example to run Ling-3.0-flash with
|
| 80 |
|
| 81 |
**Server**
|
| 82 |
|
| 83 |
-
As our model is trained with MTP, we recommend to turn on MTP (i.e., --speculative-algorithm NEXTN) in inference for lower latency.
|
| 84 |
|
| 85 |
```bash
|
| 86 |
export SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1
|
|
@@ -91,7 +104,7 @@ python -m sglang.launch_server \
|
|
| 91 |
--nnodes 1 \
|
| 92 |
--mem-fraction-static 0.8 \
|
| 93 |
--max-running-requests 64 \
|
| 94 |
-
--tp-size
|
| 95 |
--chunked-prefill-size 8192 \
|
| 96 |
--allow-auto-output-truncate \
|
| 97 |
--tool-call-parser ling3 \
|
|
|
|
| 62 |
> - <font style="color:rgb(16, 18, 20);">Draco: Scored based on official rubrics per question, with the final score calculated as the average across all questions using </font>Claude Opus 4.6<font style="color:rgb(16, 18, 20);"> as the scoring model.</font>
|
| 63 |
> - BrowseComp (Single-Agent): Evaluated using a resume strategy for context management: once the context reaches a 64K-token threshold, the trajectory is summarized, the original history is discarded, and execution is resumed from the summary.
|
| 64 |
> - BrowseComp (Multi-Agent):<font style="color:rgb(16, 18, 20);"> Evaluated on English and ZH Revised datasets using an internal multi-agent search harness based on SearchSwarm/Tongyi DeepResearch, configured with </font>`temperature=0.85, top_p=0.95, max_tokens=8K`<font style="color:rgb(16, 18, 20);">, and main/sub-agent context windows of 128K and 64K, respectively.</font>
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
## Quantized Models
|
| 68 |
+
We evaluate the quantized models using several datasets. The FP8 quantized model is applied via the blockwise quantization, and INT4 and FP4 models are applied via groupwise quantization with routed experts weights.
|
| 69 |
+
|
| 70 |
+
|dataset | BF16 | **FP8** | INT4 | FP4 |
|
| 71 |
+
| -- | -- | -- | -- | -- |
|
| 72 |
+
|GPQA-diamond | 84.97 | 84.00 | 83.65 | 82.42 |
|
| 73 |
+
|IFBench | 73.40 | 73.40 | 72.20 | 72.33 |
|
| 74 |
+
|SciCode | 41.24 | 40.37 | 39.35 | 39.79 |
|
| 75 |
+
|ArcPrize | 68.75 | 67.18 | 67.56 | 64.16 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
## Quickstart
|
| 80 |
#### Install our SGLang
|
| 81 |
```bash
|
|
|
|
| 83 |
uv venv ~/my_ling_env
|
| 84 |
source ~/my_ling_env/bin/activate
|
| 85 |
git clone -b ling_v3_support https://github.com/inclusionAI/sglang_ling_v3.git
|
| 86 |
+
cd sglang_ling_v3
|
| 87 |
pip install --upgrade pip
|
| 88 |
pip install -e "python"
|
| 89 |
```
|
| 90 |
|
| 91 |
#### Run Inference
|
| 92 |
+
Here is the example to run Ling-3.0-flash fp8 quantized model with 2 GPUs, where the master node IP is `${MASTER_IP}` and server port is `${PORT}`:
|
| 93 |
|
| 94 |
**Server**
|
| 95 |
|
| 96 |
+
As our model is trained with MTP, we recommend to turn on MTP (i.e., --speculative-algorithm NEXTN) in inference for lower latency. Currently, the implementation only supports `tp<=2` for blockwise fp8 inference.
|
| 97 |
|
| 98 |
```bash
|
| 99 |
export SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1
|
|
|
|
| 104 |
--nnodes 1 \
|
| 105 |
--mem-fraction-static 0.8 \
|
| 106 |
--max-running-requests 64 \
|
| 107 |
+
--tp-size 2 \
|
| 108 |
--chunked-prefill-size 8192 \
|
| 109 |
--allow-auto-output-truncate \
|
| 110 |
--tool-call-parser ling3 \
|