huggingface/accelerate
🚀 A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (including fp8), and easy-to-configure FSDP and DeepSpeed support
https://skillcdn.ai/gh/huggingface/accelerateConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
bcc1fe6 - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- AcceleratorThe [Accelerator] is the main class for enabling distributed training on any type of training setup. Read the Add Accelerator to your code tutorial to learn more about how to add the [Accelerator] to…docs/source/package_reference/accelerator.md
- Working with large models[[autodoc]] big_modeling.init_empty_weightsdocs/source/package_reference/big_modeling.md
- The Command LineBelow is a list of all the available commands 🤗 Accelerate with their parametersdocs/source/package_reference/cli.md
- DeepSpeed utilities[[autodoc]] utils.get_active_deepspeed_plugindocs/source/package_reference/deepspeed.md
- FP8Below are functions and classes relative to the underlying FP8 implementationdocs/source/package_reference/fp8.md
- Fully Sharded Data Parallel utilities[[autodoc]] utils.enable_fsdp_ram_efficient_loadingdocs/source/package_reference/fsdp.md
- Kwargs handlersThe following objects can be passed to the main [Accelerator] to customize how some PyTorch objects related to distributed training or mixed precision are created.docs/source/package_reference/kwargs.md
- LaunchersFunctions for launching training on distributed processes.docs/source/package_reference/launchers.md
- LoggingRefer to the Troubleshooting guide or to the example below to learn how to use Accelerate's logger.docs/source/package_reference/logging.md
- Megatron-LM utilities[[autodoc]] utils.MegatronLMPlugindocs/source/package_reference/megatron_lm.md
- Stateful ClassesBelow are variations of a singleton class in the sense that all instances share the same state, which is initialized on the first instantiation.docs/source/package_reference/state.md
- DataLoaders, Optimizers, and SchedulersThe internal classes Accelerate uses to prepare objects for distributed training when calling [~Accelerator.prepare].docs/source/package_reference/torch_wrappers.md
- Experiment Trackers[[autodoc]] tracking.GeneralTrackerdocs/source/package_reference/tracking.md
- Utility functions and classesBelow are a variety of utility functions that 🤗 Accelerate provides, broken down by use-case.docs/source/package_reference/utilities.md
Skipped (16)
These manifests were not served. Fix them and push: the next commit is indexed again.
docs/source/basic_tutorials/notebook.mdlink_missinga link names no file of the repository (../package_reference/launchers)docs/source/basic_tutorials/tpu.mdlink_missinga link names no file of the repository (../concept_guides/training_tpu)docs/source/basic_tutorials/troubleshooting.mdlink_missinga link names no file of the repository (../concept_guides/performance)docs/source/concept_guides/fsdp_and_deepspeed.mdlink_missing7 links name no file of the repository (../usage_guides/fsdp, ../usage_guides/deepspeed, ../package_reference/cli#accelerate-launch, ...)docs/source/concept_guides/internal_mechanism.mdlink_missinga link names no file of the repository (../package_reference/torch_wrappers)docs/source/concept_guides/low_precision_training.mdlink_missinga link names no file of the repository (../usage_guides/low_precision_training)docs/source/concept_guides/training_tpu.mdlink_missing2 links name no file of the repository (../basic_tutorials/notebook, ../basic_tutorials/migration#mixed-precision)docs/source/index.mdlink_missing3 links name no file of the repository (usage_guides/deepspeed, usage_guides/fsdp, basic_tutorials/overview)docs/source/package_reference/accelerator.mdlink_missinga link names no file of the repository (../basic_tutorials/migration)docs/source/package_reference/logging.mdlink_missinga link names no file of the repository (../basic_tutorials/troubleshooting#logging)docs/source/package_reference/utilities.mdlink_missinga link names no file of the repository (../basic_tutorials/troubleshooting#hanging-code-and-timeout-errors)docs/source/quicktour.mdlink_missing9 links name no file of the repository (package_reference/cli#accelerate-config, package_reference/cli#accelerate-test, package_reference/cli#accelerate-launch, ...)docs/source/usage_guides/big_modeling.mdlink_missing4 links name no file of the repository (../concept_guides/big_model_inference, ../concept_guides/big_model_inference#designing-a-device-map, ../concept_guides/big_model_inference#loading-weights, ...)docs/source/usage_guides/distributed_inference.mdlink_missing2 links name no file of the repository (../concept_guides/big_model_inference, ../quicktour#distributed-evaluation)docs/source/usage_guides/gradient_accumulation.mdlink_missing2 links name no file of the repository (../concept_guides/gradient_synchronization, ../package_reference/accelerator#accelerate.utils.GradientAccumulationPlugin)docs/source/usage_guides/low_precision_training.mdlink_missinga link names no file of the repository (../concept_guides/low_precision_training)