Skip to content

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