foundation-model-stack / fms-hf-tuning

🚀 Collection of tuning recipes with HuggingFace SFTTrainer and PyTorch FSDP.
Apache License 2.0
28 stars 48 forks source link

fix: cap transformers at v4.44 #349

Closed anhuong closed 2 months ago

anhuong commented 2 months ago

Description of the change

Latest version of transformers v4.45.0 was released two hours ago and is breaking unit tests (see failures) with error: AttributeError: 'AdamW' object has no attribute 'train' when running training.

Capping version below v4.45.

Was the PR tested

github-actions[bot] commented 2 months ago

Thanks for making a pull request! 😃 One of the maintainers will review and advise on the next steps.

github-actions[bot] commented 2 months ago

Thanks for making a pull request! 😃 One of the maintainers will review and advise on the next steps.

github-actions[bot] commented 2 months ago

Thanks for making a pull request! 😃 One of the maintainers will review and advise on the next steps.