Repository navigation
Commit da11fe5
test(mm-routing): predownload the pinned GLM revision
Review follow-up on 97296c2.
The shared predownload fetched the checkpoint's default branch before it
turned on HF_HUB_OFFLINE. Once that branch moves past the pinned
revision, a clean runner would not find the pinned snapshot. The model
mark now takes revision=: pytest_collection_modifyitems records it as
repo_id@revision and download_models fetches that revision. The GLM
module passes its pin and only looks the snapshot up in the cache.
In the multi-image test, AC_cold must now also match more blocks than
the text-only prompt fills. The old [A repeat - 1, A repeat] bound
accepted zero when the A repeat matched a single block, as it does at
GB200's 4352-token vLLM block, so losing the first image's cached blocks
would have passed.
_send now returns a RequestObservation and checks the worker's expansion
against the router's block count before returning. That removes the
tuple unpacking and the per-test expansion calls.
Signed-off-by: Fang Han <fangh@nvidia.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 97296c2 commit da11fe5
2 files changed
Lines changed: 169 additions & 196 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| 467 | + | |
| 468 | + | |
467 | 469 | | |
468 | 470 | | |
469 | 471 | | |
| |||
490 | 492 | | |
491 | 493 | | |
492 | 494 | | |
| 495 | + | |
493 | 496 | | |
494 | 497 | | |
495 | 498 | | |
| |||
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
510 | | - | |
| 513 | + | |
| 514 | + | |
511 | 515 | | |
512 | 516 | | |
513 | 517 | | |
514 | 518 | | |
515 | 519 | | |
516 | | - | |
| 520 | + | |
| 521 | + | |
517 | 522 | | |
518 | 523 | | |
519 | 524 | | |
| |||
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
790 | 798 | | |
791 | | - | |
| 799 | + | |
792 | 800 | | |
793 | 801 | | |
794 | 802 | | |
| |||
0 commit comments