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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keep_gpu-1.0.0.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keep_gpu-1.0.0-py3-none-any.whl (115.4 kB view details)

Uploaded Python 3

File details

Details for the file keep_gpu-1.0.0.tar.gz.

File metadata

  • Download URL: keep_gpu-1.0.0.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for keep_gpu-1.0.0.tar.gz
Algorithm Hash digest
SHA256 31159361bd4a79e9c659d7fed918575d7b0cd3587df6ee07bb261f938aff8b5c
MD5 6bf3053ecdca28192cf8c47f7bc80ed5
BLAKE2b-256 fb507805b4b9baee2d13a0392cc23590213c92c85f5b90e2243efb146c961895

See more details on using hashes here.

File details

Details for the file keep_gpu-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: keep_gpu-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 115.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for keep_gpu-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ddb1f8a504e3277367e088a173d7024de5f469afa93a08a93cc7ce3a9dd92ba
MD5 c11be30408d3a3635bcda788367f9bf8
BLAKE2b-256 33b7903c10732ecd162308964b2bd2229ab7ba40558ee8594e68007d5f246674

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0.post3

2 files

0.1.0.post2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page