google / google/torchax

torch named tensors API (Dimname etc.) incompatible with torch >= 2.13

Open
#101 1 comment 1 reaction 1 assignee Claimed by @juicyzhou View on GitHub
Dominant language
Python
Stars
243
Forks
38
Avg merge
15h 32m
Merged PRs (30d)
2

Description

PyTorch 2.13.0, released 2026-07-08, removed named tensors (PR #173895), deleting the Dimname overloads , including aten.prod.dim_Dimname.

torchax's amp.py still references that overload in a module-level CastPolicy dict at import time, so importing torchax with a newer PyTorch version crashes.

https://github.com/pytorch/pytorch/pull/173895

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.