Comments (5)
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.
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.
hey @crichardson332 have you had the chance to test it?
from genv.
Related Issues (10)
- Configure CUDA and other library versions HOT 2
- zsh error HOT 4
- genv-help: command not found HOT 8
- Multi-machine support HOT 9
- Failing `genv attach` commands detach shell
- Incompatible with Anaconda HOT 6
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 2
- gev.ray.remote does not work on classes
- genv enforce is not terminating the process when using ray
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genv.