FlagTensor Acceptance Checklist#
This checklist tracks the current compliance status against the operator library acceptance standards.
Structure & Organization#
Item |
Status |
Notes |
|---|---|---|
Unified operator registry exists |
Done |
|
Registry is CI/weekly/entry point |
Done |
|
|
Done |
Category-based organization: |
Benchmark dtype coverage |
Done |
float16, float32 per |
Correctness dtype coverage |
Done |
float16, float32, bfloat16 per |
Benchmark shape coverage |
Done |
unary/binary: 22 shapes (14 1D pow2 + 8 multi-dimensional); contraction: 4 shape pairs; sparse: 3 shape pairs |
|
Done |
All four categories: |
Pre-commit configuration exists |
Done |
|
pyproject.toml has tool configs |
Done |
black, isort, flake8, pytest markers |
Testing Framework#
Item |
Status |
Notes |
|---|---|---|
Pytest-based correctness tests |
Done |
|
Shared tolerance/assertion helpers |
Done |
centralized in |
|
Done |
Re-exports from |
Dtype-aware tolerance policy |
Done |
float16, float32, bfloat16 |
Reference selection documented |
Done |
|
Shape coverage policy documented |
Done |
|
Performance Testing#
Item |
Status |
Notes |
|---|---|---|
Benchmark against cuTensor baselines |
Done |
Existing benchmark suite |
Kernel/operator/wrapper modes defined |
Done |
|
Smoke vs full run distinction |
Done |
|
Warmup/repetition/timing standards |
Done |
Consolidated in |
Mode-aware CSV selection |
Done |
|
HTML/XLSX report generation |
Done |
HTML report tooling exists; XLSX output via |
CI/CD & Automation#
Item |
Status |
Notes |
|---|---|---|
Correctness CI job |
Done |
|
Performance CI job |
Done |
|
Weekly regression workflow |
Done |
|
Quality gate (pre-commit) |
Done |
|
Registry consistency check |
Done |
|
Build/package check |
Done |
|
Artifact upload and summary |
Done |
Artifacts + GITHUB_STEP_SUMMARY in CI |
Acceptance-level CI workflow |
Done |
|
CI matrix documentation |
Done |
|
Release/publish workflow |
Done |
|
Multi-backend compatibility CI |
Done |
|
Documentation & Release#
Item |
Status |
Notes |
|---|---|---|
README with usage examples |
Done |
|
Testing strategy document |
Done |
|
Benchmark strategy document |
Done |
|
Acceptance checklist |
Done |
This file |
Operator coverage matrix |
Done |
|
FlagTensor-specific accuracy/benchmark policies exist |
Done |
|
Known issues list |
Done |
|
Standard acceptance commands |
Done |
|
Release note template |
Done |
|
Known Issues#
All previously documented issues have been resolved:
expandlog: float64 fallback removed — float64 is no longer a supported dtype.tensor_contraction_trinary: float64 path removed; operator supports float16/float32 only.block_sparse_tensor_contractionfloat16: Fixed via dense fallback routing; float16 tests now active.