ocf_hpc: add bounded CUDA driver diagnostics and maintenance guidance - #1496
Draft
bluetopazz wants to merge 1 commit into
Draft
ocf_hpc: add bounded CUDA driver diagnostics and maintenance guidance#1496bluetopazz wants to merge 1 commit into
bluetopazz wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
A successful
nvidia-smiquery does not establish that CUDA can initialize. This replacement for #1493 installs a manual host diagnostic for basic CUDA driver availability and documents how to validate recovery through Slurm before reopening the node.The pre-commit hook runs hardware-independent unit tests, not the live diagnostic. Deployment installs only the diagnostic file through
ocf_hpc::compute; driver packages, UVM startup configuration, services, and scheduler policy are unchanged.Changes from #1493
--expected-gpus Nusing an administrator-confirmed inventory, with no hardcoded historical GPU count.--compact, and existing report fields. Addscope: "basic_cuda_driver"andexpected_gpu_count. Passing checks do not claim successful per-GPU computation, free memory, Slurm correctness, or complete inventory without an expected count.The production diagnostic is 232 lines versus 226 in #1493. Most additional lines are regression tests; the patch remains confined to the original five files.
Local validation
git diff --checkpassed. Python 3.7 runtime execution has not been performed.compute.pp.Existing full-suite bootstrap limitation
make testwas attempted. The unchangedvenv-update==4.0.0bootstrap installs pip 18.1, which then fails on the local Python 3.11 environment withImportError: cannot import name 'Mapping' from 'collections'. It stops before the repository-wide hooks. This PR does not modify that legacy tooling.Outstanding before deployment
This is a draft because the following checks remain unverified:
No live node maintenance or GPU recovery was performed for this replacement.