Commit 00c6d69
committed
Retire a test assertion whose implementation we deliberately replaced
test_dspark_sequential_sampling_writes_persistent_draft_logits called
DSparkSpeculator.clear_runtime_draft_logits, which no longer exists, and the
fixture missed enable_adaptive_verification because object.__new__ skips
__init__.
The missing method is not a lost fix -- I first read it that way and was wrong.
fbbc8e7 added a reuse-and-clear scheme (assign base_logits into draft_logits,
clear it afterwards); 7d9970d replaced that six days later with a persistent
preallocated buffer, because DSpark drafting is CUDA-graph replayed and a
Python-side reassignment does not run per replay. The clearing call became a
`pass` and was later deleted. Restoring it would reintroduce something removed
for cause.
So the invariant is still worth asserting -- the draft-logits buffer must never
be replaced -- but it has to be checked against something that still exists. The
test now runs a second sampling pass and asserts buffer identity across it.
Both this and the three test_mtp failures were red at 67f5de5 as well as at
the merge head, so neither came from the 08-13 merge. What the merge did was
move this one's failure to a later line, which is what made it visible.
Remaining in tests/v1/spec_decode: test_dflash_drafter_window_reserves_bonus_token,
whose fix is upstream vllm-project#51256 -- in the sixteen commits not yet merged.1 parent 92f7627 commit 00c6d69
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
153 | 158 | | |
154 | 159 | | |
155 | 160 | | |
| |||
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
225 | 237 | | |
226 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
227 | 243 | | |
0 commit comments