Code Monkey home page Code Monkey logo

clobber's Introduction

Hi, I'm Willard 🦎 πŸ³οΈβ€πŸŒˆ 🐧 πŸ‘Ύ

Computer Engineer, Linux Fanatic, DevOps Goblinβ„’

Backend programmer at Datadog. In my freetime, I write code and maintain infrastructure for NYC Mesh.

πŸ³οΈβ€βš§οΈ πŸ³οΈβ€πŸŒˆ ❀️

clobber's People

Contributors

willnilges avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ethanf108

clobber's Issues

Clobber 0.1.3 doesn't correctly detect Containerized GPU activity

jet:~:% nvidia-smi
Mon Apr 10 23:03:23 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.161.03   Driver Version: 470.161.03   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla K80           Off  | 00000000:39:00.0 Off |                    0 |
| N/A   76C    P0    77W / 149W |   3394MiB / 11441MiB |     95%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K80           Off  | 00000000:3A:00.0 Off |                    0 |
| N/A   35C    P8    31W / 149W |      3MiB / 11441MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   2  GRID M40            Off  | 00000000:88:00.0 Off |                  N/A |
|  0%   31C    P8     8W /  53W |      3MiB /  4043MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   3  GRID M40            Off  | 00000000:89:00.0 Off |                  N/A |
|  0%   30C    P8     8W /  53W |      3MiB /  4043MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   4  GRID M40            Off  | 00000000:8A:00.0 Off |                  N/A |
|  0%   25C    P8     8W /  53W |      3MiB /  4043MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   5  GRID M40            Off  | 00000000:8B:00.0 Off |                  N/A |
|  0%   26C    P8     8W /  53W |      3MiB /  4043MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A   1807994      C   /usr/bin/python3                 2679MiB |
+-----------------------------------------------------------------------------+
jet:~:% clobber
GPU 0 is not being used
GPU 1 is not being used
GPU 2 is not being used
GPU 3 is not being used
GPU 4 is not being used
GPU 5 is not being used

De-duplicate "using" messages

Turn

wilnil is currently using GPU 0.
wilnil is currently using GPU 0.
wilnil is currently using GPU 2.

Into

wilnil is currently using GPU(s) 0, 2.

Daemonize

Allow Clobber to run continuously in the background so it can detect when GPU processes spin up,

Queuing system

Clobber already knows who is using a GPU... why not let people queue up jobs using it!?

clobber --queue "<your command here> --gpus <list of gpus>" will tell clobber to store your command, then launch it as you when enough GPUs are free. That way, you can just queue it up and walk away, and you won't have to check back, or slack anybody to see if you can run something.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.