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
- Handle submodule buffers when split in `infer_auto_device_map`
- AssertionError for FP8 Benchmarks
- Fix deadlock in BatchSamplerShard with drop_last=True
- why does (Naive MP) show better memory efficiency than FSDP1/2 ??
- Segfault in device_map='auto' weight dispatch on RTX 5090 D v2 (Blackwell, sm_120, GB202-240)
- `_prepare_fsdp2` does not work with nn.Module on `meta` device
- notebook_launcher raises "Cannot re-initialize CUDA in forked subprocess"
- FSDP2: Activation-checkpoint modules directly matching auto-wrap policy, not those whose parent module matches policy
- `datasets` Iterable Dataset sharding support
- Deadlock when running multi tasks
- Docs
- Python not yet supported