Repository navigation
Commit f57f294
Fix Bamba synthetic parity CI tolerance (#476)
## Summary
- add a Bamba-specific `atol=0.002` override for L3 synthetic parity
- document the stable hybrid Mamba2/attention floating-point
accumulation difference
- preserve the existing argmax and cosine correctness gates
## Root cause
Both deterministic Bamba seeds exceed the generic `1e-3` threshold under
the CI dependency set:
| Seed | Max abs diff | Cosine | Argmax |
|---|---:|---:|---|
| 0 | 0.001375 | 0.999997 | match |
| 1 | 0.001662 | 0.999996 | match |
The same failures occur on unrelated PRs, confirming this is a baseline
tolerance issue rather than a model change regression.
## Validation
- `pytest tests/synthetic_parity_test.py -q --models bamba --tb=short`:
`2 passed, 201 skipped`
- reproduced the exact CI failures before the change
Signed-off-by: justinchuby <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent 78437cd commit f57f294
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
0 commit comments