The program for occupation of GPUs.
Project description
Occupied GPU
The program used to occupy GPUs.
Preparation
pip install -r requirements.txt
Usage
To occupy the corresponding GPUs, run:
sh train.sh 0,1,2,3
or
chmod a+x ./train.sh
./train.sh 0,1,2,3
where 0,1,2,3
is the required format.
Note: if you want to run the code in the background, run:
nohup sh train.sh ${GPU_IDS} >> output.log 2>&1 &
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
occupiedgpus-0.0.4.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for occupiedgpus-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5157243ea9bcc5b847d3d6c9dad3b214cd0cea95e371c662870e4707ed138021 |
|
MD5 | f06b5600013aa6ffe8ac2d4eccf64f6b |
|
BLAKE2b-256 | b67a225250bd4ad3ed1f9e8dcf990e0a39f71e29bdcc90fc64adfea4d60cc6f0 |