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
- Fix stateful dataloader losing shuffle order on multi-process resume (#4195)
- feat(examples): Add distributed image captioning example with BLIP-2
- ACCELERATE_BYPASS_DEVICE_MAP is the only boolean env flag read case-sensitively, so =True is silently ignored
- Read ACCELERATE_BYPASS_DEVICE_MAP case-insensitively, like every other boolean flag
- [Bug] Fused AdamW AMP overflow leaves step_was_skipped false and advances the scheduler
- Fix skipped-step detection for AMP-aware optimizers
- Fix stateful dataloader checkpoint cache after loading
- Fix shape metadata when copying tensors across devices
- Add callbacks, async checkpoints, and pipeline
- Capture stateful dataloader state lazily so prepare() does not draw the shuffle permutation
- Docs
- Python not yet supported