Had this idea and discussed briefly with @andrewor14. Conceptually the current QAT + FSDP looks like this - sharded FP32 weight - all-gather in BF16 - fake quantize However, we can do low-bit all-gather, since the weight can be quantized before all-gather - sharded FP32 weight -…
We've come up with a training recipe for 2:4 activation sparsity, which is outlined in this paper: The gist of this approach is that: 1) we find high level of activation sparsity ( 85%) when training SquaredRELU based FFNs instead of SwiGLU FFNs. These Squared-RELU based FFNs…
in docs/ make html /data/users/jerryzh/ao/docs/source/api reference/api ref float8.rst:10: WARNING: Title underline too short. Main float8 training APIs ---------------------- /data/users/jerryzh/ao/docs/source/api reference/api ref qat.rst:10: ERROR: Unknown target name:…
We recently had to increase the timeout period for ROCM to 2.5 hours, up from 2 hours because we started timing out. I did an analysis of the top 100 longest tests, would be good for someone to go through and identify ones to cut. note: cases like test int8 dynamic quant…
Motivation torchao applies quantization through three different "carriers" — the object level at which a transform mutates the model — but they are not unified: Carrier Code shape Examples --- --- --- module swap module-replacement classes with paired from linear / to linear QAT…
Summary and scope OSFP4 jointly optimizes diagonal smoothing and NVFP4 block scales. This RFC proposes upstreaming the existing OSFP4 modifier into LLM Compressor (LLMC), including calibration, checkpoint export, examples, and tests. Part 1 proposes the LLMC integration,…
(see @HDCharles comment below, the task has been altered pray i do not alter it further ) [RFC] Reasoning-Aware Compression (RAC): on-policy CoT calibration for reasoning models Summary Add first-class support for Reasoning-Aware Compression (RAC) — calibrating compression on…
RFC: Sequential Pipeline Calibration Performance Looking for feedback on the following ideas for better performance in LLM-Compressor Motivation This RFC proposes a collection of performance improvements to the sequential calibration pipeline (…