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

Finer-grained GPU reservation #8

Open
superbobry opened this issue Oct 11, 2018 · 1 comment
Open

Finer-grained GPU reservation #8

superbobry opened this issue Oct 11, 2018 · 1 comment

Comments

@superbobry
Copy link
Contributor

Currently, tf-yarn is only able to reserve GPUs with node-level granularity, i.e. it assumes that a GPU node has a capacity of a single container, and then uses all of the GPUs on that node. It is possible to restrict tf-yarn container to a subset of GPUs:

  • augment TaskSpec with num_gpus field,
  • prior to running _dispatch_task discover which GPUs are not in use, and list them explicitly in CUDA_VISIBLE_DEVICES.
@superbobry
Copy link
Contributor Author

Another solution would be to switch to Hadoop 3.X which supports Nvidia GPUs natively.

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

1 participant