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

feat(basemodel.py): Remove unused import that harms compatibility #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

2catycm
Copy link

@2catycm 2catycm commented Dec 3, 2024

removed from transformers.deepspeed import deepspeed_config, is_deepspeed_zero3_enabled since in the latest version like 4.46.3 will raise ModuleNotFoundError: No module named 'transformers.deepspeed causing running bugs.

And it is totally not used by opendelta.

Not only not used in basemodel.py, the entire project didn't use this two symbols, so we can safely removed it and greatly enhance the usability of this library.

removed `transformers.deepspeed` since in the latest version like 4.46.3 will raise `ModuleNotFoundError: No module named 'transformers.deepspeed` causing running bugs.

And it is totally not used by opendelta.
@2catycm
Copy link
Author

2catycm commented Dec 3, 2024

This solves issue #82

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.

1 participant