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.7.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for occupiedgpus-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c98c20ac1b9dff77734fdbecac5f6026e01b9ce3e7c9b6fd917be227808e0c1 |
|
MD5 | e2e1d1ed9077a9845d03c8b9c1c64a88 |
|
BLAKE2b-256 | d2f0baa7819290d952d022199d612154d5ab109d89d8b7a7b61b73d3869d99ce |