Skip to content

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

Description

@ocramz

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.

pytorch/pytorch#173895

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions