Commit Graph

2 Commits

Author SHA1 Message Date
Cao Ying 0a9bf1e40a
[Chore][Cleanup] repo slimming: dead code, duplicated tests/benches, compat shims, file defragmentation (#1764)
Closes #1763

## Summary

- Remove dead helpers, redundant elementwise benchmark drivers,
decorative banners, and stale compatibility aliases.
- Consolidate duplicated tests and private benchmark wrappers onto
shared parametrized fixtures and `ManifestBenchmark`.
- Merge fragmented workload, reduction-op, MHC, and normalization
benchmark modules; retarget imports and manifest source paths.
- Preserve canonical runtime behavior while reducing the repository by
roughly 4.3k net lines.

## Test plan

- [x] pre-commit passed
- [x] `python scripts/validate_manifest.py --strict` passed
- [x] Repository-wide pytest collection completed: 5,178 tests, 0
collection errors
- [x] Touched test and benchmark modules collect cleanly

---------

Co-authored-by: Ibuki 🍃 — a wind born from GPTs <Ibuki-wind@users.noreply.github.com>
2026-07-26 12:59:48 +08:00
Cao Ying 0451c058a9
[Chore][Release] merge testbed into main: op-family alignment + new ops (#1380)
## Summary
Merge 27 commits accumulated on `testbed` into `main`. Covers
manifest-spec alignment for the elementwise (unary/binary/multi-input),
reduction, and normalization families; new ops (LerpTensorFwd,
Reciprocal, fused tanh-GELU, InstanceNormFwdOpNoAffine,
GroupNorm/InstanceNorm no-affine variants); shared dispatch/refactor
cleanup; and supporting manifest DSL (`promote_int_to_float`), tests,
and process docs.

## Highlights
- **Family alignment to manifest spec**: elementwise_unary_activation
(#1211), elementwise_binary (#1222), elementwise_multi_input (#1229),
reduction (#1235), normalization (#1240).
- **New ops / variants**: LerpTensorFwd (#1264), Reciprocal +
`promote_int_to_float` DSL (#1252), fused tanh-GELU (#1262),
GroupNorm/InstanceNorm no-affine (#1274, #1284),
InstanceNormFwdOpNoAffine running-stats (#1375).
- **Refactors**: activation shared bases (#1230), dispatch_kernel
routing (#1260, #1368), normalization hotfix cleanup (#1256),
elementwise_binary torch-fallback removal (#1248).
- **Tests / docs**: manifest-driven L1 parity for elementwise_binary
(#1370), drop manifest-mirror tests (#1374), FLIP_STATUS carve-out
(#1258), spec-only -> implemented promotion rule (#1271).

## Test plan
- [ ] CI green on the PR branch
- [ ] \`make test\` passes locally
- [ ] Manifest validator and strict-parity gates pass

---------

Co-authored-by: Ibuki 🍃 — a wind born from GPTs <Ibuki-wind@users.noreply.github.com>
2026-05-09 00:03:37 +08:00