A Python library that automatically sets multiple gpus.
Project description
allocGPU
A small Python package that automatically sets multiple least-loaded gpus
How to use the package
After installing the package by
pip install allocGPU
Import allocGPU at the beginning of your main .py
file by
import allocGPU
You will receive the following message in your terminal
Number of GPUs:
You can input the number of gpus and press Enter
to run the program
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
allocGPU-0.0.6.tar.gz
(6.0 kB
view details)
File details
Details for the file allocGPU-0.0.6.tar.gz
.
File metadata
- Download URL: allocGPU-0.0.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b55164bc75bc7d4c0cc048609d1931c2b231790676a771df6a1a946ae05ebec |
|
MD5 | b617043d988476bb3bcb275d9348308c |
|
BLAKE2b-256 | 2d4f1419ea21b706aede235f3ce022fbcdea8cd4f8e9e093b8b0be79b871d0bd |