Allow gradients to be synced each data batch while performing gradient accumulation, useful when training in FSDP by @fabianlim in huggingface/accelerate#2531
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on accelerate to permit the latest version.
Release notes
Sourced from accelerate's releases.
... (truncated)
Commits
9e72c61
Release: v0.28.0354db5b
Use uv instead of pip install for github CI (#2546)92b1ad0
Update FSDP mixed precision setter to enable fsdp+qlora (#2544)60bfdaa
Allow Gradients to be Synced Each Data Batch While Performing Gradient Accumu...16eb6d7
Remove extra double-dash in error message (#2541)c8acfa7
[docs] Troubleshoot (#2538)e70e3c8
Overdue email change... (#2534)bc8dfe3
init (#2438)e3d3242
Check if the buffers fit GPU memory after device map auto inferred (#2412)10882ee
Update link to dynamo/compile doc (#2533)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show