Skip to content
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

Reload Transformers imports #35508

Open
KareemMusleh opened this issue Jan 4, 2025 · 1 comment
Open

Reload Transformers imports #35508

KareemMusleh opened this issue Jan 4, 2025 · 1 comment
Labels
Feature request Request for a new feature

Comments

@KareemMusleh
Copy link

KareemMusleh commented Jan 4, 2025

Feature request

It would be nice to have a transformers.clear_import_cache() or any other way to reset the dynamic imports of transformers.

Motivation

Some people are having bugs after hacking on transformers 1, 2. Hacking on transformers seems to be supported

Your contribution

given some amount of guidance, I am willing to write a PR.

@KareemMusleh KareemMusleh added the Feature request Request for a new feature label Jan 4, 2025
@KareemMusleh
Copy link
Author

@ArthurZucker @SunMarc @Rocketknight1 This is a feature request/bug report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant