You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source_en/Instruction/GKD.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,36 +197,36 @@ When `gkd_logits_topk` is set, you can use an external teacher model API service
197
197
|`--gkd_logits_topk`| int |**Required**| Must be set when using external API; corresponds to the top_logprobs returned by the API |
198
198
199
199
**Supported Backends**:
200
-
-`swift deploy` (vLLM backend)
201
-
- Standalone vLLM server (`vllm serve`)
200
+
-`vllm serve` (recommended)
201
+
202
+
> **Note**: Only `vllm serve` is supported as the teacher server backend. The training code sends raw token IDs via the `prompt` field and uses the `prompt_logprobs` parameter in the `/v1/completions` API to obtain input token log-probabilities. This is a vLLM-native feature.
202
203
203
204
**Step 1: Deploy Teacher Model Service**
204
205
205
206
```bash
206
-
# Deploy teacher model with swift deploy (recommended)
0 commit comments