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

Replace deprecated transformers.deepspeed module #872

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

HollowMan6
Copy link
Contributor

Fix the following warning:

venv/lib/python3.10/site-packages/transformers/deepspeed.py:23: FutureWarning: 
transformers.deepspeed module is deprecated and will be removed in a future version. 
Please import deepspeed modules directly from transformers.integrations
  warnings.warn(

venv/lib/python3.10/site-packages/transformers/deepspeed.py:23:
FutureWarning: transformers.deepspeed module is deprecated and
will be removed in a future version. Please import deepspeed
modules directly from transformers.integrations
  warnings.warn(

Signed-off-by: Songlin Jiang <[email protected]>
@loadams
Copy link
Contributor

loadams commented Oct 29, 2024

Hi @HollowMan6 - thanks, this was something we meant to get to and they finally released the versions that deprecated it.

@loadams loadams merged commit cab3361 into microsoft:master Oct 29, 2024
2 checks passed
@HollowMan6 HollowMan6 deleted the deprecation branch October 30, 2024 06:57
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.

2 participants