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.
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
- Commands, workloads, and agents
- Every config field
- Choosing a model
- How shutdown works
- Adding a provider
- Contributing
License
MIT.
Release files for jambu-gpu 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jambu_gpu-0.1.0.tar.gz | 169.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jambu_gpu-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 256.0 kB
Release files / jambu_gpu-0.1.0.tar.gz
| Download URL | jambu_gpu-0.1.0.tar.gz |
|---|---|
| Size | 169.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d323094221f9aa5b6df2f789197cccee3c90e06df47962ee1008da79563bc36
|
|
BLAKE2b-256 checksum How to use checksums |
8903f1dd491337597785521c1fc95060fc39daf53f9263035b265e9d565ffaa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.26
|
Release files / jambu_gpu-0.1.0-py3-none-any.whl
| Download URL | jambu_gpu-0.1.0-py3-none-any.whl |
|---|---|
| Size | 86.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
365223a304d2311d67da7ee62670e3b79763e68ca3059c6eaf4f58f9d99aae3a
|
|
BLAKE2b-256 checksum How to use checksums |
00411c80d222b796464504303e245d9d77e6e884c8aff2323a1deb4a0053a8dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.26
|