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
- Raise on subprocesses terminated by signals
- Fix next-token labels and loss normalization in the accumulation example
- Enforce subprocess execution timeouts and clean up interrupted launches
- Test causal-LM training with DDP, gradient accumulation and mixed precision
- Make reduce(reduction="none") perform no reduction
- [Bug] RNG state restoration failure swallowed silently — resumed training diverges without warning
- Pin UTF-8 encoding in `to_fsdp2` config read/write
- Make `debug_launcher` work on Windows
- Tolerate non-UTF-8 subprocess output in `run_command` test helper
- Fix `NamedTemporaryFile` sharing violations in test_modeling_utils on Windows
- Docs
- Python not yet supported