Skip to main content

Config-driven RunPod orchestration for reusable GPU project deployments.

Project description

runpod-deploy

runpod-deploy is a config-driven RunPod orchestration package for reusable GPU project deployments. It owns the RunPod mechanics; consumer repos own their job configs and project commands.

Quickstart

uv venv
uv pip install -e ".[dev]"

runpod-deploy validate --config examples/smoke/a4000_smoke.yaml
runpod-deploy run --config examples/smoke/a4000_smoke.yaml --offline-dry-run
runpod-deploy logs --config examples/smoke/a4000_smoke.yaml         # live-tail the active pod's run log
runpod-deploy stop --state-file ~/.runpod-smoke-current              # stop the active pod

Optional: enable pre-commit hooks (pip install pre-commit && pre-commit install). make lint remains the canonical enforcement path; CI runs it.

--offline-dry-run prints the provision/stage/launch/pull/stop command shape without calling runpodctl, SSH, or rsync. For a real end-to-end deploy on a cheap GPU, see examples/smoke/README.md — it walks through the per-host setup (SSH key registration, rsync version) once.

For new consumers, docs/quickstart.md is the 5-minute onboarding walkthrough, and docs/lifecycle.md explains what happens at each phase of a runpod-deploy run.

Examples

Config What it does
smoke/a4000_smoke.yaml Minimal nvidia-smi check on RTX A4000/A4500/A100 in EU-RO-1 — cheapest end-to-end pipeline test
prompt-injection-v3/v3_1_ephemeral.yaml Full prompt-injection-v3 threshold-free study on A100/H100, ephemeral storage
prompt-injection-sdd/headline_resume.yaml Headline/resume evaluation, network-volume storage
research-kb/pdf_embed_gpu.yaml GPU-accelerated PDF embedding pipeline
post_transformers/gpu_benchmark.yaml post-transformers GPU benchmark workload

Consumer-owned configs

The recommended pattern is for the consumer repo to own its runpod-deploy job YAML alongside the project. The YAML lives at consumer-repo/configs/runpod/*.yaml, and local.project_root is set relative to that file's directory:

my-project/
├── pyproject.toml
├── src/...
└── configs/
    └── runpod/
        └── headline.yaml          # local.project_root: ../..
# configs/runpod/headline.yaml
local:
  project_root: ../..   # one level for runpod/, one for configs/

../.. resolves to my-project/, which is what gets rsynced to the pod. A common off-by-one — ../../.. from the same location — resolves to your $HOME directory and would stage the entire home tree to the pod; runpod-deploy validate (and any run) fails-fast in this case.

The example configs under examples/ are not consumer-owned — they live inside this repo, so they use longer paths (../../../prompt-injection-v3) to reach back to a sibling consumer repo. Don't copy that pattern when authoring configs inside your own consumer repo.

Model

Version 1 supports one job per YAML file:

  • RunPod pod settings: image, datacenter, GPU order, storage mode, cost cap.
  • Local staging: rsync pushes from the consumer repo to the pod.
  • Remote setup and preflight commands.
  • Detached remote run script, success marker, and failure markers.
  • Artifact pulls and a reproducibility manifest.

The core is intentionally project-neutral. If a project needs special behavior, put it in its config or shell commands. Python hooks are reserved for a future schema version after at least two projects need the same extension point.

Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runpod_deploy-0.7.3.tar.gz (150.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runpod_deploy-0.7.3-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file runpod_deploy-0.7.3.tar.gz.

File metadata

  • Download URL: runpod_deploy-0.7.3.tar.gz
  • Upload date:
  • Size: 150.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for runpod_deploy-0.7.3.tar.gz
Algorithm Hash digest
SHA256 1d7f46f5ebd0a875dc00f128f9a3c954322ba0714b0752ad54f1b427c1e2cf31
MD5 8d86363731f9dbfed0a12f74a94b58f9
BLAKE2b-256 5d5489cdd48020d5683a565c1143a112f8e9a7ed51604cefb13e808673e8434a

See more details on using hashes here.

Provenance

The following attestation bundles were made for runpod_deploy-0.7.3.tar.gz:

Publisher: release.yml on brandon-behring/runpod-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file runpod_deploy-0.7.3-py3-none-any.whl.

File metadata

  • Download URL: runpod_deploy-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 53.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for runpod_deploy-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 61794f5ff01b10ed5c325effe20e726509238f4a996810b5a175f8e9e94ddd23
MD5 1564aeba9a18cf70d20bdc0bed9ac960
BLAKE2b-256 5a34bdc084986d937d6c3c89ddadaf606125284d020c6c8d566faaa37422c8e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for runpod_deploy-0.7.3-py3-none-any.whl:

Publisher: release.yml on brandon-behring/runpod-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page