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
- Fixes a few Sagemaker config issues
- Loading the trained model for inference is very slow
- Training with PEFT + Accelerate randomly gets stuck with DeepSpeed after the first epoch
- You are trying to offload the whole model to the disk. Please use the `disk_offload` function instead.
- Training on multiple GPUs with the HF trainer
- SIGKILL on save steps
- TypeError: __init__() got an unexpected keyword argument 'debug'
- RAM leakage
- Multi-GPU training with DeepSpeed sets train_batch_size incorrectly
- Total Steps when split_batches = True?
- Docs
- Python not yet supported