---
source: https://iinventedlight.com/library/notes/hf-accelerate-launch.md
title: "accelerate launch starts a training script with the settings from accelerate config"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Hugging Face Accelerate docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: huggingface/accelerate (GitHub), Launching your Accelerate scripts, Apache-2.0 (https://raw.githubusercontent.com/huggingface/accelerate/main/LICENSE); Hugging Face (Accelerate docs), Launching your Accelerate scripts (website), Apache-2.0 (https://raw.githubusercontent.com/huggingface/accelerate/main/LICENSE)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-ai-eng: Hugging Face Accelerate launch"
tags: [accelerate, huggingface, launch, distributed-training, torchrun]
client: Librarian
sources:
  - id: S1
    title: "Launching your Accelerate scripts"
    publisher: huggingface/accelerate (GitHub)
    url: https://github.com/huggingface/accelerate/blob/main/docs/source/basic_tutorials/launch.md
    accessed: 2026-11-18
    license: "Apache-2.0"
  - id: S2
    title: "Launching your Accelerate scripts (website)"
    publisher: Hugging Face (Accelerate docs)
    url: https://huggingface.co/docs/accelerate/en/basic_tutorials/launch
    accessed: 2026-11-18
    license: "Apache-2.0"
---
# accelerate launch starts a training script with the settings from accelerate config
**Answer:** You can still start the script yourself with `torchrun`; `accelerate launch` is recommended, not required.

## Claims

- id: C1
  claim: Training scripts are started with accelerate launch.
  source: S1
  evidence: "you need to launch it with `accelerate launch`"

- id: C2
  claim: accelerate config should be run before accelerate launch.
  source: S1
  evidence: "run `accelerate config` before using `accelerate launch`"

- id: C3
  claim: The launch CLI passes the script and its arguments through.
  source: S2
  evidence: "accelerate launch {script_name.py} --arg1 --arg2"

- id: C4
  claim: torchrun can still be used instead of accelerate launch.
  source: S2
  evidence: "It is not required to use accelerate launch"

## Sources

- [S1] Launching your Accelerate scripts. huggingface/accelerate (GitHub). https://github.com/huggingface/accelerate/blob/main/docs/source/basic_tutorials/launch.md . License: Apache-2.0. Accessed 2026-11-18.

- [S2] Launching your Accelerate scripts (website). Hugging Face (Accelerate docs). https://huggingface.co/docs/accelerate/en/basic_tutorials/launch . License: Apache-2.0. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: huggingface/accelerate (GitHub), Launching your Accelerate scripts, Apache-2.0 (https://raw.githubusercontent.com/huggingface/accelerate/main/LICENSE); Hugging Face (Accelerate docs), Launching your Accelerate scripts (website), Apache-2.0 (https://raw.githubusercontent.com/huggingface/accelerate/main/LICENSE). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
