https://github.com/r00tman/gpurun
Find free gpus and run stuff from argv on them
https://github.com/r00tman/gpurun
Last synced: about 2 months ago
JSON representation
Find free gpus and run stuff from argv on them
- Host: GitHub
- URL: https://github.com/r00tman/gpurun
- Owner: r00tman
- Created: 2018-08-23T18:53:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T19:17:50.000Z (over 6 years ago)
- Last Synced: 2025-03-24T07:07:24.691Z (about 2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gpurun
Find free gpus and run stuff from argv on them## Usage
Install dependencies: ```pip3 install gpustat```Example usage: ```./gpurun.py -n 2 env```
That one tries to find 2 free gpus and then runs ```env``` with ```CUDA_VISIBLE_DEVICES``` properly set