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 &
Metadata
Release files for occupiedgpus 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| occupiedgpus-0.0.8.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| occupiedgpus-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / occupiedgpus-0.0.8.tar.gz
| Download URL | occupiedgpus-0.0.8.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab27c27d0076567d3eab77c56ad55e040ea19dbafac11550fa2c4d5c65be11da
|
|
BLAKE2b-256 checksum How to use checksums |
ba29bd3930526128f5c457e85b6746a505b9b6587a1861e9e4712f632cd0b1b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Release files / occupiedgpus-0.0.8-py3-none-any.whl
| Download URL | occupiedgpus-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df47c99162e180b5796608d07d1bf017abd4e9e362fef4de7e45539c82c08044
|
|
BLAKE2b-256 checksum How to use checksums |
0e916577bc33d9912071930a08c884a5c234e5c95f00947efca5cb8eb7ab47d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|