Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-machine support #21

Open
fredmontet opened this issue Jan 12, 2023 · 9 comments
Open

Multi-machine support #21

fredmontet opened this issue Jan 12, 2023 · 9 comments

Comments

@fredmontet
Copy link

As part of an AI focused institute, genv is a great tool to handle single machines. However, we have a parc composed of many machines. Are there any plans on your side to support/develop features going in the direction of handling the GPU availability in a cluster or simply multiple machines?

@EkinKarabulut
Copy link
Collaborator

@fredmontet Thank you very much for pointing it out!

After getting the same request from another institute, we recently added genv remote as a feature, which is for handling multiple machines with GPUs. You can check it out here in the documentation.

Let me know if it doesn't work for you or you need something more specific - always happy to help :)

@razrotenberg
Copy link
Contributor

Hi @fredmontet!
Have you had the chance to check out remote features in Genv?

We are improving them overtime and getting feedback would be super helpful in pointing the things that we should focus on.

Let me know if you have some availability for it.
Thanks in advance!

@yix081
Copy link

yix081 commented Mar 27, 2023

Hi. great work.

Is there a way to handle servers with different kinds of GPUs? We can specify what kind of gpu to use.

Also, how do I handle files (e.g. data) in different servers?

@davidLif
Copy link
Collaborator

Hi @yix081,

Right now you cann't specify a gpu type as part of your environment configuration.
However, You can specify memory requirments for your environment. Gpus without enoght memory won't be reserved to the environment when you activate it.

What do you mean when you say "handeling data on different servers"?

@yix081
Copy link

yix081 commented Mar 28, 2023

We have an nfs server storing data or experiments log, and each server also stores some files locally. If it is managed by genv, how does it specify the storage resource?

@davidLif
Copy link
Collaborator

Genv doesn't manage storage resources. It focus on GPU management.

@yix081
Copy link

yix081 commented Mar 28, 2023

Does Run:AI have such solution?

@razrotenberg
Copy link
Contributor

hi @yix081!
so neither Genv or Run.ai manage NFS, they both let you use it however.

meaning, in Genv you would need your system administrator to mount a shared NFS storage to all the remote hosts.
after that, using Genv remote features would be an option for you as you will have access to this NFS storage after activating an environment on a remote host (i.e. genv remote activate.

Run.ai also does not manage NFS, which should be done by the system administrator, but let's you mount it into Pods that are running in your cluster.

does that answer your question?
can you make the NFS accessible to all remote hosts? (better to have them mounted at the same path as well)
if so, does that make Genv or Run.ai useful for you?

or maybe I'm missing something here and would very much be happy to understand your use case better.

btw, NFS is only one option, you can also use other storage solutions like S3, etc.

@yix081
Copy link

yix081 commented Mar 29, 2023

That makes sense. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants