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

ModuleNotFoundError: No module named 'transformers.deepspeed',已经安装了transformers和deepspeed #295

Open
xiangzhangpang opened this issue Oct 26, 2024 · 0 comments

Comments

@xiangzhangpang
Copy link

已经安装了transformers 4.46.0 ,deepspeed 0.15.3,报错
Traceback (most recent call last):
File "/DB-GPT-Hub/src/dbgpt_hub_sql/train/sft_train.py", line 15, in
from dbgpt_hub_sql.llm_base.load_tokenizer import load_model_and_tokenizer
File "/DB-GPT-Hub/src/dbgpt_hub_sql/llm_base/load_tokenizer.py", line 18, in
from transformers.deepspeed import is_deepspeed_zero3_enabled
ModuleNotFoundError: No module named 'transformers.deepspeed'
有没有大佬知道要怎么解决

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

No branches or pull requests

1 participant