[Task] INT4 QAT Support - #8
Conversation
Add INT4 Quantization-Aware Training (QAT) support for MoE expert linear layers. - Add int4_qat CUDA kernels (fake quantization/dequantization) - Add CLI arguments: --enable-int4-qat, --int4-qat-group-size, --int4-qat-filter-regex - Add QAT setup in training_utils.py pretrain loop - Update Dockerfile to install int4_qat package - Update .gitignore for int4_qat build artifacts
|
Could you provide more details about the current test results? |
|
@claude review this PR |
|
Claude finished @nullnonenilNULL's task in 3m 14s —— View job PR Review: [Task] INT4 QAT SupportTasks
Verdict: 🟠 Request ChangesSummary: The INT4 QAT implementation is well-structured with solid CUDA kernels, a fused fast path, and a clean STE-based weight-transform approach. The main concerns are: a correctness bug in the asymmetric STE path (gradient is returned for the wrong dtype), a missing Tests: Unit tests are thorough and cover symmetric, asymmetric, bfloat16, fused, and STE paths. The Checklist
Findings🔴 Critical —
|
…refresh docs(readme): add architecture diagram and Architecture section
Add INT4 Quantization-Aware Training (QAT) support for MoE expert linear layers.
Resolves #12