Skip to main content

Sixtytwo CLI: `sixtytwo rent` reserves reliability-backed GPUs; `sixtytwo` qualifies, monitors, and NCCL-benchmarks your own GPU clusters, with Slurm/SkyPilot integration.

Project description

Sixtytwo Platform Backend

Backend for the Sixtytwo rent platform.

It includes:

  • CLI-first agent workflows: qualification, monitoring, trust registry
  • Recovery orchestration and job optimization
  • Rent-layer commerce surface (catalog / quote / reserve / checkout / settle / credits)
  • FastAPI app that serves the rent storefront (static HTML in ../frontend-rent/)
  • Per-minute meter loop + Stripe billing + Google OAuth
  • Prometheus /metrics exporter for Grafana

Install

cd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Or point the CLI at an explicit config:

sixtytwo --config /path/to/sixtytwo.yaml init --cluster prod

Main commands

sixtytwo init --cluster prod
sixtytwo setup --provider runpod --cluster prod-runpod --checkpoint-dir /workspace/checkpoints
sixtytwo doctor --json
sixtytwo test --quick --all
sixtytwo test --full gpu-01,gpu-02
sixtytwo console
sixtytwo launch --pre-check --recovery confirm python train.py
sixtytwo nodes
sixtytwo optimize train.sh
sixtytwo dashboard start  # boots uvicorn against the FastAPI app

Grafana visualization

sixtytwo metrics serve exposes a Prometheus-format /metrics endpoint backed by the local TrustRegistry. This is what teams use to chart sixtytwo's intelligence-layer signals (trust scores, fault counters, recovery downtime, per-check status, fleet adverse rate) alongside DCGM in Grafana — without sixtytwo having its own UI.

sixtytwo metrics serve --host 0.0.0.0 --port 9620

Exposed metric families:

metric type labels what it answers
sixtytwo_node_trust_score gauge node_id, gpu_type, provider, status which nodes you should trust
sixtytwo_node_faults_total counter node_id, gpu_type, provider which nodes accumulate faults
sixtytwo_node_status gauge node_id, status lifecycle state (always 1)
sixtytwo_check_status gauge node_id, check, stage latest qualification result (1/0.5/0/-1)
sixtytwo_check_metric gauge node_id, check, metric numeric metrics from each check (TFLOPS, step_ms, ...)
sixtytwo_fleet_* gauge fleet-wide totals and adverse rate
sixtytwo_recovery_events_total counter status recovery outcomes
sixtytwo_recovery_downtime_seconds_* counter total/sample-count of recovery downtime

Wire it into Prometheus:

scrape_configs:
  - job_name: sixtytwo
    static_configs:
      - targets: ["sixtytwo-host:9620"]

Then import the curated Grafana dashboard:

sixtytwo metrics export-grafana --output sixtytwo-overview.json
# Grafana → Dashboards → Import → upload sixtytwo-overview.json

The dashboard correlates sixtytwo trust scores with DCGM XID counters when both data sources are present, so you can see at a glance whether a trust-score drop is being driven by hardware events.

Deployment notes

  • recovery.live_execute = false by default, so recovery plans are fully logged before you enable real scheduler actions.
  • SIXTYTWO_CONFIG lets you run the CLI and platform from a fixed config path outside the working directory.
  • SIXTYTWO_HOST and SIXTYTWO_PORT control uvicorn bind addresses in production.
  • SIXTYTWO_FRONTEND_RENT_DIR overrides where the rent storefront static files live (used by the container image since site-packages installs break the source-relative lookup).
  • sixtytwo setup writes a provider profile and a bootstrap script under .sixtytwo/bootstrap/.
  • sixtytwo doctor --all-nodes validates SSH reachability, nvidia-smi, dcgmi, topology capture, and checkpoint path access before the first live run.

Provider-ready flow

For a real GPU box such as RunPod, Lambda, Vast, or a colocated Ubuntu node:

sixtytwo setup \
  --provider runpod \
  --cluster runpod-prod \
  --checkpoint-dir /workspace/checkpoints

bash .sixtytwo/bootstrap/install-sixtytwo.sh
sixtytwo doctor --json
sixtytwo test --quick --all

For a small SSH-managed cluster:

sixtytwo setup \
  --provider ssh-cluster \
  --cluster prod-h100 \
  --nodes gpu-01,gpu-02,gpu-03 \
  --checkpoint-dir /mnt/checkpoints \
  --ssh-user ubuntu \
  --ssh-key-path ~/.ssh/id_ed25519

sixtytwo doctor --all-nodes
sixtytwo test --full --all

For topology-aware replacement, add rack / switch / rail metadata and a standby pool to sixtytwo.yaml; recovery will prefer the standby that best preserves the failed node's communication shape:

recovery:
  standby_pool: [gpu-14-99, gpu-15-99]
topology:
  racks:
    rack-14:
      switch: tor-14
      power: [pdu-14a, pdu-14b]
      cooling: cdu-7
      nodes: [gpu-14-*]
  rails:
    rail-0: [gpu-14-01:gpu0, gpu-14-99:gpu0]

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

sixtytwo_cli-0.3.1-cp313-cp313-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.13Windows x86-64

sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (25.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

sixtytwo_cli-0.3.1-cp313-cp313-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sixtytwo_cli-0.3.1-cp312-cp312-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.12Windows x86-64

sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

sixtytwo_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

sixtytwo_cli-0.3.1-cp311-cp311-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.11Windows x86-64

sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

sixtytwo_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file sixtytwo_cli-0.3.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dd5366c8d96135f009dd3e7c023a26ccca78b1e1fcc982206fb53d1ae7f1d9dd
MD5 2bc4bc65b6e8039df52c493a1379fd0f
BLAKE2b-256 3db74aac340086d0ba43c60ac850e998bf1b16e0d4b358b24abd053fef20119d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp313-cp313-win_amd64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f34fd41264af602367eea25b4b82dee33b2f322002dc86fac92543e96843f42
MD5 10d4e01e1bb146426008fc22b69edcfb
BLAKE2b-256 d082faaf3d9526397bbdf5325805fda0d730de53c749c43e1f78e163bb586a62

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 845dd797d56cb8ef3dc7f6c31861b52b0ff7e7606bde31903c78e8a25166d976
MD5 f79c07cd94c22063234b8573630f1e12
BLAKE2b-256 af9eac8fa0bb6ababe65a76e42360366efeb401a6f26543f3f39a69e02ed43c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd3d1c32de1d142a75687eb8b12cb520167c40eebab43cb8af516f08f23e07ce
MD5 a8217f562a4e5326c50b9060222ce8f1
BLAKE2b-256 cced234ac4a2ccbc37f28f523098071c2437508ca3eed7d374342e3355b64dbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2ffd91c18467910080900ce0bbb1f1798683fd0b0c2b3a6e39971dc79b8813e0
MD5 0315e8c1e33efe76066d863e11a74df2
BLAKE2b-256 407795b792c01e4db2c80a6cfd03e8ff0208722d3417421b9532839684a35f50

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp312-cp312-win_amd64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e2fe9670c1c724b1756dbdf7336cfb84f950e8fa3d3d7554bc09b22a2d6a8c6
MD5 6d79ffa0c3fb1c6a5c59381641b9952a
BLAKE2b-256 66c5aa44e8e218849400e54f4cc0471beb48aebc10cbd7941988815b4a571b8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fcd9b8032f2f49bbabb1a88bac0fa034e80728da204e48d72b6822fd2342699b
MD5 a5521fabcc8a0ec945038f936980100c
BLAKE2b-256 de112d5e1e729bcd9c6c3da4ce6281bf7840c13b449d2e891588769702d69f19

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0bb6f8550cc457459f63e6467bde077c357bb5106f2d3182de10b89a0cc8deee
MD5 c76489ad822dac2e54612134a691437d
BLAKE2b-256 1fe5bf82323d7c91ebf961e5f88096dc9f07be8b7a78e874ddc153c7a6d0e6db

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 92f939144b3d017ce0d95c2b4391ab2fa91c845cae3d4d92440b24706550a7e4
MD5 1de632067d49c82f841e8f5f6169cae9
BLAKE2b-256 aec9a601533781bac70ad8bb3eba02445ff361ed1042c237e28c4d6b4829d286

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp311-cp311-win_amd64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d30e1832e2caa91d83183b41a6968c8cdac0a90d03bb3e2e50456ab486d1f00
MD5 f35516066b3eccce7fa9e5fccb24a58b
BLAKE2b-256 9fab658fe6ca2c66424dab7a8252d17adc180c535beb78c9b56b73da720e1a1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7236aa00417605ac7a4b7edbeed3f7044e82170f71f5fc406309ef2e3f0c4f95
MD5 1c349016e87561d9762f2c4c90e1f417
BLAKE2b-256 d306fa2eb7e7e9800c47a50c52c787abc6455ac13dce5bb26e7028fe53c52483

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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

File details

Details for the file sixtytwo_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e19852d3ca1a433b22831d63522307ede5f56e1e4a338a1be9bb027fababecb0
MD5 3e3fe6b1e7c060c9905b19b1f6a6b466
BLAKE2b-256 bc5cd3bc9fb1ce00ee6d874935af2262e6f0eb905de078925ad87d9f6ccf0582

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

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