Skip to content

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/accelerate

Connect this address to your AI to use these skills. How to connect

  • Unverified
  • Default branchmain
  • Commitbcc1fe6
  • LicenseApache-2.0
  • Searchwords
View on GitHub

Explore this repository

Searches the original text of skills and documents, and the translations of skills when you search in their language.

To generate the documentation, you first have to build it. Several packages are necessary to build the doc, you can install them with the following command, at the root of the code repository:

Read the introduction

Folders

Documents

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)