Giter VIP home page Giter VIP logo

Comments (5)

razrotenberg avatar razrotenberg commented on May 21, 2024

hi @crichardson332 and thanks for reaching out!
this sounds like a super relevant capability to add to Genv.
I also think that it won't take long to implement.

just to make sure, are you using the command genv remote enforce from one of the machines (with admin privileges) and want to enforce the usage of GPUs by students that are using genv remote activate commands?

or your setup includes only a single machine and we are talking about genv enforce and genv activate (w/o remote)

from genv.

razrotenberg avatar razrotenberg commented on May 21, 2024

hi @crichardson332
I just released Genv 1.1.0 which includes the functionality you asked for.
Although I agree that a configuration file is best for this case, it is not yet implemented in this way, and could be in a future version.

For now, you can pass the new --max-devices-for-user argument to genv enforce and genv remote enforce commands.
Using this argument you can pass user-specific maximum values for users.
It should be passed together with the existing --max-devices-per-user.

For example, by passing --max-devices-per-user 1 --max-devices-for-user john=3 paul=2, you enforce all users to use a single device at most, except for John and Paul which are allowed to use 3 and 2 respectively.

You can see more information here

Please let me know if this works for you or not.
Waiting to hear from you, and thanks again for reaching out!

from genv.

razrotenberg avatar razrotenberg commented on May 21, 2024

hey @crichardson332 have you had the chance to test it?

from genv.

Related Issues (10)

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.