-
Notifications
You must be signed in to change notification settings - Fork 50
Update Kimi-K2.md by adding '-dcp 8' and corresponding bench #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+29
−1
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ A sample launch command is: | |
# start ray on node 0 and node 1 | ||
|
||
# node 0: | ||
vllm serve moonshotai/Kimi-K2-Instruct --trust-remote-code --tokenizer-mode auto --tensor-parallel-size 8 --pipeline-parallel-size 2 --dtype bfloat16 --quantization fp8 --max-model-len 2048 --max-num-seqs 1 --max-num-batched-tokens 1024 --enable-chunked-prefill --disable-log-requests --kv-cache-dtype fp8 | ||
vllm serve moonshotai/Kimi-K2-Instruct --trust-remote-code --tokenizer-mode auto --tensor-parallel-size 8 --pipeline-parallel-size 2 --dtype bfloat16 --quantization fp8 --max-model-len 2048 --max-num-seqs 1 --max-num-batched-tokens 1024 --enable-chunked-prefill --disable-log-requests --kv-cache-dtype fp8 -dcp 8 | ||
``` | ||
|
||
Key parameter notes: | ||
|
@@ -142,4 +142,32 @@ Mean ITL (ms): 58.15 | |
Median ITL (ms): 54.59 | ||
P99 ITL (ms): 91.18 | ||
================================================== | ||
``` | ||
|
||
After adding '-dcp 8': | ||
```bash | ||
============ Serving Benchmark Result ============ | ||
Successful requests: 16 | ||
Request rate configured (RPS): 10000.00 | ||
Benchmark duration (s): 47.14 | ||
Total input tokens: 128000 | ||
Total generated tokens: 16000 | ||
Request throughput (req/s): 0.34 | ||
Output token throughput (tok/s): 339.38 | ||
Peak output token throughput (tok/s): 384.00 | ||
Peak concurrent requests: 16.00 | ||
Total Token throughput (tok/s): 3054.46 | ||
---------------Time to First Token---------------- | ||
Mean TTFT (ms): 2007.87 | ||
Median TTFT (ms): 1932.03 | ||
P99 TTFT (ms): 4680.76 | ||
-----Time per Output Token (excl. 1st token)------ | ||
Mean TPOT (ms): 45.01 | ||
Median TPOT (ms): 45.10 | ||
P99 TPOT (ms): 46.51 | ||
---------------Inter-token Latency---------------- | ||
Mean ITL (ms): 45.01 | ||
Median ITL (ms): 42.01 | ||
P99 ITL (ms): 52.01 | ||
================================================== | ||
``` | ||
Comment on lines
+147
to
173
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for adding the benchmark results. To make this section clearer and more consistent with the rest of the document, please consider the following improvements:
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
-dcp 8
parameter has been added to the command, but it's not a standardvllm
argument and isn't explained in this document. To help users understand how to use this configuration, please add a description of what-dcp
does to the "Key parameter notes" section.