Skip to content

cgpeter96/GrabGPU

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Grab the GPUs to run your own code!

NOTE

please recompile the gg.cu

Download (downward compatibility)

CUDA 10.1:

wget https://github.com/godweiyang/GrabGPU/releases/download/v1.0.0/gg_cu101

CUDA 11.0:

wget https://github.com/godweiyang/GrabGPU/releases/download/v1.0.0/gg_cu110

CUDA 11.2:

wget https://github.com/godweiyang/GrabGPU/releases/download/v1.0.0/gg_cu112

Compile the source code

nvcc gg.cu -o gg -std=c++11

Run default script

Usage:

./gg <GPU Memory (GB)> <Occupied Time (h)> <GPU ID>

Example:
Occupy 16 GB GPU memory for 24 hours using GPU 0, 1, 2, 3 to run default script.

./gg 16 24 0,1,2,3

Run your own script

Usage:

./gg <GPU Memory (GB)> <Occupied Time (h)> <GPU ID> <OPTIONAL: Script Path>

Example:
Occupy 16 GB GPU memory using GPU 0, 1, 2, 3 to run your own run.sh. Note that the occupied time here is useless.

./gg 16 24 0,1,2,3 run.sh

About

Grab GPU whenever available

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 100.0%