Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

timm package is old and causes dependency chain issues #116

Open

Description

@phazei

The timm package changed its imports from timm.models.layers to timm.layers, and a lot of other packages have updated but this package being behind while also be so widely used now causes dependency issues for many other packages that use it. Please update the dependencies and provide an updated version.

Activity

  1. phazei commented on Jul 30, 2025

    @phazei
    Author
    Installing collected packages: timm
      Attempting uninstall: timm
        Found existing installation: timm 0.6.13
        Uninstalling timm-0.6.13:
          Successfully uninstalled timm-0.6.13
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    groundingdino-py 0.4.0 requires supervision==0.6.0, but you have supervision 0.25.1 which is incompatible.
    torchscale 0.3.0 requires timm==0.6.13, but you have timm 1.0.19 which is incompatible.
    
  2. toxyy commented on Aug 20, 2025

    @toxyy

    Same error here.

  3. 304523475 commented on Sep 12, 2025

    @304523475

    torchscale 0.3.0 requires fairscale==0.4.0, but you have fairscale 0.4.13 which is incompatible.
    torchscale 0.3.0 requires timm==0.6.13, but you have timm 1.0.17 which is incompatible.

    我也是如此,实在是不好搞

  4. jww-csisd commented on Apr 9, 2026

    @jww-csisd

    As of 4/9/2026:

    torchscale 0.3.0 requires timm==0.6.13, but you have timm 1.0.17 which is incompatible

    open-clip-torch 3.3.0 requires timm>=1.0.17, but you have timm 0.6.13 which is incompatible.
    transparent-background 1.3.4 requires timm>=1.0.3, but you have timm 0.6.13 which is incompatible.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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