Skip to content
Project

torchao

PyTorch-native quantization and sparsity for training and inference.

Stars
3.0k
Forks
698
Open issues
882
Latest release
v0.18.0
License
NOASSERTION
Language
Python
Stars
latest
3.0k▲ 39
Forks
latest
698▲ 55
Open issues + PRs
latest
882▲ 82
Merged PRs (30d)
latest
28▲ 19
PR authors (90d)
latest
21▲ 15
Releases (365d)
latest
4▼ 1

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
4 good first issue
Merged PRs (30d)
28
Release cadence
4 in 365 daysmedian 48 days apart

GitHub community profile 62% · code of conduct. Maintainer response time is not collected yet.

Top ranked issues

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

Demand: 2 reactions, 4 comments · Maintainer engagement: 28 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: labelled as a starter issue · Freshness: updated 161 days ago

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

Demand: 1 reactions, 10 comments · Maintainer engagement: 28 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 80 days ago

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

Demand: 0 reactions, 3 comments · Maintainer engagement: 28 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 160 days ago

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

Demand: 0 reactions, 2 comments · Maintainer engagement: 28 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 161 days ago

Opportunities

8 concerning this

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 · 4open tab →

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
Recurring pain

“always fails” in open issues of 8 projects

8 projects10 open issues

Maintainers

1

Top contributors

16

Releases & tracking issues

17