Skip to main content

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.4.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

occupiedgpus-0.0.4-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page