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.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.3.0
File Size Uploaded Provenance Actions
jambu_gpu-0.3.0.tar.gz 239.5 kB Without provenance Details for jambu_gpu-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 356.4 kB

Release files / jambu_gpu-0.3.0.tar.gz

Download URL jambu_gpu-0.3.0.tar.gz
Size 239.5 kB
Tags Source
SHA-256 checksum
How to use checksums
98a0a71553dbad0dd620f54f920bd00c00f5282bd58f5677cd1b33cbaa3ae20a
BLAKE2b-256 checksum
How to use checksums
b0d798e4fdfc0ec660df85da3e39b663bdde0eee7bd1f14ace2a39239375d07d
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.0-py3-none-any.whl

Download URL jambu_gpu-0.3.0-py3-none-any.whl
Size 117.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92340f6d93aa224efe313557c85c7c011956703704cd454ff8002b3535c4e71a
BLAKE2b-256 checksum
How to use checksums
6c5765d26d622516a2ccbabfe1be4e4058c014e1c9ca66adc84f6cdbed18575a
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.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