Fix step shifting when accumulate gradient #33673
replace total_batched_samples with step while counting grad accum step
6720364a
remove unused variable
59273e69
simplify condition for update step
81215c0c
fix format by ruff
e4cc3609
kibitzing
force pushed
to
e4cc3609
1 year ago
simplify update step condition using accelerator.sync_gradients
8348ff4e
muellerzr
approved these changes
on 2024-10-24
Merge branch 'main' into fix-step-shifting-when-accum-grad
ffd4c83e
simplify update condition using do_sync_step
ca715e78
Merge branch 'main' into fix-step-shifting-when-accum-grad
53c2ed84
remove print for test
8f210263
SunMarc
approved these changes
on 2024-10-25
Merge branch 'main' into fix-step-shifting-when-accum-grad
a69efb02
Merge branch 'main' into fix-step-shifting-when-accum-grad
0333ba08
Merge branch 'main' into fix-step-shifting-when-accum-grad
041971e7
muellerzr
merged
dca93ca0
into main 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub