Keep GPU is a simple CLI app that keeps your GPUs running
Project description
Keep GPU
Keep GPU is a simple CLI app that keeps your GPUs running.
- 🧾 License: MIT
- 📚 Documentation: https://keep-gpu.readthedocs.io
Features
- Simple command-line interface
- Uses PyTorch and
nvidia-smito monitor and load GPUs - Easy to extend for your own keep-alive logic
TODO ✅
- Add more CLI args (e.g.
--gpu-id,--gpu-ids,--gpu-keep-threshold,--gpu-keep-time,--gpu-keep-vram-usage) - Add documentation
- Add importable Python functions
Installation
pip install keep-gpu
Usage
keep-gpu
Specify the interval in microseconds between GPU usage checks (default is 300 seconds):
keep-gpu --interval 100
Specify GPU IDs to run on (default is all available GPUs):
keep-gpu --gpu-ids 0,1,2
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keep_gpu-0.2.0.tar.gz.
File metadata
- Download URL: keep_gpu-0.2.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cae051f948ffac93fa8100a287f94afaec6a501072e6481cf83ed98c94371cba
|
|
| MD5 |
e73d454d10cec9f4fde261e9e49d2f1c
|
|
| BLAKE2b-256 |
d31dfbad3e9d53953d86beecd835a672a041c73724b32477f322367b28605ddc
|
File details
Details for the file keep_gpu-0.2.0-py3-none-any.whl.
File metadata
- Download URL: keep_gpu-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9345594d3f9215731eebbbe2170cb9d76c52c2c6903c89964be8402aa2418806
|
|
| MD5 |
c59a67d463f76a391d4ec138b78b9f9e
|
|
| BLAKE2b-256 |
59da558e2a1ca48b923f6b1dacfdf88416fd07e5cf28409a344a8a5b5f5a96e7
|