accelerate
https://github.com/huggingface/accelerate
Python
🚀 A simple way to train and use PyTorch models with multi-GPU, TPU, mixed-precision
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to accelerate
Help out
- Issues
- Pin UTF-8 encoding when reading user-provided command/inputs files
- [Fix] Support custom accelerators via torch.accelerator and fix model.to(device) bug introduced in #4083
- OffloadedWeightsLoader initialization scans CPU keys for every disk weight
- Reduce key merging overhead in OffloadedWeightsLoader
- docs: fix 'ore details' -> 'more details' in CONTRIBUTING
- Allow skipping IterableDataset re-sharding via shard_iterable_dataset
- Return the wrapped optimizer step result
- Filter nonpersistent buffers by their qualified names
- Keep cached buffers registered as buffers
- all_gather_into_tensor is deprecated, _gpu_gather warns on every gather
- Docs
- Python not yet supported