Skip to content
Search docs

Prepare the local Runtime

Run from the repository root. Get Runtime READY, then continue to launch and transcription.

  • Windows x64, RTX 3070 Ti Laptop, nominal 8 GiB VRAM.
  • Git, uv, and a working NVIDIA driver are installed.
  • About 9.19 GB of model downloads. Doctor also requires 10 GiB working space.
  • An independent Python 3.12.13 Runtime environment.
Run only in your prepared environment

These commands prepare source and download dependencies and models. The current resource owner must serialize real GPU requests.

This command clones the pinned Runtime and custom nodes, then installs locked dependencies. Existing checkouts must match the pinned commits and have no tracked edits.

Terminal window
# Run from the repository root. Downloads pinned source and dependencies.
uv run --no-project --python 3.12.13 python runtime/comfyui/manage.py prepare
if ($LASTEXITCODE -ne 0) { throw "Runtime preparation failed. Preserve local edits and inspect the command output." }

Complete example: runtime/comfyui/examples/prepare.ps1 ↗

Weights are saved in data/models/. YuE2 and SheetSage2 weights use CC-BY-NC-4.0. Code licenses are recorded separately.

Terminal window
# Run from the repository root. Writes model weights and resumable downloads.
uv run --project runtime/comfyui --no-sync python runtime/comfyui/manage.py download-models
if ($LASTEXITCODE -ne 0) { throw "Model preparation failed. Inspect the output before resuming downloads." }

Complete example: runtime/comfyui/examples/download-models.ps1 ↗

Terminal window
param([ValidateRange(1, 65535)][int]$Port = 8188)
# Run from the repository root. A real CUDA check requires the GPU resource owner.
uv run --project runtime/comfyui --no-sync python runtime/comfyui/manage.py doctor --port $Port
if ($LASTEXITCODE -ne 0) { throw "Runtime is not ready. Follow the reported recovery actions before starting." }

Complete example: runtime/comfyui/examples/doctor.ps1 ↗

Success prints Runtime READY and exits 0. Failure prints Runtime NOT READY, exits 1, and gives recovery actions for each check.

If a model download was interrupted, rerun download-models to resume it. A .part file is not ready.

Read Doctor's limits. Then save the pre-start receipt, launch the local service, and transcribe.

Check and launch Runtime →

Source version: 1ce3268Page source: docs/learn/quickstart.en.md