Skip to content

PyTorch 2.6.0 #1380

Closed
Closed

Description

@manuelgloeckler

Describe the bug
Currently, some tests and pyright type checks will throw some errors on the new release.

Expected behavior
Most things should work on the new release of torch but there were a few breaking changes which we have to adapt (and might would require minimal pytorch version adjustments)

Activity

  1. added
    bug
    on Jan 28, 2025
  2. linked a pull request that will close this issue1380 pytorch 260 #1382on Jan 30, 2025
  3. matthewfeickert commented on Dec 12, 2025

    @matthewfeickert
    Contributor

    Is there any status on this moving forward? Having upper bounds on library dependencies

    "torch>=1.13.0, <2.6.0",

    is disruptive and guarantees future breakage.

  4. manuelgloeckler commented on Feb 17, 2026

    @manuelgloeckler
    ContributorAuthor

    Agree! I just checked, I think the pyright/torch people have fixed the previous issue by now (at least on most recent version).

  5. manuelgloeckler commented on Feb 27, 2026

    @manuelgloeckler
    ContributorAuthor

    Non fixable, hence pyright errors of this type are ignored i.e. in #1768 pytroch upper bound removed

  6. psteinb commented on Mar 6, 2026

    @psteinb
    Collaborator

    @janfb if the requirement torch<2.6.0 in pyproject.toml is removed, then sbi should be updated on pypi too, right?

  7. manuelgloeckler commented on Mar 12, 2026

    @manuelgloeckler
    ContributorAuthor

    @psteinb We are currently working on the next release which will fix this (i.e. within the next week or so).

  8. psteinb commented on Mar 13, 2026

    @psteinb
    Collaborator
  9. manuelgloeckler commented on Mar 13, 2026

    @manuelgloeckler
    ContributorAuthor

    Mhh, I think what we currently still want to finish is #1752 , #1758 and this bug #1803 should also be fixed. Although, these are all assigned already to contributors.

  10. matthewfeickert commented on Mar 29, 2026

    @matthewfeickert
    Contributor

    Seems that now only PR #1758 remains. 👍

  11. manuelgloeckler commented on Apr 2, 2026

    @manuelgloeckler
    ContributorAuthor

    Yeah @matthewfeickert , did take a bit longer than expected. But should now get only any moment i.e. see #1718 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions