Skip to content

Comments

Drop support pytorch 2.1 and 2.2#1059

Open
Luthaf wants to merge 1 commit intometatensor:v0.2.0from
Luthaf:drop-pytorch
Open

Drop support pytorch 2.1 and 2.2#1059
Luthaf wants to merge 1 commit intometatensor:v0.2.0from
Luthaf:drop-pytorch

Conversation

@Luthaf
Copy link
Member

@Luthaf Luthaf commented Feb 20, 2026

We already had to do it in metatomic for adding unconditional vesin support (metatensor/metatomic#159), and tests in #1058 are failing for torch 2.1. So let's also do it here.

@HaoZeke do we need to change something in dlpack integration as well?

Contributor (creator of pull-request) checklist

  • Tests updated (for new features and bugfixes)?
  • Documentation updated (for new features)?
  • Issue referenced (for PRs that solve an issue)?

Reviewer checklist

  • CHANGELOG updated with public API or any other important changes?

@HaoZeke
Copy link
Member

HaoZeke commented Feb 20, 2026

@HaoZeke do we need to change something in dlpack integration as well?

I'll rebase the v0.2.0 branch on main once this is merged so that should be OK. AFAIK it's bad until 2.9 though so probably not going to help.

Once ci is green this looks good, but there seem to be some spurious changes in the diff?

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.

2 participants