chore(deps): update dependency accelerate to v0.24.0#244
Merged
mergify[bot] merged 1 commit intomainfrom Oct 25, 2023
Merged
Conversation
Codecov Report
@@ 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 |
81731a7 to
f260c1f
Compare
ssenan
approved these changes
Oct 25, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.23.0->==0.24.0Release Notes
huggingface/accelerate (accelerate)
v0.24.0: : Improved Reproducability, Bug fixes, and other Small ImprovementsCompare 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 allAccelerateDataLoaders, 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:For more information see this PR, we will update the docs on a subsequent release with more information on this API.
Documentation
Internal structure
saveandsave_statevia theProjectConfigurationdataclass. See #1953 for more info.bfloat16mixed precision viatorch.autocastall_gather_into_tensoris now used as the main gather operation, reducing memory in the cases of big tensorsdrop_last=Truewill now properly have the desired affect when performingAccelerator().gather_for_metrics()What's Changed
dispatch_modelby @austinapatel in https://github.com/huggingface/accelerate/pull/1971saveandsave_statevia ProjectConfiguration by @muellerzr in https://github.com/huggingface/accelerate/pull/1953torch.autocastfor bfloat16 mixed precision by @brcps12 in https://github.com/huggingface/accelerate/pull/2033all_gather_into_tensorby @muellerzr in https://github.com/huggingface/accelerate/pull/1968gather_for_metricsby @muellerzr in https://github.com/huggingface/accelerate/pull/2048New 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.
This PR has been generated by Mend Renovate. View repository job log here.