Repository navigation
Commit c3d3d0d
Check layouts of module-state outputs across slot branches
Outputs that view module parameters or buffers stay in the module's storage, and the branch
family check skipped them, so branches of one slot could return such views with different
shapes or strides although _graph_memory_slots requires identical output layouts. They are
now compared like arena outputs; only their storage may differ. The docstring states that
exception, and the layout-rejection test adds a module-state case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tailai Ma <tailaim@nvidia.com>1 parent 6282d0d commit c3d3d0d
2 files changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3730 | 3730 | | |
3731 | 3731 | | |
3732 | 3732 | | |
3733 | | - | |
| 3733 | + | |
3734 | 3734 | | |
3735 | | - | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
3736 | 3739 | | |
3737 | 3740 | | |
3738 | 3741 | | |
3739 | 3742 | | |
3740 | 3743 | | |
| 3744 | + | |
3741 | 3745 | | |
3742 | 3746 | | |
3743 | 3747 | | |
3744 | 3748 | | |
3745 | | - | |
3746 | | - | |
3747 | | - | |
3748 | | - | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
3749 | 3753 | | |
3750 | 3754 | | |
3751 | 3755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
1848 | | - | |
1849 | | - | |
1850 | | - | |
| 1848 | + | |
| 1849 | + | |
1851 | 1850 | | |
1852 | 1851 | | |
1853 | 1852 | | |
| |||
3382 | 3381 | | |
3383 | 3382 | | |
3384 | 3383 | | |
3385 | | - | |
| 3384 | + | |
| 3385 | + | |
3386 | 3386 | | |
3387 | 3387 | | |
3388 | 3388 | | |
| |||
0 commit comments