Skip to main content

gpu

Temporary GPU runtimes that stop billing when the work stops.

You declare the model and how long it may live. gpu provisions a machine, starts the model server, and runs your job against it. Shutdown happens on the instance, so closing the laptop does not leave the GPU billing.

Vast.ai is the first provider. Another provider is a new adapter. The lifecycle rule stays the same.

Run

pip install jambu-gpu

cd your-experiment
gpu init --model empero-ai/Qwythos-9B-v2
export VAST_API_KEY=...

gpu validate
gpu setup
gpu run python experiment.py

When you are finished, gpu destroy. If you walk away, the idle timeout does it.

From an application in any language: gpu --json setup returns the OpenAI-compatible base_url, api_key and model, and the app uses any OpenAI SDK. See Integrating gpu into an application, with a ready TypeScript client.

From a coding agent: gpu agent install gives Claude Code (or -t cursor, -t desktop) a skill and local MCP tools to rent a GPU, run the experiment and shut it down. See Letting a coding agent rent GPUs.

As a last line of defense, gpu ls shows every jambu instance in the account and gpu sweep --install-timer sets up a systemd user timer that guards every project on the machine by its own rules and cleans up the orphans no project tracks. See Keeping the account clean.

The API key is read from the environment, a project .env, or ~/.gpu/credentials. It never goes in the manifest.

Declare

gpu_runtime:
  provider: {name: vast}
  model_profile: qwythos-9b
  lifecycle:
    idle_timeout: 15m
    max_lifetime: 6h
  budget:
    max_hourly_cost_usd: 1.50

The file is jambu.yaml. This tool reads only the gpu_runtime: key, so other Jambu tools can share the same file. A full example is jambu.example.yaml.

Docs

License

MIT.

Jambu.ai — Applied Intelligence Lab

Metadata

Release files for jambu-gpu 0.4.0

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

Source distribution (sdist)

Source distribution for jambu-gpu 0.4.0
File Size Uploaded Provenance Actions
jambu_gpu-0.4.0.tar.gz 321.4 kB Without provenance Details for jambu_gpu-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jambu-gpu 0.4.0
File Interpreter ABI Platform Actions
jambu_gpu-0.4.0-py3-none-any.whl Python 3 none any Details for jambu_gpu-0.4.0-py3-none-any.whl

Total release size: 458.4 kB

Release files / jambu_gpu-0.4.0.tar.gz

Download URL jambu_gpu-0.4.0.tar.gz
Size 321.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7ef22de7f747717dedd92bdc3be65733313187e68edf20fc05ac88fcfc068d78
BLAKE2b-256 checksum
How to use checksums
4c9bc8ee523365206722473240a0bb832d34f92945b83d427bfff5480110bc78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / jambu_gpu-0.4.0-py3-none-any.whl

Download URL jambu_gpu-0.4.0-py3-none-any.whl
Size 136.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c3d19f80de32e9a8561785f7647313ce2f100fbaa0275fa3e80d2c726754cb0
BLAKE2b-256 checksum
How to use checksums
b0d74456ba992fcc5942b0a75cc362bccbe8da2aefe62eb310d117f87576a44a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for jambu-gpu 0.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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