Skip to content
Topic

Low-precision training

FP8, MXFP and quantization-aware training.

Kind
category

Opportunities

13 concerning this

Contribute · 4open tab →

Good first issuetorchao#122464

[QAT] Low-bit FSDP all-gather for QAT

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 -…

good first issuefiled by a maintainer
Good first issuetorchao#192063

Accelerate activation sparsity with activation compression

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…

good first issue
Good first issuetorchao#386351

Resolve doc build warnings

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:…

good first issue
Good first issuetorchao#236750

TorchAO ROCM tests are taking a long time

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…

good first issueuntouched

Review · 4open tab →

RFC / designtorchao#494918

RFC: Updated TFMOT-compatible 2:4 for Linear and Conv2d

Status: Proposed Updates: Author: Elena Zhelezina, Arm Ltd Summary This RFC proposes adding a TorchAO workflow for TFMOT-style 2:4 structured pruning of nn.Linear and nn.Conv2d . The user workflow is: text pretrained dense model v prepare 2:4 masks v fine-tune normally v remove…

open RFC

Signals · 5open tab →

Recurring pain

“memory leak” in open issues of 18 projects

18 projects28 open issues
Recurring pain

“silently skips” in open issues of 10 projects

10 projects12 open issues
Recurring pain

“nan inf” in open issues of 9 projects

9 projects10 open issues

Parent

1
  • Frameworks and libraries for pre-training and post-training.

Tagged

2
  • FP8 and FP4 acceleration for Transformer models on NVIDIA GPUs.

  • torchao★ 3.0k

    PyTorch-native quantization and sparsity for training and inference.