Repository navigation
Commit ec3bca6
Address review: extend window test to MTP graph, clarify tiny-config comment
Independent review flagged two non-blocking nits:
- test_sliding_window_sets_local_window_size_on_fused_gqa_regardless_of_compress_ratio
only exercised the backbone model graph; the MTP sidecar's identical
sliding_window wiring (DeepSeekV4Mtp.__init__/forward) had no test
coverage even though it was independently hand-verified correct.
Extended the test to also build the mtp sidecar and assert its single
GroupQueryAttention node carries local_window_size=8.
- tests/_test_configs.py's comment on the new sliding_window=8 tiny-config
field overstated that it was 'exercised end-to-end by the existing
synthetic-parity/build-graph/weight-alignment suites' -- those suites
either don't execute a forward pass at all, or currently skip
deepseek_v4 for an unrelated pre-existing reason. Corrected the comment
to accurately attribute numeric coverage to deepseek_v4_flash_test.py's
dedicated window tests instead.
Re-verified: both nit fixes verified to fail pre-fix (checked out
deepseek_v4.py at 059bf5f) and pass post-fix; full targeted suite
(deepseek_v4_flash_test.py 16/16, deepseek_v4_test.py + model_coverage_test.py
727 passed/218 pre-existing skips) re-run clean; ruff check + ruff format
clean.
Co-authored-by: Copilot <[email protected]>1 parent 6f5696d commit ec3bca6
2 files changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
212 | 216 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
217 | 228 | | |
218 | 229 | | |
219 | 230 | | |
220 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
221 | 236 | | |
222 | 237 | | |
223 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
728 | 733 | | |
729 | 734 | | |
730 | 735 | | |
| |||
0 commit comments