Repository navigation
server : functionality test for new spec dec - #31027
Conversation
…pec dec method the existing ones are not broken.
c8f0e13 to
00bfee9
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Hi, I've updated the PR description as per the guidelines. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Hmmm, can't really test this since PR is on a fork. |
So we need to merge it first? Is it possible to run this fork on Spark just for testing? |
Needs to be added to a branch here or in |
|
@CISC can you run the workflow and merge this PR. |
CI started |
Running the CI is not really effective #31027 (comment) |
Pushed the merge of the PR head with current master to tmp/spec-method-ci-tests and dispatched the workflow on the gb10 runner: https://github.com/ggml-org/llama.cpp/actions/runs/41854150865 Will merge once it is green, then delete the branch. |
|
@nv-vankit The gb10 run failed in Python setup with "source: not found": the runner executes steps with sh, where source does not exist, so the spec test never ran. I pushed a commit that runs the job steps with bash, and dispatched the workflow again on the merge with master: https://github.com/ggml-org/llama.cpp/actions/runs/41857393758 |
|
It fails with an acceptance rate assertion error: https://github.com/ggml-org/llama.cpp/actions/runs/41857393758/job/126669595711#step:7:6411 Could you check whether the predefined acceptance rate is correct? If the failure is due to normal variation, could we relax the assertion tolerance to ±0.02? @nv-vankit |
±0.02 would be tighter than the current 0.03 margin, and the shifts are larger than that. I ran mtp and eagle3 on an RTX PRO 6000, greedy and reproducible across runs:
On the same GPU, master accepts more than the PR base, so this is not a regression. The PR base already fails eagle3 there: changing the GPU alone moves eagle3 by about 4 points, and master moves it by about 5 more. @nv-vankit Please recalibrate on the current gb10 runner with current master, with a margin wide enough to absorb these shifts, so the test catches a broken method rather than rounding changes. |
|
@ServeurpersoCom I attempted to dispatch two more identical GB10 calibration runs for merge SHA |
@nv-vankit Dispatched two more runs on 155d09a: https://github.com/ggml-org/llama.cpp/actions/runs/42009637091 and https://github.com/ggml-org/llama.cpp/actions/runs/42009644825 |
|
Recalibrated the compact one-sided floors in a14de5b from the three identical GB10/current-master runs. The fixed floors are MTP |
a14de5b + master: https://github.com/ggml-org/llama.cpp/actions/runs/42031637877 |
|
Green with the new floors |
So we can merge it now? |
* server : functionality test to make sure every time when we add new spec dec method the existing ones are not broken. * server: use compact models for speculative decoding CI * ci: avoid GHA cache for speculative models * ci: run speculative tests on DGX Spark * server: address speculative test review * server: use consolidated speculative models * server: refine speculative test calibration * docs: record speculative Spark validation * ci : run the server-speculative steps with bash * server: recalibrate speculative test floors on GB10 --------- Co-authored-by: Pascal <[email protected]>
Overview
This PR adds regression tests for six speculative-decoding methods: MTP, DFlash, DSpark, EAGLE-3, DFlash2, and LiLiCorr. Tests verify completion, drafting, verification, acceptance rate, and acceptance length.
Models are pinned to
ggml-org/spec-for-testing-GGUFrevisiona0736c8e98d3fe580352dacffa3fbd5e9c22a437.The compact-tier metrics were reproduced in three identical GB10 runs against the PR merged with current master. Its one-sided floors use a six-percentage-point rate margin and a 0.2-token length margin. DFlash2 and LiLiCorr were validated separately on DGX Spark for nightly coverage.
Additional information
The workflow runs manually on the dedicated DGX Spark runner and uses persistent model storage instead of GitHub Actions cache.
Requirements
Assisted by GPT 5.6