| Unified conformance test library (#434)
* Extract fusor conformance library
* Include mismatch position in conformance errors
* Remove remaining crate-local fusor tests
* Add missing conformance coverage
* Broaden conformance test coverage
* Use variable-size conformance fuzz shapes
* fix formatting
* fix tests
* larger fuzz ranges
* more tests
* better cpu parity
* fix clippy
* fix formatting
* fix clippy
* refactor: replace clippy #[allow] suppressions with real fixes
Bundle args into structs (FlushBatch, MmaParams, TileALoadCtx, TileBLoadCtx,
AttentionInputs, BertShape, QMatMulFuzz), introduce CompareFut type alias for
the conformance comparator return type, and rewrite needless_range_loop sites
in tests/common/mod.rs to use iter_mut().enumerate().
* chore: ignore .claude scheduler artifacts
* fix(conformance): skip f16 tests on GPU adapters without SHADER_F16
Linux CI's lavapipe adapter doesn't expose wgpu::Features::SHADER_F16, so
the f16 shader fails to validate. Filter the device list per test rather
than removing GPU coverage entirely — Mac Metal still runs the f16 path.
* fix(conformance): bump inverse-trig tolerance to 1e-4 for lavapipe parity
Linux CI's lavapipe adapter diverges from libm by ~6e-5 on asin/acos/atanh/acosh
near their domain edges. 1e-4 covers the observed gap without masking real
regressions; the macOS Metal adapter still passes comfortably.
* fix(conformance): bump inverse-trig tolerance to 1e-3 for lavapipe drift
First CI run showed asin diverging 5.6e-5; second run hit 2.1e-4 on a
different fuzz seed. lavapipe asin precision is limited near the asymptotes
where the derivative blows up. 1e-3 covers observed drift; algorithmic
regressions would diverge by orders of magnitude.
* fix transcribe example
* fix(conformance): stabilize CI edge cases
* fix(ci): avoid brittle benchmark formatter
* fix(conformance): cover Windows WARP tanh drift
* fix tanh
* more ci fixes
* more software gpu backend fixes
* looser bounds for trig
* relative tolerance
* more relative comparisons
* passing on warp | 28 天前 |