Skip to main content

argus-iris

CI PyPI License: MIT

A GPU lease broker for a small fleet of mixed cards. Image generation, LLMs, speech and training jobs share a few GPUs, each assuming it owns the card, until one of them runs out of memory. iris decides whether a job may start now, on which node, and which idle model must be unloaded first. It never runs the work.

Try the guided demo: the published broker and its real dashboard, replayed on simulated cards (how it was recorded).

The demo: a guided tour beside the dashboard, with a batch job running, a training job queued and an interactive job granted ahead of it

 callers (argus-cortex client)          dashboard          Prometheus
       │ leases, heartbeats                │ SSE               │
       ▼                                   ▼                   ▼
 ┌───────────────────────── broker (:8120) ─────────────────────────┐
 │  queue and admission · VRAM ledger · residency policy · registry │
 │  adapters: ComfyUI · Ollama · argus-http · external              │
 └────────┬──────────────────────┬──────────────────────┬───────────┘
   agent @ rtx3090        agent @ rtx4060        agent @ gtx1070
   NVML, cgroups, allow-listed container start/stop/restart

What it does

  • Reserves VRAM. With admission: enforce, a lease that does not fit is queued, sent to another node that has room, or given room by evicting the least recently used idle models. Priority classes age, so nothing starves.
  • Checks the GPU, not the service. An eviction counts only when NVML shows the memory came back. What a service keeps anyway (a CUDA context, an allocator cache) is measured and reported.
  • Survives clients that don't clean up. Leases expire without heartbeats. A job that heartbeats but does no GPU work is flagged as stalled and asked to yield.
  • Fails open. If the broker is down, the client falls back to its local lease and work continues.
  • Is adopted gradually. Admission starts in observe, and each residency rule only reports until it says enforce: true.
  • Finds services itself. Services register with a URL and a token; the node agents' container inventory says where they run. A caller can never name a host for the broker to contact.

Try it

You need Docker with the NVIDIA container runtime, and Compose.

git clone https://github.com/smk762/argus-iris && cd argus-iris
cp deploy/.env.example deploy/.env               # set IRIS_AGENT_NODE, IRIS_AGENT_TOKEN and HOST_IP (this host's LAN IP)
cp deploy/iris.example.yaml deploy/iris.yaml     # set your nodes and services
docker compose build && docker compose up -d     # broker and agent on this host

Open http://<HOST_IP>:8120/ui/. Ports bind to localhost unless HOST_IP is set. Read SECURITY.md before exposing either port: the agent holds the Docker socket.

Or from PyPI: pip install 'argus-iris[server,cli]' for the broker, pip install 'argus-iris[agent,cli]' for a node.

Read more

  • DESIGN.md: the problem, admission, scheduling and eviction, and what is built or still planned.
  • docs/operating.md: deployment, adding services and GPU hosts, leases, the service directory.
  • .octopus/: deploying with Octopus Deploy, staging first, with runbooks.
  • SECURITY.md: what each port can do, and how it is guarded.

Develop

make install   # venv + editable install with the "dev" extras
make test
make lint

The version comes from git tags (hatch-vcs). CI and release use the shared argus-ci workflows; a v* tag publishes to PyPI and GHCR.

iris is part of the Argus suite. The client and wire models live in argus-cortex.

Metadata

Release files for argus-iris 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argus-iris 0.2.4
File Size Uploaded Provenance Actions
argus_iris-0.2.4.tar.gz 422.9 kB With provenance Details for argus_iris-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argus-iris 0.2.4
File Interpreter ABI Platform Actions
argus_iris-0.2.4-py3-none-any.whl Python 3 none any Details for argus_iris-0.2.4-py3-none-any.whl

Total release size: 554.2 kB

Release files / argus_iris-0.2.4.tar.gz

Download URL argus_iris-0.2.4.tar.gz
Size 422.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c3035e6e59913d388702def15fd08656d0e45ac82ffcb07d1e52c8a4fed0c98d
BLAKE2b-256 checksum
How to use checksums
ec6a82b53cd729237039572f4bd1adab43e3f9cbd79d449ec1782166ae6b174c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / argus_iris-0.2.4-py3-none-any.whl

Download URL argus_iris-0.2.4-py3-none-any.whl
Size 131.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd2f51631f6769c326a1a23bb6b8e12c458d6bbf89fc8b83d1b576e378ac07cc
BLAKE2b-256 checksum
How to use checksums
388d53a13ba7b2752448f85947bc02021039ce30f0f8c127aa28b49260e93a0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for argus-iris 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for argus_iris-0.2.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page