Skip to content

chore(deps): update dependency accelerate to v0.24.0#244

Merged
mergify[bot] merged 1 commit intomainfrom
renovate/accelerate-0.x
Oct 25, 2023
Merged

chore(deps): update dependency accelerate to v0.24.0#244
mergify[bot] merged 1 commit intomainfrom
renovate/accelerate-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
accelerate ==0.23.0 -> ==0.24.0 age adoption passing confidence

Release Notes

huggingface/accelerate (accelerate)

v0.24.0: : Improved Reproducability, Bug fixes, and other Small Improvements

Compare Source

Improved Reproducibility

One critical issue with Accelerate is training runs were different when using an iterable dataset, no matter what seeds were set. v0.24.0 introduces the dataloader.set_epoch() function to all Accelerate DataLoaders, where if the underlying dataset (or sampler) has the ability to set the epoch for reproducability it will do so. This is similar to the implementation already existing in transformers. To use:

dataloader = accelerator.prepare(dataloader)

### Say we want to resume at epoch/iteration 2
dataloader.set_epoch(2)

For more information see this PR, we will update the docs on a subsequent release with more information on this API.

Documentation

  • The quick tour docs have gotten a complete makeover thanks to @​MKhalusova. Take a look here
  • We also now have documentation on how to perform multinode training, see the launch docs

Internal structure

  • Shared file systems are now supported under save and save_state via the ProjectConfiguration dataclass. See #​1953 for more info.
  • FSDP can now be used for bfloat16 mixed precision via torch.autocast
  • all_gather_into_tensor is now used as the main gather operation, reducing memory in the cases of big tensors
  • Specifying drop_last=True will now properly have the desired affect when performing Accelerator().gather_for_metrics()

What's Changed

New Contributors

Full Changelog: huggingface/accelerate@v0.23.0...v0.24.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 24, 2023
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #244 (81731a7) into main (6e9e327) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

❗ Current head 81731a7 differs from pull request most recent head f260c1f. Consider uploading reports for the commit f260c1f to get more accurate results

@@           Coverage Diff           @@
##             main     #244   +/-   ##
=======================================
  Coverage   37.11%   37.11%           
=======================================
  Files          23       23           
  Lines        1482     1482           
  Branches      202      202           
=======================================
  Hits          550      550           
  Misses        924      924           
  Partials        8        8           

@renovate renovate bot force-pushed the renovate/accelerate-0.x branch from 81731a7 to f260c1f Compare October 25, 2023 21:25
@mergify mergify bot merged commit 0bab1f3 into main Oct 25, 2023
@renovate renovate bot deleted the renovate/accelerate-0.x branch October 25, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant