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
- docs: point the Kornia Trainer link at a published docs version
- Fix layerwise casting of MultiheadAttention
- Allow preparing a model without an optimizer under FSDP2
- merge_fsdp_weights with remove_checkpoint_dir=True deletes the merged model when output_path is inside checkpoint_dir
- chore(deps): bump the actions group across 1 directory with 4 updates
- Refuse merging FSDP weights into a checkpoint dir that gets removed
- Fix nvidia-smi output parsing on Windows
- Preserve loaded tied weights when restoring initialized models
- Fix scheduler association with prepared optimizers
- data_loader: do not mutate sampler-owned batches in BatchSamplerShard padding
- Docs
- Python not yet supported