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.1

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.1
File Size Uploaded Provenance Actions
jambu_gpu-0.4.1.tar.gz 323.1 kB Without provenance Details for jambu_gpu-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 460.7 kB

Release files / jambu_gpu-0.4.1.tar.gz

Download URL jambu_gpu-0.4.1.tar.gz
Size 323.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e259ef116a326a39bbc3f264489d407c6f22b0c3e1f18874884ba2021d1cafec
BLAKE2b-256 checksum
How to use checksums
15348eb6fc156b6f157cf39699e6e2370f4383b9d00aa86fec79501b54a2c1c7
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.1-py3-none-any.whl

Download URL jambu_gpu-0.4.1-py3-none-any.whl
Size 137.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0a3d1e4eab27155292da34887b510540d602c71688a0ba4bf3092aa51c88d5f
BLAKE2b-256 checksum
How to use checksums
6fa8a098938a8320de0d5c60e0016ef6021e71f42b99fee2b70e8db6ebcf884f
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.1

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