Skip to content

Clean | Remove timm dependency #3637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Totoro97
Copy link

I searched the codebase and found that timm is actually not used. It seems this dependency was introduced in the following PR: #2284. However, I couldn’t find any place where timm is actually referenced 🤔

One reason I’d like to remove this dependency is that I need to install another package that also requires timm, but with a much higher version, which leads to a version conflict.

@akristoffersen akristoffersen self-requested a review April 21, 2025 03:43
Copy link
Contributor

@akristoffersen akristoffersen left a comment

Choose a reason for hiding this comment

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

Nice catch. I think you might also need to update the pixi files as well?

@Totoro97
Copy link
Author

@akristoffersen Thank for your the review! There is no timm in pixi.toml in main branch 💭

@akristoffersen
Copy link
Contributor

ah sorry, I meant pixi.lock , I think you can regenerate it with pixi install

@lowjunen
Copy link

+1 here. Trying to use this with the huggingface transformers package and that uses a later version of timm.

Copy link
Collaborator

@kerrj kerrj left a comment

Choose a reason for hiding this comment

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

also looks good to me! Didn't realize timm is never used inside the repo, oops

@kerrj kerrj dismissed akristoffersen’s stale review May 12, 2025 17:32

addressed pixi depenency above

Copy link
Collaborator

@kerrj kerrj left a comment

Choose a reason for hiding this comment

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

Ah sorry I misunderstood, Alex is right that pixi.lock needs to be regenerated.

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.

4 participants