mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[PR #36] read_sm_rates: filter by UUID on multi-GPU hosts and probe the device minor #93
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JustAResearcher/gpu-unlock-ada#93
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?
📋 Pull Request Information
Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/36
Author: @d4mer
Created: 10/25/2026
Status: 🔄 Open
Base:
main← Head:sm-rates-multigpu📝 Commits (1)
579d25aread_sm_rates: filter by UUID on multi-GPU hosts and probe the minor📊 Changes
1 file changed (+18 additions, -4 deletions)
View changed files
📝
tools/read_sm_rates.py(+18 -4)📄 Description
Summary
Two assumptions in
tools/read_sm_rates.pybreak on hosts with more than one GPU:/dev/nvidia0was assumed to be the requested card. The nvidia-smi index does not always equal the/dev/nvidiaNminor, and the minor assignment need not follow PCI ascending order. The main entry point now probes minors 0–15 until the RM device allocation succeeds.Verified live
Dual-GPU host (RTX 5060 Ti + RTX 4060 Ti): the 4060 Ti was nvidia-smi index 1 but
/dev/nvidia0minor 0 on one boot, and the Blackwell card fails the RM allocation outright (status0x1b), so the first successful minor is unambiguously the requested Ada card. The fullmake testsuite (29 tests, 3 skipped) passes against this branch, including the mockedSmRateProbeTests.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.