-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Add gpu_limit to make_pod_spec #421
Conversation
Some CI errors maybe due to new major release of kubernetes_asyncio ref #419 ?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! With GPUs on Kubernetes the limit and request must always be set to the same value, I wonder if we should not expose two different options.
As you say AMD GPUs and also be configured via extra pod config, along with NVIDIA MIG.
Ah interesting, didn't know. Agreed :) Is it similar behaviour to memory, i.e. make a pod with memory limits and k8s will automatically set memory requests to the same value? In that case could leave only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woo this looks great! Many thanks.
memory_limit
docstring: fractions (float) and 'GB' (str, internally converted to 'GiB') are supported by--memory-limit
(CLI docs) but not by k8s' Pod resources spec (k8s docs). It took me some time to find this out also ref Distributed LocalCluster'smemory_limit
keyword argument needs documentation dask#8224amd.com/gpu
along withmemory
andcpu
requests/limits toextra_pod_config
instead of using the separate request/limit args.