Commit 5581f38
committed
fix: add 'Using speculative decoding' log line for CI test assertions
Both test-speculative.sh and test-dflash.sh grep for 'Using speculative
decoding' in the server log to confirm the speculative path was activated.
This string was never emitted — the tests were checking a log line that
didn't exist, causing speculative-decoding and dflash-speculative-decoding
CI jobs to always fail on Test 1.
Fix: emit the exact expected log line:
- Standard spec: after draft model is loaded successfully
- DFlash spec: at generation dispatch in Server.swift
Server log now contains all strings the tests grep for:
✅ 'Draft model loaded successfully'
✅ 'Using speculative decoding'
✅ 'speculative decoding' (for test-speculative-eval.sh)1 parent b7dcd53 commit 5581f38
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
| 619 | + | |
619 | 620 | | |
620 | 621 | | |
621 | 622 | | |
| |||
1418 | 1419 | | |
1419 | 1420 | | |
1420 | 1421 | | |
| 1422 | + | |
1421 | 1423 | | |
1422 | 1424 | | |
1423 | 1425 | | |
| |||
0 commit comments