setGPU

A small Python library that automatically sets CUDA_VISIBLE_DEVICES to the least-loaded GPU on multi-GPU systems.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install setgpu

Dependencies

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.0.7 2017-03-21
0.0.6 2017-03-03
0.0.5 2017-03-03
0.0.4 2017-03-02
0.0.3 2017-03-02
0.0.2 2017-03-02
0.0.1 2017-03-02

Issues with this package?

Page last updated 2026-09-03 13:35:21 UTC