Commit 3f2f542
Replace incorrect EVS fallback with explicit error
The fallback logic in iter_mm_grid_hw had several issues:
1. Token distribution inconsistency: Used uniform distribution
(total // t) instead of first-frame-full distribution used
by the processor
2. Incorrect offset calculation: Only counted video_pad tokens,
ignored timestamp and start/end tokens in the placeholder
3. Should never trigger: Processor always generates is_embed mask
Replace with RuntimeError to catch bugs early if mask is missing.
Based on code review feedback.
Co-Authored-By: deitxfge <[email protected]>1 parent 3fafdcd commit 3f2f542
1 file changed
+7
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1632 | 1632 | | |
1633 | 1633 | | |
1634 | 1634 | | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1639 | 1642 | | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | 1643 | | |
1649 | 1644 | | |
1650 | 1645 | | |
| |||
0 commit comments