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 ~/.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.3.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.3.1
File Size Uploaded Provenance Actions
jambu_gpu-0.3.1.tar.gz 299.1 kB Without provenance Details for jambu_gpu-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 417.1 kB

Release files / jambu_gpu-0.3.1.tar.gz

Download URL jambu_gpu-0.3.1.tar.gz
Size 299.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a52976d0b7d8f9ef391f48985194a379f1f09c2c2930382ccf36362614ec8115
BLAKE2b-256 checksum
How to use checksums
fb921bc565d3acc0ca0582012c08b5d6922c9a0c37c66e6848f19250bef73ee1
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.3.1-py3-none-any.whl

Download URL jambu_gpu-0.3.1-py3-none-any.whl
Size 118.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b0b3e81f4a371c5de7d84ef5e4911e1900ff982d4f2d28c0c8fde546b30e0ea
BLAKE2b-256 checksum
How to use checksums
bb5e19b2f0b8d3a07edefd1d3285e614e886a8ad883b37f8925a3a76c5b13957
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.3.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