Skip to content

Bump torchao from 0.17.0 to 0.18.0 - #4167

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/torchao-0.18.0
Open

Bump torchao from 0.17.0 to 0.18.0#4167
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/torchao-0.18.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps torchao from 0.17.0 to 0.18.0.

Release notes

Sourced from torchao's releases.

v0.18.0

Highlights

NVFP4 training

NVFP4 for dense linears is now supported for training (prototype), implementing the recipe from Pretraining Large Language Models with NVFP4. This is a prototype feature and the API may change without notice. Hardening, MoE support, and torchtitan integration are planned.

Example usage:

import torch
from torchao.quantization import quantize_
from torchao.prototype.moe_training.nvfp4_training.nvfp4_training import (
    NVFP4TrainingConfig,
)
Blackwell (SM100+); bfloat16 model with Linear dims divisible by 128
model = model.cuda().bfloat16()
Replace nn.Linear with NVFP4Linear
quantize_(model, NVFP4TrainingConfig())
Train as usual
out = model(x)
out.sum().backward()

BC-Breaking / Deprecations

Minimum PyTorch version is now 2.11

Support for PyTorch older than 2.11 has been dropped from the code, and CI has moved to newer PyTorch versions.

Removed: v1 tensor-subclass / layout system

The deprecated v1 AffineQuantizedTensor stack and layout system have been fully removed, completing the migration to v2 tensor subclasses.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [torchao](https://github.com/pytorch/ao) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/pytorch/ao/releases)
- [Commits](pytorch/ao@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: torchao
  dependency-version: 0.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM python Pull requests that update python code labels Aug 10, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 10, 2026 05:02
@github-actions github-actions Bot removed the dependencies Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant