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.6.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for occupiedgpus-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a897009928ad0e7b692daa1fa7c5d4d1539d84eb591f225ebb45721bb32e5a9e |
|
MD5 | 354c5855fd94d5e8706903500ed31b9c |
|
BLAKE2b-256 | 399dff7df1a3af9e4f25f7456c075e09e16299a5b3f1c98626636ba572bb1203 |