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
- how to load model with fp8 precision for inference?
- save_state() fails when using DeepSpeed with multiple models where some models are frozen some are being trained
- Error running notebook launcher in google Colab
- Activation checkpointing with FSDP incorrectly splits the attention mask?
- 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
- `preload_module_classes` is lost in attach_execution_device_hook.
- 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