Skip to main content

KeepGPU

PyPI Version Docs Status DOI

KeepGPU is a small, polite GPU keeper for shared machines. It allocates only when utilization backoff permits, keeps the requested VRAM signal lightweight, and releases cleanly when you are done.

Quick Start

pip install keep-gpu
keep-gpu --gpu-ids 0 --vram 1GiB --interval 60

Press Ctrl+C to release. CUDA, ROCm/HIP, and Apple Silicon MPS are supported when PyTorch can see the target device.

Documentation

Metadata

Release files for keep-gpu 1.0.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 keep-gpu 1.0.0
File Size Uploaded
keep_gpu-1.0.0.tar.gz 105.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keep-gpu 1.0.0
File Interpreter ABI Platform
keep_gpu-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 221.3 kB

Release files / keep_gpu-1.0.0.tar.gz

Download URL keep_gpu-1.0.0.tar.gz
Size 105.9 kB
Tags Source
SHA-256 checksum
How to use checksums
31159361bd4a79e9c659d7fed918575d7b0cd3587df6ee07bb261f938aff8b5c
BLAKE2b-256 checksum
How to use checksums
fb507805b4b9baee2d13a0392cc23590213c92c85f5b90e2243efb146c961895
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / keep_gpu-1.0.0-py3-none-any.whl

Download URL keep_gpu-1.0.0-py3-none-any.whl
Size 115.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ddb1f8a504e3277367e088a173d7024de5f469afa93a08a93cc7ce3a9dd92ba
BLAKE2b-256 checksum
How to use checksums
33b7903c10732ecd162308964b2bd2229ab7ba40558ee8594e68007d5f246674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

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