mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #60] [Question] Custom criteria for select_devices #37
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ioslide on GitHub (Mar 17, 2023).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/60
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
Motivation
Can "select_devices" be updated to specify a GPU and policy? If the policy is set to "queue", the specified GPU can be held until it meets the requirements.
Solution
No response
Alternatives
No response
Additional context
No response
@XuehaiPan commented on GitHub (Mar 17, 2023):
You can pass
devicesargument toselect_devices. Maybe also addsort=False.For
nviselCLI, useCUDA_VIRIBLE_DEVICESand--no-sort(-S):You can write your own logic about that. It may be too complex to add in
nvitop.selectnatively.@XuehaiPan commented on GitHub (Mar 17, 2023):
Closing for it is a specific usage and really depends on the hardware setup. Workload management is kind of out of topic. You can always write your own logic for device selection or use specialized software like
slurm.