Skip to content

Drop support for PyTorch < 2.6 - #700

Open
matthewdcong wants to merge 1 commit into
openvdb:mainfrom
matthewdcong:drop_old_pytorch_support
Open

Drop support for PyTorch < 2.6#700
matthewdcong wants to merge 1 commit into
openvdb:mainfrom
matthewdcong:drop_old_pytorch_support

Conversation

@matthewdcong

Copy link
Copy Markdown
Contributor

PyTorch 2.6 was released in January 2025 and introduced maps for strings <-> dtypes and a Python typecaster for dtypes. This PR removes the compatibility wrappers necessary for PyTorch versions prior to that thus dropping support for PyTorch < 2.6.

Note that our pyproject.toml already requires torch >= 2.8 and the latest PyTorch version is 2.13.

@matthewdcong
matthewdcong requested a review from a team as a code owner July 23, 2026 00:31
@matthewdcong
matthewdcong requested review from fwilliams and swahtz July 23, 2026 00:31
@matthewdcong
matthewdcong force-pushed the drop_old_pytorch_support branch from efe01ae to de2f2a8 Compare July 23, 2026 00:32
Signed-off-by: Matthew Cong <mcong@nvidia.com>
@matthewdcong
matthewdcong force-pushed the drop_old_pytorch_support branch from de2f2a8 to e77614b Compare July 23, 2026 04:31

@swahtz swahtz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I'm always happy to remove code and dropping support for versions older than 2.6 seems reasonable to me. Thanks!

@harrism

harrism commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Do any docs need to be updated? And fvdb-reality-capture?

@swahtz swahtz added this to the v0.6 milestone Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants