accelerate
better handle FP8 with and without deepspeed
#3611
Merged

better handle FP8 with and without deepspeed #3611

SunMarc merged 6 commits into main from mixed-precision-from-env
IlyasMoutawwakil
IlyasMoutawwakil use the state mixed precision which has undergone all preprocessing
4820a05e
HuggingFaceDocBuilderDev
IlyasMoutawwakil IlyasMoutawwakil requested a review from SunMarc SunMarc 1 year ago
SunMarc
SunMarc approved these changes on 2025-06-09
IlyasMoutawwakil Update src/accelerate/accelerator.py
29b9af30
IlyasMoutawwakil
IlyasMoutawwakil commented on 2025-06-09
IlyasMoutawwakil Update src/accelerate/accelerator.py
14256030
IlyasMoutawwakil accelerator state sets the mixed precision for deepspeed and fp8_enabled
5551b2c3
IlyasMoutawwakil IlyasMoutawwakil changed the title Use the state's mixed precision which has undergone all processing better handle FP8 with and without deepspeed 1 year ago
IlyasMoutawwakil
IlyasMoutawwakil commented on 2025-06-09
S1ro1
S1ro1 approved these changes on 2025-06-09
IlyasMoutawwakil fix
b71a9ba5
IlyasMoutawwakil
S1ro1
IlyasMoutawwakil fix
d723bd84
SunMarc
SunMarc approved these changes on 2025-06-10
SunMarc SunMarc merged b9fee48c into main 1 year ago
SunMarc SunMarc deleted the mixed-precision-from-env branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone