Giter Site home page Giter Site logo

Comments (5)

ioga avatar ioga commented on June 12, 2024 1

hello, as a note, we generally don't support or test such configurations ourselves today, but we'd love to hear about your experience with this.

there's a determined-agent --config-file <PATH> CLI option you can use to specify a config file path. you'd need to hack the services somehow to use it as we don't provide a way to configure that today.

I believe you'd probably also need to set CUDA_VISIBLE_DEVICES for each agent to compartmentalize their cards appropriately.

I assume on master side you're going to set up a resource pool for each individual owner. Please note that open-source edition does not have a way to prevent someone from using the "wrong" resource pool, so there's still be a need for an honor system of sorts.

from determined.

ioga avatar ioga commented on June 12, 2024 1

that's correct, an agent can only be in one resource pool. it'll indeed be a limitation of this setup.

I believe to achieve what you are trying to do you could

  1. switch to kubernetes
  2. in k8s, create namespaces with quotas for individual teams, and an unlimited namespace for the "larger experiments".
  3. in det, create an RP per namespace.

then you'll end up having both "limited" and "unlimited" RPs you can use with your workspaces.

from determined.

samjenks avatar samjenks commented on June 12, 2024

Interesting, that did the trick as far as passing the config, need to work out the resulting connection issues where the second agent fails to connect to the master node.

Does the visible-gpus option in the config not isolate the GPUs for each agent? Or will the agent use GPUs not listed in its visible-gpus?

I was planning on creating workspaces for each owner and then binding a number of resources to them with a shared pool for communal use. Is that what is on the honor system? I assume that means that someone in a workspace can use resources bound to other's workspaces?

from determined.

ioga avatar ioga commented on June 12, 2024

need to work out the resulting connection issues where the second agent fails to connect to the master node.

ah, you may need to explicitly set the agent name as well. by default it comes from the server hostname and we disallow duplicates.

Does the visible-gpus option in the config not isolate the GPUs for each agent? Or will the agent use GPUs not listed in its visible-gpus?

yes that might work.

I was planning on creating workspaces for each owner and then binding a number of resources to them with a shared pool for communal use. Is that what is on the honor system? I assume that means that someone in a workspace can use resources bound to other's workspaces?

in OSS edition, a user can go and create their job in the "wrong" workspace to get the access to the "extra resources". by "honor system" I mean that you'll need to "educate" your users no to do this.

from determined.

samjenks avatar samjenks commented on June 12, 2024

ah, you may need to explicitly set the agent name as well. by default it comes from the server hostname and we disallow duplicates.

This ended up being the fix.
Last question, can an agent be a part of multiple resource pools?
My previous approach idea was to create a shared resource pool that larger experiments could pull from but in attempting this it appears experiments are limited to a single pool of resources at a time. Is that correct?

from determined.

Related Issues (20)

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.