-
Notifications
You must be signed in to change notification settings - Fork 90
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
Unable to Create Multiple Agents on Specified GPU #207
Comments
@konstantinator can you elaborate on the use case that leads you to running multiple agents running concurrently on the same GPU? |
Hi, @ainoam ! I have 2 GPUs, and my current data training configuration uses just under half of the video memory of one GPU. I've calculated that I can run 4 workers for training to tune optimal training parameters (like tuning the learning rate). |
Hi!
I'm trying to create multiple agents on different GPUs. When I don’t specify a particular GPU, I can create many agents as shown below:
This creates two worker agents with different worker IDs:
However, the issue is that they both use the first of my two available GPUs.
But when I try to create multiple agents on a specific GPU like this:
I encounter an error while creating the second worker; the system reports that the worker ID "agent:gpu1" is already in use. Is there a way to automatically assign indices to such workers, perhaps like "agent:0-gpu1"?
Or is there another way to create multiple agents using a specific GPU?
The text was updated successfully, but these errors were encountered: