Commit 5d3d111
committed
[Spec Decode] DSpark confidence-scheduled verification
Implement host-side confidence scheduling for DSpark with automatically selected compact or masked verification, request-conditioned SPS profiling, and online temperature calibration.
Centralize scheduling and batch transformation in ConfidenceManager, use a fixed two-slot pinned-host copy ring, fuse compact batch rewrites, and keep shared model-runner and warmup hooks minimal.
Validated with focused CUDA tests, a GPU-sync-checked serving probe, GSM8K, and a 25-cell natural-EOS throughput matrix.
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>1 parent 8347c6e commit 5d3d111
36 files changed
Lines changed: 2502 additions & 133 deletions
File tree
- tests
- evals/gsm8k/configs
- v1
- spec_decode
- worker
- vllm
- config
- engine
- model_executor
- layers
- models
- models/deepseek_v4
- nvidia
- utils
- v1
- attention
- backends
- mla
- worker
- gpu
- model_states
- spec_decode
- autoregressive
- dflash
- dspark
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
1575 | 1631 | | |
1576 | 1632 | | |
1577 | 1633 | | |
| |||
0 commit comments