Skip to main content

A Python library that automatically sets multiple gpus.

Project description

allocGPU

A small Python package that automatically sets multiple least-loaded gpus

How to use the package

After installing the package by

    pip install allocGPU

Import allocGPU at the beginning of your main .py file by

    import allocGPU

You will receive the following message in your terminal

    Number of GPUs:

You can input the number of gpus and press Enter to run the program

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

allocGPU-0.0.6.tar.gz (6.0 kB view hashes)

Uploaded Source

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