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

fix(requirements.txt): accelerate version mismatch #841

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

Conversation

tpoisonooo
Copy link

typo, hf 代码报错。

│ /root/miniconda3/envs/torch2/lib/python3.10/site-packages/transformers/trainer.py:2794 in        │
│ save_model                                                                                       │
│                                                                                                  │
│   2791 │   │   elif self.is_deepspeed_enabled:                                                   │
│   2792 │   │   │   # this takes care of everything as long as we aren't under zero3              │
│   2793 │   │   │   if version.parse(accelerate_version) <= version.parse("0.20.3"):              │
│ ❱ 2794 │   │   │   │   raise ValueError("Install Accelerate from main branch")                   │
│   2795 │   │   │   try:

@tpoisonooo tpoisonooo changed the title Update requirements.txt fix(requirements.txt): accelerate version mismatch Dec 21, 2023
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