Open danielnelson opened 2 weeks ago
Hi @danielnelson, thanks for raising this issue!
Indeed, we might have to update our accelerate versions cc @ydshieh
cc @muellerzr @SunMarc When does use_seedable_sampler
come in?
Hi, use_seedable_sampler
was introduced in this PR, so in v0.26 of accelerate. We introduced 4 months ago AcceleratorConfig which have use_seedable_sampler
as arg. Then we initialize the accelerator based on this config, hence the issue. It should be fixed with the above PR @danielnelson, could you give it a try ?
System Info
transformers
version: 4.41.2Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
pip install accelerate==0.21.0
pip install transformers
pip install setuptools
python
Expected behavior
There should be no error unexpected keyword.
The requirement in setup.py for accelerate is set to >=0.21.0, but it seems that it needs to be at least 0.26.0.
This issue is mentioned in #29216 #28111