-
Notifications
You must be signed in to change notification settings - Fork 270
Qualify NVIDIA GPUs by per-device CUDA compute capability #1195
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:not-repro-on-mainClawSweeper found high-confidence evidence that this issue no longer reproduces on main.ClawSweeper found high-confidence evidence that this issue no longer reproduces on main.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:not-repro-on-mainClawSweeper found high-confidence evidence that this issue no longer reproduces on main.ClawSweeper found high-confidence evidence that this issue no longer reproduces on main.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.
Type
Fields
Priority
None yet
Projects
StatusShow more project fields
Backlog
Problem
The NVIDIA hardware probe records the global CUDA driver API version from
nvmlSystemGetCudaDriverVersion_v2and copies its major version onto every detected GPU asCudaMajorVersion.openclaw-windows-node/src/OpenClaw.Shared/Inference/NvmlHostHardwareProbe.cs
Lines 174 to 207 in 31dffdb
Eligibility then compares that global driver value with the runtime CUDA version and reports
CudaCapabilityTooLow:openclaw-windows-node/src/OpenClaw.Shared/Inference/Catalog/LocalInferenceEligibility.cs
Lines 121 to 138 in 31dffdb
The CUDA driver API version and a GPU's compute capability are different facts. The current code does not call the per-device
nvmlDeviceGetCudaComputeCapabilityAPI and therefore does not prove that each selected GPU architecture is supported by the pinned llama-server CUDA build.NVIDIA documents the per-device query here:
https://docs.nvidia.com/deploy/nvml-api/group__nvmlDeviceQueries.html
Impact
A sufficiently new installed driver can satisfy the global CUDA-version check without establishing that a particular GPU is compatible with the architecture set supported by the pinned runtime artifacts. On mixed-generation systems, eligibility can select a device without explicit per-device compatibility evidence and discover the incompatibility only after downloading and launching the runtime.
Expected behavior
Tests
Add coverage for:
Tracking requested by @joelagnel.