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
- [FSDP] Validate activation checkpointing auto-wrap policy
- [TP] Keep optimizer state aligned after parameter swaps
- [FSDP2] Shard eagerly initialized optimizer state
- Reject sharded-checkpoint shard paths that escape the checkpoint folder
- Fix typos and a broken kwarg in the sequence parallelism guide
- Document bnb_quantization_config in replace_with_bnb_layers
- Reach through the DeepSpeed optimizer wrapper in AcceleratedOptimizer.eval()
- [Examples] Add distributed image captioning inference example script (#3078)
- Add module: nn.Module type hints to ModelHook lifecycle methods
- Add level and msg type hints to MultiProcessAdapter.log
- Docs
- Python not yet supported