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) remove sampler_is_batch_sampler code in prepare_data_loader(..)
- optimize infer_auto_device_map for multi-GPU allocation
- [Feature Request] add a memory logging manager
- [CPU offload hooks] hooks with overlapped transfers and computations
- accelerator.prepare
- [BUG] Accelerate 1.0.1 failed to train multiple zero-3 models
- Impossibility to use num_workers and prefetch_factor when using StatefulDataLoader (use_stateful_dataloader=True)
- [Community Contributions] examples on distributed inference using 🤗 Accelerate
- infer_auto_device_map inefficiently allocates GPU memory for models with imbalanced module sizes
- Barebones dataloader to allow for any type of iterable dataloader-like object to be used. Should just handle device placement
- Docs
- Python not yet supported