Apply ruff py39 fixes by cyyever · Pull Request #3461 · huggingface/accelerate

@cyyever

Because accelerate has been moved to py39.

SunMarc

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 ?

muellerzr

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

@HuggingFaceDocBuilderDev

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.

muellerzr

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?

@cyyever

@cyyever

@cyyever