huggingface / accelerate

🚀 A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (including fp8), and easy-to-configure FSDP and DeepSpeed support
https://huggingface.co/docs/accelerate
Apache License 2.0
7.34k stars 875 forks source link

fix fstr format #2810

Closed Jintao-Huang closed 4 weeks ago

Jintao-Huang commented 1 month ago

What does this PR do?

Before submitting

@muellerzr

HuggingFaceDocBuilderDev commented 1 month ago

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 commented 1 month ago

@Jintao-Huang can you do pip install -e .[quality] + make style; make quality? That’ll fix up the quality check

Jintao-Huang commented 1 month ago

Hello, I have fixed the code quality issues. 😊