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.8.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for occupiedgpus-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df47c99162e180b5796608d07d1bf017abd4e9e362fef4de7e45539c82c08044 |
|
MD5 | 8200ab9beab53f42a18f2ad9286d9bec |
|
BLAKE2b-256 | 0e916577bc33d9912071930a08c884a5c234e5c95f00947efca5cb8eb7ab47d8 |