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.5.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for occupiedgpus-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e3c7f9469cee4936f88496a9b22111b6a297ce041af5bb0e181aae7157b57a |
|
MD5 | efad4335863fae95177fd504535385aa |
|
BLAKE2b-256 | cf13c72af07a198b358b5e408839ff199536629d19f94314ae2eaf0b7074d2bd |