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.3.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for occupiedgpus-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400c84955e98a4bfc0eb1b664100f59cd1a66daf9693e640193c5f6975e45994 |
|
MD5 | e6b30c69cd62ad275c0088798c7438df |
|
BLAKE2b-256 | a8bfc9711aab517d12df578b28006c35ad07d8aa9924fe78d76324d5c3d4a680 |