网页
综合
更新时间 2026-11-13 15:50:23
Accelerate · Hugging Face
自动蜘蛛
huggingface.co
正文约 1256 字
Accelerate documentation
and get access to the augmented documentation experience
Accelerate is a library that enables the same PyTorch code to be run across any distributed configuration by adding just four lines of code! In short, training and inference at scale made simple, efficient and adaptable.
Built on torch_xla and torch.distributed, Accelerate takes care of the heavy lifting, so you don’t have to write any custom code to adapt to these platforms. Convert existing codebases to utilize DeepSpeed, perform fully sharded data parallelism, and have automatic support for mixed-precision training!
To get a better idea of this process, make sure to check out the Tutorials!
This code can then be launched on any system through Accelerate’s CLI interface:
Learn the basics and become familiar with using Accelerate. Start here if you are using Accelerate for the first time!
Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use Accelerate to solve real-world problems.
High-level explanations for building a better understanding of important topics such as avoiding subtle nuances and pitfalls in distributed training and DeepSpeed.
Technical descriptions of how Accelerate classes and methods work.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。