Apply ruff py39 fixes by cyyever · Pull Request #3461 · huggingface/accelerate
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating ruff as well in accelerate. LGTM ! Can you just do make style to fix the quality issue ?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, can you go ahead and fix all the import issues? Looks like either manually (or auto converted/llm not sure) a few imports were missed along the way
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like things are better post the rebase! Could you do pip install -e .[quality]; make style; make quality real fast?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters