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
- Impossibility to use num_workers and prefetch_factor when using StatefulDataLoader (use_stateful_dataloader=True)
- [Community Contributions] examples on distributed inference using 🤗 Accelerate
- add support for custom function for reducing the batch size
- 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
- DeepSpeedEngineWrapper.backward() does a bit too much
- Some adjustment for supporting Deepspeed-Ulysses
- Plan to support FSDP2?
- Dataloader WeightedRandomSampler + Distributed Training
- gather objects in TPU is not supported
- Docs
- Python not yet supported