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

Allow configuring automatic resource detection in a granular way #729

Open
Kobzol opened this issue Jul 22, 2024 · 0 comments
Open

Allow configuring automatic resource detection in a granular way #729

Kobzol opened this issue Jul 22, 2024 · 0 comments

Comments

@Kobzol
Copy link
Collaborator

Kobzol commented Jul 22, 2024

Sometimes some part of automatic worker resource detection might be broken on a given cluster (e.g. it wrongly detects AMD GPUs). In that case, --no-detect-resources must be used, but that also disables the automatic detection of other resources, which might be otherwise working, which is annoying.

It would be nice if it was possible to selectively choose which resources should be detected automatically. For example like this:

$ hq worker start --detect-resources=gpus/nvidia,gpus/amd,memory,cpus

The default would be value shown above (currently the only resources HQ can detect), but users could selectively turn off some of them.

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