-
Notifications
You must be signed in to change notification settings - Fork 160
test(ci): add DeepSeek-V4-Flash MTP AIME25 eval #461
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
Open
dongjiyingdjy
wants to merge
2
commits into
main
Choose a base branch
from
ci/deepseek-v4-mtp-aime25
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+60
−0
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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 |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| api_version: ci.tokenspeed.io/v1 | ||
| name: eval-deepseek-v4-flash-mtp-aime25 | ||
| type: eval | ||
| triggers: | ||
| - per-commit | ||
| - manual | ||
| runner: | ||
| labels: | ||
| - b200-4gpu | ||
| env: | ||
| CI: "true" | ||
| install: | ||
| - bash test/ci_system/install_deps.sh | ||
| server: | ||
| command: >- | ||
| ts serve | ||
| --load-format instanttensor | ||
| --model deepseek-ai/DeepSeek-V4-Flash | ||
| --tensor-parallel-size 4 | ||
| --enable-expert-parallel | ||
| --kv-cache-dtype fp8_e4m3 | ||
| --moe-backend mega_moe | ||
| --attention-use-fp4-indexer-cache | ||
| --max-model-len 80000 | ||
| --max-total-tokens 163840 | ||
| --chunked-prefill-size 8192 | ||
| --gpu-memory-utilization 0.9 | ||
| --disable-kvstore | ||
| --speculative-algorithm MTP | ||
| --speculative-num-steps 3 | ||
| --disable-overlap-schedule | ||
| --no-enable-prefix-caching | ||
| --trust-remote-code | ||
| --host 127.0.0.1 | ||
| --port 8000 | ||
| ready: | ||
| url: http://127.0.0.1:8000/readiness | ||
| timeout: 1800 | ||
| interval: 10 | ||
| eval: | ||
| install: | ||
| - python3 -m uv venv --seed --clear /tmp/evalscope-perf && python3 -m uv pip install --python /tmp/evalscope-perf/bin/python 'evalscope[perf]' | ||
| # AIME25 needs thinking mode on (reasoning_effort=high) for V4-Flash to reach | ||
| # ~0.96; reasoning chains run up to max_tokens=65536. MTP speculative decode | ||
| # keeps tokens flowing fast (like Kimi's EAGLE3), so eval-batch-size 16 is | ||
| # viable here without the long-stream read-timeout stalls the non-MTP config | ||
| # hits at 16. timeout=3600 guards the longest single-request streams. | ||
| command: >- | ||
| python3 -c "import urllib.request,json;urllib.request.urlopen(urllib.request.Request('http://127.0.0.1:8000/v1/completions',json.dumps({'model':'deepseek-ai/DeepSeek-V4-Flash','prompt':' '.join(['hello']*300),'max_tokens':2}).encode(),{'Content-Type':'application/json'}),timeout=120).read()" && | ||
| /tmp/evalscope-perf/bin/evalscope eval | ||
| --model deepseek-ai/DeepSeek-V4-Flash | ||
| --api-url http://127.0.0.1:8000/v1 | ||
| --api-key EMPTY_TOKEN | ||
| --datasets aime25 | ||
| --eval-batch-size 16 | ||
| --stream | ||
| --generation-config '{"do_sample":false,"temperature":0.0,"max_tokens":65536,"timeout":3600,"extra_body":{"chat_template_kwargs":{"reasoning_effort":"high","thinking":true}}}' | ||
| report: | ||
| github_step_summary: true | ||
| score_threshold: 0.93 | ||
Oops, something went wrong.
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.
In this
ts servepath,--load-formatis routed to the engine because it is aprepare_server_argsflag, and the engine argparse choices inpython/tokenspeed/runtime/utils/server_args.pyonly allowauto,pt,safetensors,npcache,dummy, orextensible(also documented indocs/configuration/server.md). Withinstanttensorhere, the new per-commit eval exits during argument parsing before the readiness probe can ever pass, so the CI job is unusable unless this is changed to a supported format or support is added first.Useful? React with 👍 / 👎.