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.

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 ~/.jambu/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.2.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.2.0
File Size Uploaded Provenance Actions
jambu_gpu-0.2.0.tar.gz 238.3 kB Without provenance Details for jambu_gpu-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 354.5 kB

Release files / jambu_gpu-0.2.0.tar.gz

Download URL jambu_gpu-0.2.0.tar.gz
Size 238.3 kB
Tags Source
SHA-256 checksum
How to use checksums
16c61a36de88cf1fc77fe3ea23bff6434ca088598ad4f8ef2d1e9034becf2bd5
BLAKE2b-256 checksum
How to use checksums
14cbaadfa38766190d030db0b6cc5ca1ac36c18798fac5cb949376bef6b9722a
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.2.0-py3-none-any.whl

Download URL jambu_gpu-0.2.0-py3-none-any.whl
Size 116.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6eda98e851dde8a5dc51c1873c61fb7affd5f7ad3343ae63d945f84c9cd5bf6
BLAKE2b-256 checksum
How to use checksums
93693dd46226b911a96984c78de382d445c4d7dd3852f695bb9ae1d79919353d
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.2.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