You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
Install the latest version of transformers with accelerate==0.21.0, the current minimum supported version.
Try from transformers import trainer
For older versions of Accelerate, this import will throw a runtime error caused by:
ImportError: cannot import name 'is_mlu_available' from 'accelerate.utils' /Users/alexanderjbrooks/transformers/venv/lib/python3.9/site-packages/accelerate/utils/__init__.py)
Expected behavior
We should be able to import the trainer with the minimum supported version of Accelerate! I will submit a PR to this effect.
The text was updated successfully, but these errors were encountered:
Hey @alex-jw-brooks, thanks for the report ! This should be fixed by this PR #32292 that was created a few days ago. Let us know this this fixes your issue !
System Info
transformers
version: 4.44.0.dev0Who can help?
@muellerzr @SunMarc
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
accelerate==0.21.0
, the current minimum supported version.from transformers import trainer
For older versions of Accelerate, this import will throw a runtime error caused by:
Expected behavior
We should be able to import the trainer with the minimum supported version of Accelerate! I will submit a PR to this effect.
The text was updated successfully, but these errors were encountered: