Skip to content

bf16_optimizer: fixes to different grad acc dtype - #6485

Merged
tjruwase merged 1 commit into
deepspeedai:masterfrom
nelyahu:fix_bf16_optimizer_grad_dtype
Sep 4, 2024
Merged

bf16_optimizer: fixes to different grad acc dtype#6485
tjruwase merged 1 commit into
deepspeedai:masterfrom
nelyahu:fix_bf16_optimizer_grad_dtype

Conversation

@nelyahu

@nelyahu nelyahu commented Sep 4, 2024

Copy link
Copy Markdown
Contributor
  • fix step function to cast to FP32 before step in case of different gradient accumulation data type
  • remove redundatn function initialize_optimizer_states()

- fix step function to cast to FP32 before step in case
  of different gradient accumulation data type
- remove redundatn function initialize_optimizer_states()
@nelyahu
nelyahu requested a review from tjruwase as a code owner September 4, 2024 09:39
@tjruwase
tjruwase added this pull request to the merge queue Sep 4, 2024
Merged via the queue into deepspeedai:master with commit cfc6ed3 Sep 4, 2024
mauryaavinash95 pushed a commit to DataStates/DeepSpeed that referenced this pull request Mar 20, 2025
- fix step function to cast to FP32 before step in case of different
gradient accumulation data type
- remove redundatn function initialize_optimizer_states()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants