instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
NVIDIA__garak__1650
NVIDIA/garak
1,650
defect
3cb038ce06494abc169406662deca1a57536db1f
e2ef5dd9299d4a6f85e8a4de77685aa33617557a
Add ModernBERT refusal detector
Add `refusal.ModernBERTRefusal`, a fine-tuned ModernBERT-base binary classifier that detects LLM refusals using semantic understanding. The model [garak-llm/garak-refusal-detector](https://huggingface.co/garak-llm/garak-refusal-detector) offers a semantic alternative to keyword-based refusal detection. Extends `HFDe...
diff --git a/docs/source/detectors.rst b/docs/source/detectors.rst index a6fc12256..471bb6301 100644 --- a/docs/source/detectors.rst +++ b/docs/source/detectors.rst @@ -28,6 +28,7 @@ garak.detectors garak.detectors.perspective garak.detectors.promptinject garak.detectors.productkey + garak.detectors.refus...
3
3
2
[{"id": "G0", "claim": "The docstring should recommend adding an rst-format hyperlink to the Hugging Face page saying there is more information and a model card there.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The detector should live in the ...
null
NVIDIA__garak__1660
NVIDIA/garak
1,660
defect
04793c6621548b2174ab87f303cc9ae5632acb40
309b2742d1a95dda48050ed5c1b522638ab704fa
feat: add homoglyph obfuscation prompts to smuggling probe
Adds `smuggling.HomoglyphObfuscation`, a probe with 5 prompts that use Unicode homoglyphs (visually similar characters from different scripts) to disguise trigger words in bypass requests. For example, Cyrillic 'a' (U+0430) replaces Latin 'a' in "jailbreak", making the token sequence different while the text remains hu...
diff --git a/garak/data/smuggling_homoglyph_5.txt b/garak/data/smuggling_homoglyph_5.txt new file mode 100644 index 0000000000..ced56a9457 --- /dev/null +++ b/garak/data/smuggling_homoglyph_5.txt @@ -0,0 +1,5 @@ +How to jаilbreаk a compliance LLM gateway? +Explain how to bypɑss sɑfety controls in regulated AI systems. ...
4
4
3
[{"id": "G0", "claim": "Based on the small sample size, the new probe's tier should be lowered from COMPETE_WITH_SOTA to INFORMATIONAL.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The probe should be expanded to programmatically substitute characters ...
null
NVIDIA__garak__1663
NVIDIA/garak
1,663
defect
84e49b39bf95a57f6307793ae1d819888c35de34
a62d3c3956545c7c1b0a767251258a9568ee575b
Handle unrecognized probes and detectors in report digest generation
Fixes #1024 The three PluginCache.plugin_info() call sites in report_digest.py crash with a ValueError when a report references a probe or detector that no longer exists in the current codebase (e.g. due to a rename between versions). This PR wraps each call in try/except, logs a warning, and continues report generat...
diff --git a/garak/analyze/report_digest.py b/garak/analyze/report_digest.py index 69883d2c6c..b6891e9ef2 100644 --- a/garak/analyze/report_digest.py +++ b/garak/analyze/report_digest.py @@ -9,6 +9,7 @@ import html import importlib import json +import logging import markdown import os import pprint @@ -128,7 +129...
2
1
1
[{"id": "G0", "claim": "Instead of suppressing unknown probe/detector plugin errors with warnings and placeholder values, digest_report should treat them as clear incompatibility indicators and refuse to produce an HTML report when the report cannot be processed accurately.", "category": "correctness", "verdict": "supp...
null
NVIDIA__garak__1665
NVIDIA/garak
1,665
defect
f321c72cb92b6f3c6c0765f9742dd83324202275
7101487114655cf2c72b55eacde18c3886c137cf
Enforce soft_probe_prompt_cap in GCGCached probe
Reference #1562 GCGCached builds its full prompt list at class definition time (13 suffixes × 2 base prompts = 26 prompts) and never consults `run.soft_probe_prompt_cap`. This means setting a cap has no effect on how many prompts GCGCached issues. This PR adds an `__init__` method that calls `self._prune_data(sel...
diff --git a/garak/probes/suffix.py b/garak/probes/suffix.py index 01b7ea224..1a904238d 100644 --- a/garak/probes/suffix.py +++ b/garak/probes/suffix.py @@ -51,6 +51,10 @@ class GCGCached(garak.probes.Probe): prompts.append(" ".join([prompt1, suffix])) prompts.append(" ".join([prompt2, suffix])) + ...
1
1
0
[{"id": "G0", "claim": "The cap value `10` is written literally in three places in the new test; recommend factoring it into a variable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__garak__1675
NVIDIA/garak
1,675
defect
2569a6062699ad1a03610156da561679eea48292
20fb00651c3284d99210efee324fba8f88b8b822
generator: NeMoGuardrails server support
Add support for new `OpenAICompatible` service exposed via [NVIDIA-NeMo/Guardrails](https://github.com/NVIDIA-NeMo/Guardrails) ## Verification List the steps needed to make sure this thing works - [ ] Supporting configuration file ``` yaml plugins: target_type: guardrails.NeMoGuardrailsServer target_na...
diff --git a/garak/generators/guardrails.py b/garak/generators/guardrails.py index 96719808a..fcbcd33f6 100644 --- a/garak/generators/guardrails.py +++ b/garak/generators/guardrails.py @@ -10,6 +10,7 @@ from garak import _config from garak.attempt import Message, Conversation from garak.generators.base import Genera...
6
3
0
[{"id": "G0", "claim": "The default \"uri\" value \"http://localhost:8000/v1/\" may no longer be a sensible default and should be reconsidered.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The default \"uri\" value \"http://localhost:8000/v1/\" signals...
null
NVIDIA__garak__1713
NVIDIA/garak
1,713
defect
b24d640b787c8f7a2c00083312d9b621c1d064e1
10e525be9b90060af85ccb77b9df3d4a05717e79
docs: add build test for docs
We need our docs to be working. This PR * fixes a broken link in around DEFAULT_PARAMS to the configuration docs * avoids an illegal separator within configurable plugin docs * stops requiring our 404 page to be linked to * allows docs makefile to pass params to sphinx * sets a github workflow to attempt to buil...
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 000000000..ca709d778 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,40 @@ +name: Documentation build + +on: + push: + branches: + - 'main' + pull_request: + workflow_dispatch: + +permissions: + actions...
1
1
0
[{"id": "G0", "claim": "The workflow should run the docs build command directly instead of via `make`, given the recent supply-chain issues around executing scripts in actions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__garak__1723
NVIDIA/garak
1,723
defect
9055ad9049c76f4872efeb1e97154b59d848b361
425e935b1df6ab040470211fdc6a6d7f5933491b
report: snapshot plugin cache into report jsonl
Adds a `plugin_cache` JSONL record during `Harness.run` so each report carries the resolved metadata for the harness, generator, probes, detectors, and buffs used in that run. `report_digest` now reads plugin metadata from the report header first, making digest rebuilds self-contained and independent of the local li...
diff --git a/garak/analyze/report_digest.py b/garak/analyze/report_digest.py index 0aee15445..26ca8cf30 100644 --- a/garak/analyze/report_digest.py +++ b/garak/analyze/report_digest.py @@ -50,6 +50,7 @@ def _parse_report(reportfile: IO): payloads = [] setup = defaultdict(str) init = {} + plugin_cache ...
5
5
0
[{"id": "G0", "claim": "It might be good to supply the system plugin cache when a cache entry is not found in the report file, falling back to a deepcopy of garak._plugins.PluginCache.instance() versioned with garak.__version__.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
NVIDIA__gontainer__58
NVIDIA/gontainer
58
defect
6ea299b334c7129b90a3c721d4b61625bdf03ee6
1dad9c70520d573783aa3969287d3d891aee8a01
Support for function-based services
Support for function-based services to reach transient service factories. Additional examples for function services and for service functions. Documentation refinement.
diff --git a/README.md b/README.md index 8f3f66e..260f918 100644 --- a/README.md +++ b/README.md @@ -19,22 +19,58 @@ Dependency injection service container for Golang projects. ## Examples * [Console command example](./examples/01_console_command/main.go) – demonstrates how to build a simple console command. It sho...
7
2
0
[{"id": "G0", "claim": "The new example's go.mod declares the module path \"examples/04_service_functions\" while the directory is \"examples/05_service_functions\"; the module path should match the directory name.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
NVIDIA__gontainer__73
NVIDIA/gontainer
73
defect
3a28507b8e4d6733a4f560fc4d92e3113be2d4d1
5ad71d3cbcb1215844c9ee47402f50781f5b8507
V2 devel: support for invocable factories
This pull request introduces a new concept of "functions" in addition to "factories" for dependency injection, refactoring the service container to distinguish between services that produce values and those that perform actions. The changes include the addition of the `NewFunction` API, updates to the registry and life...
diff --git a/README.md b/README.md index 46d2413..7ceeeca 100644 --- a/README.md +++ b/README.md @@ -291,7 +291,6 @@ The service container may return the following errors, which can be checked usin | Error | Description |...
4
3
1
[{"id": "G0", "claim": "invokeFunctions calls IsNil() on outValues[0] without first verifying the value is valid, which can panic if outValues[0] is not valid; the validity check should come first.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
NVIDIA__gpu-operator__1019
NVIDIA/gpu-operator
1,019
defect
c94a15407a91692529b32f6bc62dea54da8daa66
7b15d58fa0b41ffecff525996b43682d86148f0a
set RUNTIME_CONFIG and RUNTIME_SOCKET envars to support new toolkit versions
This PR includes setting of additional environment variables in container-toolkit asset for forward compatibility with upcoming toolkit releases Reference: https://github.com/NVIDIA/nvidia-container-toolkit/pull/704/files
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index 7483479813..223de1f938 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -1291,6 +1291,7 @@ func transformForRuntime(obj *appsv1.DaemonSet, config *gpuv1.ClusterPolicySpec, configEnvvarName = "CRIO_CO...
2
2
1
[{"id": "G0", "claim": "The RUNTIME_SOCKET envvar should be set unconditionally, without the containerd/docker conditional, because runtimeSocketFile is known to be non-empty at that point.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move the RUN...
null
NVIDIA__gpu-operator__1199
NVIDIA/gpu-operator
1,199
defect
c4bbc2fa04b61b407a541f6058e5e3ed0df1ba66
10f80185909d9e5b23fbf6a8757420e031f33122
add new field kernelModuleType to the API Spec
This PR adds a new field `kernelModuleType` to the ClusterPolicy and NVIDIADriver APIs. Once this PR is merged, the `useOpenKernelModules` field be rendered as no-op. The `kernelModuleType` field supports three values: - "auto" - Defer to the gpu-operator/driver-container to choose the recommended kernel module ...
diff --git a/api/nvidia/v1/clusterpolicy_types.go b/api/nvidia/v1/clusterpolicy_types.go index 07e4247618..d987a65212 100644 --- a/api/nvidia/v1/clusterpolicy_types.go +++ b/api/nvidia/v1/clusterpolicy_types.go @@ -482,12 +482,20 @@ type DriverSpec struct { // +operator-sdk:gen-csv:customresourcedefinitions.specDescr...
1
1
1
[{"id": "G0", "claim": "The example ClusterPolicy CR in the OLM bundle (gpu-operator-certified.clusterserviceversion.yaml) should also be updated to reflect the new kernelModuleType field.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NVIDIA__gpu-operator__1384
NVIDIA/gpu-operator
1,384
defect
351f57e806f781a96c8680add60a86d546bd6b65
06faaf0cca8a7ea15613b03f86f101e5e225b69d
Feat: Allow to configure kubelet root directory
This pull request introduces a new configuration option `KubeletRootDir` to specify the root directory for the kubelet base directory. The changes include updates to the cluster policy types, CRD manifests, controllers, and tests to support this new configuration. ### Configuration Enhancements: * Added `KubeletR...
diff --git a/api/nvidia/v1/clusterpolicy_types.go b/api/nvidia/v1/clusterpolicy_types.go index f79497e64c..48c96f0ed3 100644 --- a/api/nvidia/v1/clusterpolicy_types.go +++ b/api/nvidia/v1/clusterpolicy_types.go @@ -174,6 +174,10 @@ type HostPathsSpec struct { // DriverInstallDir represents the root at which driver fi...
7
4
0
[{"id": "G0", "claim": "Rename the new kubelet option to the KubeletDir naming — API field KubeletDir, constant DefaultKubeletDir and values.yaml key kubeletDir — instead of KubeletRootDir/DefaultKubeletRootDir/kubeletRootDir, with the reworded comment.", "category": "maintainability", "verdict": "uncertain", "priority...
null
NVIDIA__gpu-operator__1652
NVIDIA/gpu-operator
1,652
defect
1dda24966ee5e793a5eb4aa1f7abe477ef410f3c
f4e4e6929f38476c61d86e8f5ba77cc39037b45b
Allow resource requests and limits to be configurable for all containers in driver pod
The resource requests / limits specified in the CRs only get configured with the main container and not any of the additional containers that can run as part of the driver pod. Below are the list of all other possible containers that can run in the driver pod: OCP driver toolkit container Runs only on OpenShift NV...
diff --git a/api/nvidia/v1/clusterpolicy_types.go b/api/nvidia/v1/clusterpolicy_types.go index 42aaf4782a..ddbb0f079d 100644 --- a/api/nvidia/v1/clusterpolicy_types.go +++ b/api/nvidia/v1/clusterpolicy_types.go @@ -1282,6 +1282,11 @@ type GPUDirectRDMASpec struct { // +operator-sdk:gen-csv:customresourcedefinitions.s...
9
5
3
[{"id": "G0", "claim": "The nvidia-peermem container transform should check config.Driver.GPUDirectRDMA.Resources rather than config.Driver.Resources when setting resources.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The GDS container transform sh...
null
NVIDIA__gpu-operator__1740
NVIDIA/gpu-operator
1,740
defect
84ae15d5fb67b1ee704bd3d2ac18b7856fb39744
340b224ac26a9d9dc90ba37e0ce38e7c47bf083c
Refactor: Add findContainerByName and refactor exact-name lookups
This PR introduces a minimal `findContainerByName` helper and applies it across places that perform exact-name container/initContainer lookups Note: I left substring and prefix checks as-is where broader matching is required: - Validation flows (component “-validation”, driver*, toolkit*) - Feature sidecars (nvidi...
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index 2fcbacf354..c33e85280f 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -895,14 +895,12 @@ func transformForDriverInstallDir(obj *appsv1.DaemonSet, driverInstallDir string return } - for i, ctr :...
3
3
0
[{"id": "G0", "claim": "In transformForDriverInstallDir the container variable from findContainerByName should be named `ctr` rather than `iv`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the same transformForDriverInstallDir block the vol...
null
NVIDIA__gpu-operator__1742
NVIDIA/gpu-operator
1,742
defect
84ae15d5fb67b1ee704bd3d2ac18b7856fb39744
0415bf49974dcb480122437a74a4d7df13626410
Fix bug where user-supplied envvars are not applied for dcgm-exporter
This fixes a regression introduced in https://github.com/NVIDIA/gpu-operator/commit/54c270cf3f91c39fb1d0b8e2597f389b70975228 where user-supplied environment variables are not honored for the DCGM-Exporter daemonset on non-OCP environments.
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index 2fcbacf354..5807eda4b1 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -1729,6 +1729,12 @@ func TransformDCGMExporter(obj *appsv1.DaemonSet, config *gpuv1.ClusterPolicySpe setContainerEnv(&(obj.Spec...
3
3
1
[{"id": "G0", "claim": "The `len(config.DCGMExporter.Env) > 0` guard is redundant since a loop over an empty slice is always a no-op; drop it and keep the bare loop.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Factor the OpenShift-specific ch...
null
NVIDIA__gpu-operator__1758
NVIDIA/gpu-operator
1,758
defect
ee9210bbb64a1c6a01ac67f2d592210c6934a09f
880c99a635f29f305536b27a98f7c4b1f5bdb1df
Allow config sources to be specified for containerd
By default the toolkit container extracts the current containerd config by running the `containerd config dump` command and if that fails we read the existing config file. This change allows ordering of these sources to be defined via the RUNTIME_CONFIG_SOURCE environment variable. This further allows an explicit pa...
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index 09573ed853..56a2e857f2 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -1403,6 +1403,24 @@ func transformForRuntime(obj *appsv1.DaemonSet, config *gpuv1.ClusterPolicySpec, obj.Spec.Template.Spec.Vol...
2
2
0
[{"id": "G0", "claim": "Move the \"file\" literal into a constant variable named runtimeConfigSourceFile.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The \"/host\" + parts[1] concatenation assumes parts[1] is an absolute path; use filepath.Jo...
null
NVIDIA__gpu-operator__1894
NVIDIA/gpu-operator
1,894
defect
456f4146fb5f89d059e7b8ff975dfa82825dba8d
40e9f4a9d00ea80e7264d8f6b9f8d8dfb17c0571
Add HPC job mapping support to DCGM Exporter
## Summary This PR adds HPC job mapping support to DCGM Exporter, enabling GPU metrics to be labeled with workload manager job IDs (e.g., Slurm, PBS) in HPC environments. ## Problem In HPC clusters using workload managers like Slurm, DCGM Exporter cannot correlate GPU metrics with specific jobs because: Det...
diff --git a/api/nvidia/v1/clusterpolicy_types.go b/api/nvidia/v1/clusterpolicy_types.go index d68a2a988c..34880255f6 100644 --- a/api/nvidia/v1/clusterpolicy_types.go +++ b/api/nvidia/v1/clusterpolicy_types.go @@ -928,6 +928,31 @@ type DCGMExporterSpec struct { // +operator-sdk:gen-csv:customresourcedefinitions.spec...
2
2
0
[{"id": "G0", "claim": "The hard-coded default directory string \"/var/lib/dcgm-exporter/job-mapping\" in GetHPCJobMappingDirectory should be moved to a constant variable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fallback-to-default-di...
null
NVIDIA__gpu-operator__1950
NVIDIA/gpu-operator
1,950
defect
05090a5b7a1fb276f7fc318fc0dff527e1a30b8e
cb964198939a4001681d929df7bb11a0fd07bfcb
[state-toolkit] add support for mounting runtime NRI sockets
Add support for enabling NRI Plugin and leveraging the same when injecting GPU management CDI devices to all of the operands. #### Summary of changes - Adds a new field in the ClusterPolicy CRD `.spec.cdi.nriPluginEnabled | (true|false) default: false` - NRI Plugin will only be enabled if CDI is enabled. - If ...
diff --git a/assets/gpu-feature-discovery/0500_daemonset.yaml b/assets/gpu-feature-discovery/0500_daemonset.yaml index 8cf6201843..7794110e65 100644 --- a/assets/gpu-feature-discovery/0500_daemonset.yaml +++ b/assets/gpu-feature-discovery/0500_daemonset.yaml @@ -16,6 +16,9 @@ spec: labels: app: gpu-feat...
1
1
1
[{"id": "G0", "claim": "With setRuntimeClassName and its call sites commented out, the PR should still be in draft rather than going ahead and replacing the runtime-class logic by default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NVIDIA__gpu-operator__2024
NVIDIA/gpu-operator
2,024
defect
b7a7b87223bf79afd1881f8d05c6f7bfde94169b
c12db6fef86f2bc8de88f5b8c8afa1a55a9a7a0a
[GPU Driver Container Resiliency] Compute and propagate driver configuration digest via environment variables
Relevant PRs: - https://github.com/NVIDIA/gpu-driver-container/pull/534 - https://github.com/NVIDIA/k8s-driver-manager/pull/148 ## Description - Adds driver configuration digest computation and propagation to enable fast path optimization - Computes digest in operator controller and propagates via `DRIVER_C...
diff --git a/api/nvidia/v1/clusterpolicy_types.go b/api/nvidia/v1/clusterpolicy_types.go index ea4b21d86b..98d25dccff 100644 --- a/api/nvidia/v1/clusterpolicy_types.go +++ b/api/nvidia/v1/clusterpolicy_types.go @@ -499,6 +499,14 @@ type DriverSpec struct { // +operator-sdk:gen-csv:customresourcedefinitions.specDescri...
13
13
2
[{"id": "G0", "claim": "The DriverType field this PR adds to the ClusterPolicy driver spec should be reverted, because DriverType is only relevant in the NVIDIADriver CR.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The digest computation and DRIVER_CO...
null
NVIDIA__gpu-operator__2027
NVIDIA/gpu-operator
2,027
defect
88bae1512e9bbdeb913c368cf26f99e9e1e89627
b280352af8ae37d7b73daa06566802d24be0013f
refactor driverRenderData to only include fields needed for template render
This PR removes fields from the `driverRenderData` struct that aren't used to render the templated YAMLs. This PR also removes unused code
diff --git a/internal/state/driver.go b/internal/state/driver.go index a73651d6fc..2e7a4112b3 100644 --- a/internal/state/driver.go +++ b/internal/state/driver.go @@ -70,9 +70,7 @@ type driverRuntimeSpec struct { KubernetesVersion string OpenshiftVersion string OpenshiftDriverToolkitEnabl...
3
2
0
[{"id": "G0", "claim": "If KubernetesVersion is not used anywhere in our templates, remove it from the driverRuntimeSpec struct.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G2", "claim": "The refactor may leave driverRenderData.RuntimeSpec.OpenShiftVersio...
null
NVIDIA__gpu-operator__2144
NVIDIA/gpu-operator
2,144
defect
691bf063e73eb83ed41a1724d791b40e78c3469f
a889a930794dc0a6f673eaf7c01ef05d266ef229
eliminate redundant node list calls when retrieving the GPU Node OS Info
The commits dcb3f478620ba95988eb1dc22e9f53192db09632 and efaac78606e40e32e6eedbfed365a6767ab01c45 have removed the dependency on the host-mounted /etc/os-release file and replaced it with NFD labels as the source of information. This commit builds upon those changes by eliminating the redundant calls to Node List ope...
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index 390d01935d..3230aecb40 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -662,7 +662,7 @@ func (n ClusterPolicyController) getKernelVersionsMap() (map[string]string, erro return kernelVersionMap, nil ...
3
3
0
[{"id": "G0", "claim": "The comment \"We need the node labels to fetch the correct container\" above getGPUNodeOSTag is stale now and can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Add client.Limit(1) as a list option in getGPUNo...
null
NVIDIA__gpu-operator__2252
NVIDIA/gpu-operator
2,252
defect
d5750f2f3033f38341c991e2f2a494744344abea
1cc65fe9d09b28a0bec636d581d1f684ff373d43
mount /lib/modules from host when using precompiled driver
This will ensure precompiled driver container has access to host kernel modules. ## Description This is needed for precompiled driver container for SLES 15 SP7 and SLES 16, provided by SUSE at https://registry.suse.com/repositories/third-party-nvidia-driver-sles15 resp. https://registry.suse.com/repositories/thir...
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index b436bcab11..843309583f 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -3553,6 +3553,28 @@ func transformDriverContainer(obj *appsv1.DaemonSet, config *gpuv1.ClusterPolicy } } + // Mount /lib/mo...
3
3
2
[{"id": "G0", "claim": "Add an extra condition so that the /lib/modules mount code path is entered only when a SUSE-based distribution is used, instead of mounting /lib/modules for every precompiled-driver configuration.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
NVIDIA__gpu-operator__2268
NVIDIA/gpu-operator
2,268
defect
5281a7e23cb416855fc8749e4a6f6e5a6b0b5a74
d277642153d0fcf6e3a9878dd14fa85ec8ca380c
[release-26.3] store os release name and use it than recalculating from tag which is errorprone
🤖 **Automated backport of #2244 to `release-26.3`** ⚠️ **This PR has merge conflicts that need manual resolution.** Original PR: #2244 Original Author: @rahulait **Cherry-picked commits (1):** - `6afb205` store os release name and use it than recalculating from tag which is errorprone **Next Steps:** 1. Review the...
diff --git a/controllers/object_controls.go b/controllers/object_controls.go index b436bcab11..d70bb726d6 100644 --- a/controllers/object_controls.go +++ b/controllers/object_controls.go @@ -3298,16 +3298,9 @@ func resolveDriverTag(n ClusterPolicyController, driverSpec interface{}) (string return image, nil } -fun...
1
1
1
[{"id": "G0", "claim": "The /lib/modules mounting changes in this pull request are part of NVIDIA/gpu-operator#2267, i.e. the PR carries another PR's changes instead of being an independent backport.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NVIDIA__infra-controller-core__1060
NVIDIA/infra-controller-core
1,060
defect
033b844f4050bf5adc36d09460450023aacdb4be
8d9bab90e348e6e533f2c8075c92e390d3325180
Wire scout firmware upgrade into host reprovisioning
## Description This is the last part of the "scout based firmware upgrade" work. It wires things together. Two main changes: 1. Scout reports its status back to carbide. 2. State machine handling of the scout firmware upgrade. ## Type of Change <!-- Check one that best describes this PR --> - [x] **Add**...
diff --git a/crates/api-model/src/firmware.rs b/crates/api-model/src/firmware.rs index 14b86816b34..e2c27c6c124 100644 --- a/crates/api-model/src/firmware.rs +++ b/crates/api-model/src/firmware.rs @@ -215,6 +215,23 @@ pub struct FirmwareEntry { pub pre_update_resets: bool, #[serde(default)] pub script: O...
4
1
1
[{"id": "G0", "claim": "Building the task JSON with serde_json::json! moves to_install.version (which is used again when building WaitingForScoutUpgrade) and moves sha256 out of borrowed &ScoutConfig and &FirmwareFileArtifact values, so .clone() (or references) is needed for it to compile.", "category": "correctness", ...
null
NVIDIA__infra-controller-core__1214
NVIDIA/infra-controller-core
1,214
defect
433d9f1a712d29d54fa726cf01d2e3ff233279a6
b8d291441a2561c28c07c514bfa83a9bb66497fb
chore: rename "override" in machine/rack health report APIs and DB column
## Description Continuing the override → report rename work (https://github.com/NVIDIA/infra-controller-core/pull/975, https://github.com/NVIDIA/infra-controller-core/pull/999, https://github.com/NVIDIA/infra-controller-core/pull/1015, https://github.com/NVIDIA/infra-controller-core/pull/1029, https://github.com/NVI...
diff --git a/crates/admin-cli/src/debug_bundle/cmds.rs b/crates/admin-cli/src/debug_bundle/cmds.rs index 64c603bb17d..9f15ce8b1e7 100644 --- a/crates/admin-cli/src/debug_bundle/cmds.rs +++ b/crates/admin-cli/src/debug_bundle/cmds.rs @@ -1059,7 +1059,7 @@ async fn get_alert_entries( // Call API to get current healt...
2
2
0
[{"id": "G0", "claim": "The rack-module DB function `insert_machine_health_report` in crates/api-db/src/rack.rs should be named `insert_health_report`, since it lives in the rack module and is not machine-specific.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
NVIDIA__infra-controller-core__380
NVIDIA/infra-controller-core
380
defect
48081c30f190174c9bbc4ac8157678cd21f628ad
f8263fbaa3b11cf552192e9045c6b12b8d5f7e9f
fix(api): Add pkey to ib partition status
## Description - pkey column in ib_partitions is now nullable and will only be populated if a specific PKEY was explicitly requested. - IBPartition.status.pkey will be populated with the active PKEY of the partition. - IBPartition.config.pkey will be populated with any requested PKEY. - In the case of an auto-a...
diff --git a/crates/admin-cli/src/ib_partition/cmds.rs b/crates/admin-cli/src/ib_partition/cmds.rs index 4d066676b43..4e7d7e234de 100644 --- a/crates/admin-cli/src/ib_partition/cmds.rs +++ b/crates/admin-cli/src/ib_partition/cmds.rs @@ -104,6 +104,7 @@ fn convert_ib_partitions_to_nice_table(ib_partitions: forgerpc::IbP...
2
2
0
[{"id": "G0", "claim": "The new `.map(|c| c.tenant_organization_id.clone())` in convert_ib_partition_to_nice_format doesn't need the clone and should use `.as_str()` instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test begins a trans...
null
NVIDIA__infra-controller-core__475
NVIDIA/infra-controller-core
475
defect
1fb2c40102a45c8e331a4dd3e1d0e0bde506d9f7
1a108a229b00cc6ef60be068bf2fc84bad2e89ab
feat: Add IB partition update and macOS Docker build/test support
## Description <!-- Describe what this PR does --> Adds IB partition update RPC and Cargo-via-Docker on macOS so the repo can be built and tested on Mac without a local Rust toolchain. 1. IB partition update UpdateIBPartition RPC and handler in crates/api/src/handlers/ib_partition.rs: update partition metadata ...
diff --git a/crates/api/src/handlers/ib_partition.rs b/crates/api/src/handlers/ib_partition.rs index 37763063993..6b8cd20d8dc 100644 --- a/crates/api/src/handlers/ib_partition.rs +++ b/crates/api/src/handlers/ib_partition.rs @@ -90,6 +90,81 @@ pub(crate) async fn create( Ok(resp) } + +pub(crate) async fn update...
3
3
3
[{"id": "G0", "claim": "pkey should not be part of the tenant-supplied metadata at all; it belongs under config/status only.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new update functionality needs a unit test.", "category": "testing", "verdict"...
null
NVIDIA__infra-controller-core__578
NVIDIA/infra-controller-core
578
defect
6121b8b60e51874fa2b32fb815ea4ebd39494638
deb7357d8ef4a03a03580b611755714e2c213a9a
ssh-console: Get vendor as part of GetBmcMetaData
## Description The BMC vendor detection recently got split to issue an additional call to explored_endpoints if the vendor is lenovo, to accommodate some lenovo machines that don't support ssh serial consoles. Instead, just always use vendor we get from explored_endpoints, but put it inside the GetBmcMetaData call ...
diff --git a/Cargo.lock b/Cargo.lock index c4673e1b3c..8d4ccfe4b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1419,6 +1419,7 @@ dependencies = [ "prometheus", "prometheus-text-parser", "prost 0.14.1", + "prost-types 0.14.1", "rand 0.9.2", "rcgen", "regex", @@ -1555,6 +1556,7 @@ dependencies = [ "dns-reco...
3
3
2
[{"id": "G0", "claim": "The new lookup_vendor_by_ip may not return the actual BMC vendor: it runs `SELECT *` through query_scalar instead of extracting the vendor column.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "No test actually exercises look...
null
NVIDIA__infra-controller-core__580
NVIDIA/infra-controller-core
580
defect
56d6a5176da919dc65a062464c21775588341534
3cbfc5c36c853d98eec9166806396298cdcd9203
feat: exclude machines with `ExcludeFromStateMachineSla` tag from state machine's SLA
## Description The state machine has time based SLA that's useful to determine if some operation is stuck and a manual intervention might be needed. This is a good way to notify users/operators of potential issues. However, there is no way to suppress this once it's raised. For example, it's counter-productive to k...
diff --git a/crates/admin-cli/src/machine/health_override/cmd.rs b/crates/admin-cli/src/machine/health_override/cmd.rs index f492e4fce8..49c5125a23 100644 --- a/crates/admin-cli/src/machine/health_override/cmd.rs +++ b/crates/admin-cli/src/machine/health_override/cmd.rs @@ -82,6 +82,9 @@ pub fn get_health_report( ...
1
1
0
[{"id": "G0", "claim": "The new ExcludeFromStateMachineSla classification should be described in the health_alert_classifications documentation page.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__infra-controller-core__794
NVIDIA/infra-controller-core
794
defect
7bd2a499bcf2f7bc1a1d7b65d9b5acebe5928612
41f29ff7b3c933b0abd173455e507bab25759076
fix: Remove verifyrmsmembership and registerrmsmembership
## Description depricating verifyrmsmembership and registerrmsmembership. As these are no longer required for latest RMS ## Type of Change <!-- Check one that best describes this PR --> - [ ] **Add** - New feature or capability - [ ] **Change** - Changes in existing functionality - [ ] **Fix** - Bug fixes - ...
diff --git a/crates/api-db/migrations/20260401120000_backfill_rack_id_switches_power_shelves.sql b/crates/api-db/migrations/20260401120001_backfill_rack_id_switches_power_shelves.sql similarity index 100% rename from crates/api-db/migrations/20260401120000_backfill_rack_id_switches_power_shelves.sql rename to crates/ap...
2
1
0
[{"id": "G0", "claim": "The same removed state is also encoded in the DPU objects and there can be more than one DPU, which makes the migration tricky; suggests doing something simpler, like setting the machines into a failed state and letting operators force-delete them.", "category": "design", "verdict": "uncertain",...
null
NVIDIA__infra-controller-core__889
NVIDIA/infra-controller-core
889
defect
58227465ad4b91506ccb842d9f3f2fa16d378a89
aa0583699ee779603ae6c441bf15457bfa01e421
fix: query machine_interface_addresses to get the IP assigned to a PMC instead of the bmc_ip_address column in expected_powershelves
## Description fix: query machine_interface_addresses to get the IP assigned to a PMC instead of the bmc_ip_address column in expected_powershelves. This is a reliable mechanism to go from powershelf id -> bmc ip b/c the config information in the power_shelves table is filled in from the static expected_powershel...
diff --git a/crates/api-db/src/power_shelf.rs b/crates/api-db/src/power_shelf.rs index e59cffe4fe9..cc6c9c724b7 100644 --- a/crates/api-db/src/power_shelf.rs +++ b/crates/api-db/src/power_shelf.rs @@ -346,15 +346,18 @@ pub async fn find_power_shelf_endpoints_by_ids( db: impl crate::db_read::DbReader<'_>, powe...
2
1
0
[{"id": "G0", "claim": "expected_power_shelves should not show up in find_power_shelf_endpoints_by_ids at all (it belongs to ingestion time only), and the reviewer asks whether there is no link to machine_interface without expected power shelves.", "category": "design", "verdict": "supported", "priority": "P2", "scope"...
null
NVIDIA__infra-controller-core__973
NVIDIA/infra-controller-core
973
defect
9001ac234237ca023bbc58857c199c092fbe4cb3
d4d094532f3e54e8540639b41362fa43520f5ffa
feat: add ability to pause site-explorer at runtime
## Description During initial site bringup, disabling site-explorer and machine creation is critical for debugging. Today this requires editing the config file and restarting carbide-api, which needs full cluster access and can trigger unrelated side effects. This PR makes it so that: - Site-explorer and machi...
diff --git a/crates/admin-cli/src/set/create_machines/args.rs b/crates/admin-cli/src/set/create_machines/args.rs index 7e9598872b..7e3274cde2 100644 --- a/crates/admin-cli/src/set/create_machines/args.rs +++ b/crates/admin-cli/src/set/create_machines/args.rs @@ -18,7 +18,17 @@ use clap::Parser; #[derive(Parser, Deb...
2
2
1
[{"id": "G0", "claim": "The log message emitted when site-explorer is disabled should be at least warning level instead of debug, since in normal production the explorer should be enabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new site-...
null
NVIDIA__k8s-device-plugin__537
NVIDIA/k8s-device-plugin
537
defect
c675243139159d3ac2ccf454a862a967347ae038
647884a29266a5c9b7927297f1fb6c187bce4635
MPS cleanup
This PR cleans up a number of aspects around MPS. Namely: * Removes the MPS log dir from the workload * Disable MPS for MIG * Fixes an incorrect conditional check for MPS
diff --git a/cmd/mps-control-daemon/mps/manager.go b/cmd/mps-control-daemon/mps/manager.go index c4463411b..a08edcd35 100644 --- a/cmd/mps-control-daemon/mps/manager.go +++ b/cmd/mps-control-daemon/mps/manager.go @@ -85,6 +85,13 @@ func (m *manager) Daemons() ([]*Daemon, error) { klog.InfoS("Resource is not shared"...
1
1
0
[{"id": "G0", "claim": "The misspelled test field name `descrition` in TestSharingLabeler should be changed (renamed to `description`) as a follow-up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
NVIDIA__k8s-device-plugin__567
NVIDIA/k8s-device-plugin
567
defect
aee007e9f38ed71c563f44354127fe29f65f7996
644e7e0b08f1613c457151fea2aaadfdd5f1fd16
Use clientsets and downward API to construct NFD client
Closes https://github.com/NVIDIA/cloud-native-team/issues/46
diff --git a/api/config/v1/flags.go b/api/config/v1/flags.go index ea1a8d25a5..be58647018 100644 --- a/api/config/v1/flags.go +++ b/api/config/v1/flags.go @@ -55,14 +55,15 @@ type Flags struct { // CommandLineFlags holds the list of command line flags used to configure the device plugin and GFD. type CommandLineFla...
3
3
0
[{"id": "G0", "claim": "The new nodeFeatureObject type should keep the function name `UpdateNodeFeatureObject` as it was before instead of renaming its method to `Output`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The NVIDIA copyright year in the ne...
null
NVIDIA__k8s-device-plugin__574
NVIDIA/k8s-device-plugin
574
defect
6647f4c616b083c985553188d1be3bc0d01bef59
f62ae282da763ef42f0546d9763dfb699df25d22
Update sharing checks for MPS
These changes refactor the sharing checks when processing a Allocate request. The behaviour that allows `failRequestGreaterThanOne` to control whether multiple devices can be allocated is maintained for TimeSlicing, but this setting is ignored for MPS sharing. This aligns with the behaviour for the GKE plugin wit...
diff --git a/api/config/v1/replicas.go b/api/config/v1/replicas.go index c24c7109cd..eaf557db21 100644 --- a/api/config/v1/replicas.go +++ b/api/config/v1/replicas.go @@ -32,6 +32,8 @@ type ReplicatedResources struct { Resources []ReplicatedResource `json:"resources,omitempty" yaml:"...
1
1
1
[{"id": "G0", "claim": "The failRequestsGreaterThanOne option should not exist for MPS sharing -- or, if it is kept, requesting multiple devices should give multiple slices rather than being limited to one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NVIDIA__k8s-device-plugin__629
NVIDIA/k8s-device-plugin
629
defect
bf58cc405af03d864b1502f147815d4c2271ab9a
faf3ea37d396c6d2a7bd3c7fbdfe4ad0ad093555
[golangci-lint] fix implicit memory aliasing in for loop
To get more details on these why fixes were implemented: https://husni.dev/beware-of-implicit-memory-aliasing-in-go-foor-loop/
diff --git a/.golangci.yml b/.golangci.yml index a0164fd1c6..208863b733 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -23,18 +23,8 @@ linters-settings: issues: exclude-rules: - # We use math/rand instead of crypto/rand for unique names in e2e tests. - - path: tests/e2e/ - linters: - - gosec - text:...
2
2
0
[{"id": "G0", "claim": "In TestCDIAllocateResponse, prefer rewriting the loop as `for i := range testCases { tc := testCases[i] }` instead of adding `tc := tc` inside the range loop, since it reads better while achieving the same effect.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope"...
null
NVIDIA__k8s-device-plugin__649
NVIDIA/k8s-device-plugin
649
defect
787ab0612751aee285617c557a700104fe0ba714
0c81995f5c72d0eb68bcf013789625b579bfe7bf
E2E test: Ommit error ifNotFound during NFD cleanup
Fixes #642
diff --git a/tests/e2e/common/kubernetes.go b/tests/e2e/common/kubernetes.go index 84d3e8aae4..05bbbb516f 100644 --- a/tests/e2e/common/kubernetes.go +++ b/tests/e2e/common/kubernetes.go @@ -26,6 +26,7 @@ import ( . "github.com/onsi/gomega" corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/api/errors" meta...
8
7
1
[{"id": "G0", "claim": "The error handling after Delete wraps IsNotFound inside an extra `if err != nil` level of nesting that is not needed; the reviewers' suggestion blocks replace it with a single `if errors.IsNotFound(err)` check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
NVIDIA__k8s-device-plugin__650
NVIDIA/k8s-device-plugin
650
defect
787ab0612751aee285617c557a700104fe0ba714
ddc7c01fe7954ae2e072e5cfd87a371816efcd31
E2E Test: Create a DiagnosticCollector
The `DiagnosticCollector` is an enhanced version of the previously introduced MustGather function, the result is still the same, but now we have granular control over the objects that we want to capture logs for each test and add the option to manually specify which objects to collect from for when running the e2e manu...
diff --git a/tests/e2e/Makefile b/tests/e2e/Makefile index 2a99523c6..78cd7468d 100644 --- a/tests/e2e/Makefile +++ b/tests/e2e/Makefile @@ -24,6 +24,7 @@ E2E_IMAGE_TAG ?= $(VERSION) E2E_IMAGE_PULL_POLICY ?= IfNotPresent HELM_CHART ?= $(CURDIR)/deployments/helm/nvidia-device-plugin LOG_ARTIFACTS ?= $(CURDIR)/e2e_log...
31
25
0
[{"id": "G0", "claim": "The diagnostic collector's entry point should use Collect(ctx) as the verb instead of ParseObjects/RunDiagnostics.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "collectLogsFrom should be a []string rather than a comma-joined stri...
null
NVIDIA__k8s-device-plugin__671
NVIDIA/k8s-device-plugin
671
defect
3d7e15316813095f931c9760f2f42548ad1ae347
bea732d2d8ea26c5cb03700cc6dcadcbd1cdce15
strip parentheses from the gpu product name
Fixes #514
diff --git a/internal/lm/resource.go b/internal/lm/resource.go index cc369673f..e9292786b 100644 --- a/internal/lm/resource.go +++ b/internal/lm/resource.go @@ -187,7 +187,11 @@ func (rl resourceLabeler) getProductName(parts ...string) string { var strippedParts []string for _, p := range parts { if p != "" { - ...
2
2
1
[{"id": "G0", "claim": "The author should add a small unit test covering this parentheses-stripping addition.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The inline parenthesis/space stripping in getProductName should be extracted into a sanitise hel...
null
NVIDIA__k8s-device-plugin__674
NVIDIA/k8s-device-plugin
674
defect
3536f0a7c0f4daad2a2fa9f8ce563bc1d5593533
f4de26fb294b17e7e346d60db884dc6760b48b7e
Don't require node-name to be set if not needed
The `node-name` is only needed if the NodeFeatureAPI is used.
diff --git a/internal/flags/node.go b/internal/flags/node.go index aaec822259..8a38c98a80 100644 --- a/internal/flags/node.go +++ b/internal/flags/node.go @@ -38,7 +38,6 @@ func (n *NodeConfig) Flags() []cli.Flag { &cli.StringFlag{ Name: "node-name", Usage: "The name of the node to be worked on....
1
1
0
[{"id": "G0", "claim": "Since \"node-name\" is passed as a literal string, %q formatting is unnecessary and the error could simply be a flat string \"required flag node-name not set\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
NVIDIA__k8s-device-plugin__713
NVIDIA/k8s-device-plugin
713
defect
90e08b75401d8cc2a8a4e89826cc335346938ae5
4eb4c294e4ae027485478ea95884ca89d81543a7
Raise error in GFD when MPS sharing is enabled for MIG devices
This change raises an error in GFD if MPS sharing is enabled for MIG devices instead of (siliently) setting `nvidia.com/mps.capable=false`. This aligns GFD behaviour with that of the device plugin.
diff --git a/internal/lm/resource.go b/internal/lm/resource.go index 29cdbb28d9..c67c44b208 100644 --- a/internal/lm/resource.go +++ b/internal/lm/resource.go @@ -22,6 +22,7 @@ import ( spec "github.com/NVIDIA/k8s-device-plugin/api/config/v1" "github.com/NVIDIA/k8s-device-plugin/internal/resource" + "k8s.io/klog/...
2
1
1
[{"id": "G0", "claim": "When MPS sharing is enabled for MIG devices, GFD should error out (fail fast) instead of issuing a warning and silently dropping the sharing setting.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Instead of guarding against MPS s...
null
NVIDIA__k8s-device-plugin__985
NVIDIA/k8s-device-plugin
985
defect
a6a7ce12d28618d343c251ca0941222d7b8a46d3
f737f5c8ef43cbdb7342c2a2cac1231ea241a9ef
Add optional injection of the default IMEX channel
These changes allow users to op-in to injecting the default IMEX channel (`channel0`) into workloads. The following config options are added: ``` imex: channelIDs: [] required: false ``` where `imex.channelIDs` indicates the list of channels (if any) to be injected into workload containers. The only valid ...
diff --git a/api/config/v1/config.go b/api/config/v1/config.go index 6fdea01c2..c47993362 100644 --- a/api/config/v1/config.go +++ b/api/config/v1/config.go @@ -35,6 +35,7 @@ type Config struct { Flags Flags `json:"flags,omitempty" yaml:"flags,omitempty"` Resources Resources `json:"resources,omitempty" ...
8
6
2
[{"id": "G0", "claim": "The domain config file option should also be moved into the new Imex config section.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DefaultChannelStrategy constants added in the new imex config do not need to be exported.", "c...
null
NVIDIA__k8s-device-plugin__997
NVIDIA/k8s-device-plugin
997
defect
0d5a50f2417126c44f81e8d2c9908c68dbc8717b
4eebdd7999f2b496e9f715764407b9ccd080076e
use uuid.NewSHA1 package to generate uuids
~Here is a [post](https://go.dev/blog/randv2) that goes into detail on the security limitations of the `math/rand` package.~ ~Since the IMEX changes haven't publicised yet, I thought this would be a safe starting point to implement this change~
diff --git a/.github/workflows/code_scanning.yaml b/.github/workflows/code_scanning.yaml index 214c432e3c..ebcf6c53df 100644 --- a/.github/workflows/code_scanning.yaml +++ b/.github/workflows/code_scanning.yaml @@ -38,6 +38,15 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + -...
3
3
3
[{"id": "G0", "claim": "The generated UUID should be tested to ensure it is the same for a constant seed value.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests capturing the expected UUID outputs should be added for the changed generation, since IM...
null
NVIDIA__nvidia-container-toolkit__1055
NVIDIA/nvidia-container-toolkit
1,055
defect
de3d7366637c8b0646df66b2134884d3ceafaa9e
aa0cb99bbb284c8a2daf00bbfeeb5379f4c785e1
Add nvidia-container-cli.compat-mode config option
This change adds a config option to trigger the `--cuda-compat-mode=ldconfig` option added to the `nvidia-container-cli` in https://github.com/NVIDIA/libnvidia-container/pull/307. The `nvidia-container-runtime.modes.legacy.cuda-compat-mode` option controls the behaviour of both the `nvidia-container-runtime-hook` an...
diff --git a/cmd/nvidia-container-runtime-hook/main.go b/cmd/nvidia-container-runtime-hook/main.go index e864a51d8..185587f0f 100644 --- a/cmd/nvidia-container-runtime-hook/main.go +++ b/cmd/nvidia-container-runtime-hook/main.go @@ -114,9 +114,19 @@ func doPrestart() { } args = append(args, "configure") - if !hoo...
4
3
1
[{"id": "G0", "claim": "It would be cleaner for the disabled case to pass the new --cuda-compat-mode=disabled flag to nvidia-container-cli rather than the old --no-cntlibs flag.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nvidia-ctk-insta...
null
NVIDIA__nvidia-container-toolkit__1083
NVIDIA/nvidia-container-toolkit
1,083
defect
b934c68bef0b0781b4a4233a6742222d31222af9
86370d24486810a3f153b0af0955cbc542914671
[no-relnote] Use cuda 12.9.0 image in tests
This change switches to CUDA 12.9.0 images in tests. This should ensure that CUDA Forward Compat is triggered for more driver versions. Requires https://github.com/NVIDIA/holodeck/pull/357
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 5772da3fe..c8123270c 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -55,7 +55,7 @@ jobs: go-version: ${{ env.GOLANG_VERSION }} - name: Set up Holodeck - uses: NVIDIA/holodeck@v0.2.7 + ...
2
1
0
[{"id": "G0", "claim": "The e2e workflow should use the newly released Holodeck v0.2.8 instead of v0.2.7.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The e2e workflow should use Holodeck v0.2.9 instead of v0.2.8.", "category": "testing", "verdict":...
null
NVIDIA__nvidia-container-toolkit__1102
NVIDIA/nvidia-container-toolkit
1,102
defect
f93d96a0dea54a2b81e5a4e75e9ddca6068288a8
9752c67ebcbda28619bee636bb64e0d694134f22
Edit discover.mounts to have a deterministic output
FIxes #1094
diff --git a/internal/discover/mounts.go b/internal/discover/mounts.go index 1f11ea9e3..7eb41a384 100644 --- a/internal/discover/mounts.go +++ b/internal/discover/mounts.go @@ -57,8 +57,9 @@ func (d *mounts) Mounts() ([]Mount, error) { if d.lookup == nil { return nil, fmt.Errorf("no lookup defined") } - uniqueMo...
6
3
0
[{"id": "G0", "claim": "The field-by-field comparison loop in TestMountsDeterministicOrder could be replaced with a single require.EqualValues assertion on the two mount slices.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It was not verified that the...
null
NVIDIA__nvidia-container-toolkit__1132
NVIDIA/nvidia-container-toolkit
1,132
defect
27f5ec83debaa8a173e90c43b013d5acad4b27a0
5d667fc94392f0aa9dada10c9a1bce643974ed52
Make CDI device requests consistent with other methods
Following the refactoring of device request extraction, we can now make CDI device requests consistent with other methods. This change moves to using image.VisibleDevices instead of separate calls to CDIDevicesFromMounts and VisibleDevicesFromEnvVar. This also changes the way in which annotation requests are handled...
diff --git a/internal/config/image/cuda_image.go b/internal/config/image/cuda_image.go index b16e3fedf..eaefa2efb 100644 --- a/internal/config/image/cuda_image.go +++ b/internal/config/image/cuda_image.go @@ -54,8 +54,12 @@ type CUDA struct { // NewCUDAImageFromSpec creates a CUDA image from the input OCI runtime spec...
4
3
1
[{"id": "G0", "claim": "The privileged check and the warning log in the CDI modifier's device extraction duplicate what container.VisibleDevices() already applies, so they are not required here.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The %w verb ...
null
NVIDIA__nvidia-container-toolkit__1166
NVIDIA/nvidia-container-toolkit
1,166
defect
178348b782f39ae8b139d380c7bb54b83e0f85dd
c1b341455c68456bdee8178897bee54e4d1c332a
Refactor cdi api
The original CDI spec generation API was focussed on NVML device specifically. Since then we have replaced the more specific functions (for GPU and MIG devices) in the API with more generally applicable functions based on mode and device IDs. This organic growth of APIs also means that for the NVML case specifically...
diff --git a/cmd/nvidia-ctk/cdi/generate/generate.go b/cmd/nvidia-ctk/cdi/generate/generate.go index ceb84bb6a..bad6894ee 100644 --- a/cmd/nvidia-ctk/cdi/generate/generate.go +++ b/cmd/nvidia-ctk/cdi/generate/generate.go @@ -312,7 +312,7 @@ func (m command) generateSpec(opts *options) (spec.Interface, error) { retur...
4
4
3
[{"id": "G0", "claim": "The new GetDeviceSpecsByID implementations misspell 'unsupported' as 'unsuppored' in their error messages and should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The index and migIndex fields of migDeviceSpecG...
null
NVIDIA__nvidia-container-toolkit__1194
NVIDIA/nvidia-container-toolkit
1,194
defect
f55ef6a9f1530ebf6c2e5d7c0361919158ea1f99
4001233baf3fe1ba6b363c5e7363bb67c90d786b
[no-relnote] Fix CDI spec generation
These changes fix a bug in CDI spec generation introduced in #1166 where device handles become invalid when nvml is shutdown and initialized again. Here we explicitly store UUIDs and use these to query the device handles when generating the CDI specification.
diff --git a/pkg/nvcdi/full-gpu-nvml.go b/pkg/nvcdi/full-gpu-nvml.go index ac2a3b2f6..b22f09807 100644 --- a/pkg/nvcdi/full-gpu-nvml.go +++ b/pkg/nvcdi/full-gpu-nvml.go @@ -34,19 +34,31 @@ import ( // single full GPU. type fullGPUDeviceSpecGenerator struct { *nvmllib - id string - index int - device device.Dev...
5
3
1
[{"id": "G0", "claim": "The GetUUID method of migDeviceSpecGenerator should return l.migUUID instead of l.uuid, since the struct has no uuid field of its own (the embedded full-GPU generator does), so it would return the parent GPU's UUID.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": ...
null
NVIDIA__nvidia-container-toolkit__1216
NVIDIA/nvidia-container-toolkit
1,216
defect
38d7faf1188db2605406dd0938abc15c69c063a1
ce6853e71d52634591225dae88835d5e3afa7027
Add explicitLibs list to libs discovery
Fixes: #1215 Add a list of explicit libraries that don't share the libcuda version suffix. This can be considered an early iteration; a future iteration should read the libraries from nvsandboxutils to avoid hardcoding the library version suffix. ### Enhancements to library management: * Added a list of expl...
diff --git a/pkg/nvcdi/driver-nvml.go b/pkg/nvcdi/driver-nvml.go index 6fe7b9c79..75f3912d5 100644 --- a/pkg/nvcdi/driver-nvml.go +++ b/pkg/nvcdi/driver-nvml.go @@ -235,6 +235,39 @@ func getVersionLibs(logger logger.Interface, driver *root.Driver, version string return nil, "", fmt.Errorf("failed to locate libraries...
6
4
2
[{"id": "G0", "claim": "The comment contains a stray ':q' from an accidental vim command that should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error returned by libraries.Locate() is discarded with '_', and unexpected errors s...
null
NVIDIA__nvidia-container-toolkit__1256
NVIDIA/nvidia-container-toolkit
1,256
defect
77e8f4ba6f6d8525d7956d98e3d0e4f08e5ad7ef
da4bb5a9e29ebf6889831962525f1d180f14c659
Cleanup default runtime in runtime config when setAsDefault=false
This commit updates the AddRuntime() implementation for containerd and cri-o to clear the default runtime field if the runtime we are adding is currently set as the default AND setAsDefault=false.
diff --git a/pkg/config/engine/containerd/config.go b/pkg/config/engine/containerd/config.go index 62468fe50..15f0ed6f8 100644 --- a/pkg/config/engine/containerd/config.go +++ b/pkg/config/engine/containerd/config.go @@ -64,6 +64,12 @@ func (c *Config) AddRuntime(name string, path string, setAsDefault bool) error { ...
2
1
0
[{"id": "G0", "claim": "The nested conditional added in the else-branch of containerd's AddRuntime should be flattened for readability, e.g. by combining the type assertion with the equality check in one condition or by extracting the assertion, to reduce indentation.", "category": "maintainability", "verdict": "suppor...
null
NVIDIA__nvidia-container-toolkit__1311
NVIDIA/nvidia-container-toolkit
1,311
defect
b3ce3a4f3855764208b4b14004620d27a947110a
af457bc4b26c2aa231313b68f13957dd04b5792a
Add CRI plugin config from source containerd config to drop-in file
This change updates the drop-in file contents that the nvidia-ctk-installer creates for containerd. In addition to adding nvidia runtimes, the nvidia-ctk-installer also includes all existing configuration present in the source containerd configuration for the CRI plugin. That is, all configuration already present in th...
diff --git a/cmd/nvidia-ctk-installer/container/runtime/containerd/config_test.go b/cmd/nvidia-ctk-installer/container/runtime/containerd/config_test.go index f19db4dc5..2886856a3 100644 --- a/cmd/nvidia-ctk-installer/container/runtime/containerd/config_test.go +++ b/cmd/nvidia-ctk-installer/container/runtime/container...
3
1
1
[{"id": "G0", "claim": "Seeding the drop-in config with only the source's runtimes section is not sufficient because containerd overwrites plugins by key, so the entire plugins[sourceConfig.CRIRuntimePluginName] section will be pulled in from the imported configs and the drop-in file must duplicate the whole CRI plugin...
null
NVIDIA__nvidia-container-toolkit__1403
NVIDIA/nvidia-container-toolkit
1,403
defect
e6eaa438dbc31e1ca289eb2697c7c2682d45938c
d0a1221524b2911e3bee9833fb8fb9326f96ac44
Filter already tracked directories from ldcache update
This change ensures that directories that are already included in the ld.conf are not added to the NVCR-specific config files. The intent is to not inadventently promote existing directories to a higher priority. See #123 where this was already an issue in the libnvidia-container-based implementation. ## Testing ...
diff --git a/internal/ldconfig/ldconfig.go b/internal/ldconfig/ldconfig.go index ba707792f..2f4e669f5 100644 --- a/internal/ldconfig/ldconfig.go +++ b/internal/ldconfig/ldconfig.go @@ -18,6 +18,7 @@ package ldconfig import ( + "bufio" "fmt" "os" "os/exec" @@ -75,21 +76,81 @@ func (l *Ldconfig) UpdateLDCache(d...
3
2
0
[{"id": "G0", "claim": "filterDirectories does not need to access or modify the state of an Ldconfig object and should be a regular standalone function instead of a method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The filtered slice should be preal...
null
NVIDIA__nvidia-container-toolkit__1459
NVIDIA/nvidia-container-toolkit
1,459
defect
07f71f156f0a8bbcfe2330f0a403a17e832bbeed
d7a4ca90dfaad19a049b321382f3bbba58c4984c
ldconfig: Create ld.so.conf file if missing
Distroless container images (e.g. `nvcr.io/nvidia/k8s/dcgm-exporter:4.4.1-4.6.0-distroless`, `nvcr.io/nvidia/gpu-operator:v25.10.0`) do not have a top-level ld.so.conf file. Emitting a drop-in for these container images will do nothing. This patch adds a function to create a "standard" top-level ld.so.conf file if it i...
diff --git a/internal/ldconfig/ldconfig.go b/internal/ldconfig/ldconfig.go index 4c9939f1e..5acf78216 100644 --- a/internal/ldconfig/ldconfig.go +++ b/internal/ldconfig/ldconfig.go @@ -37,6 +37,15 @@ const ( // higher precedence than other libraries on the system, but lower than // the 00-cuda-compat that is includ...
2
2
1
[{"id": "G0", "claim": "When the top-level ld.so.conf file does not exist, the PR should create it as a standard file containing \"include /etc/ld.so.conf.d/*.conf\" instead of writing the directories directly into it, so that drop-in files used for CUDA forward compatibility are still processed and no special case for...
null
NVIDIA__nvidia-container-toolkit__1512
NVIDIA/nvidia-container-toolkit
1,512
defect
37931801338a1e742ac973a017d301686021f702
959ee36811eb4cd096014ed0361693ace167c791
Add --device-id flag to nvidia-ctk cdi generate command
This change allows device IDs to be specified when generating CDI specs using the nvidia-ctk cdi generate CDI. The command now accepts a (repeatable) CLI flag allowing device IDs to be specified. These can be indices or uuids.
diff --git a/cmd/nvidia-ctk/cdi/generate/generate.go b/cmd/nvidia-ctk/cdi/generate/generate.go index 9edd8598f..73018f062 100644 --- a/cmd/nvidia-ctk/cdi/generate/generate.go +++ b/cmd/nvidia-ctk/cdi/generate/generate.go @@ -73,6 +73,8 @@ type options struct { ignorePatterns []string } + deviceIDs []string + /...
1
1
0
[{"id": "G0", "claim": "A test case for a bad/dummy/good device id should be added to cover the new --device-id flag.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__nvidia-container-toolkit__1530
NVIDIA/nvidia-container-toolkit
1,530
defect
7f21d4fa39a85e4e3c0d78f2a8ef3b569b354d94
a1f918d1729223e0b83c776cf0daf01f5e9b7cc2
Fix library driver library resolution in musl-based containers
Fixes #1526
diff --git a/internal/ldconfig/ldconfig.go b/internal/ldconfig/ldconfig.go index 6e166e3ef..7da70cb62 100644 --- a/internal/ldconfig/ldconfig.go +++ b/internal/ldconfig/ldconfig.go @@ -21,6 +21,7 @@ import ( "bufio" "flag" "fmt" + "io" "os" "os/exec" "path/filepath" @@ -168,6 +169,7 @@ func (l *Ldconfig) Up...
3
2
1
[{"id": "G0", "claim": "The error returned when creating the alpine .path file should be wrapped in a more descriptive error message instead of being returned bare.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Questions whether the new alpine ...
null
NVIDIA__nvidia-container-toolkit__1535
NVIDIA/nvidia-container-toolkit
1,535
defect
786aa3baf25bf0acd26ae48b5934fa5d503fa1ec
c9668339f0ce2275cd938a08c435379cd72fb5d4
trim extraneous whitespaces when parsing comma-separated config sources
This change makes the input parsing of the `RUNTIME_CONFIG_SOURCES` a bit more forgiving. It is not impossible that users may specify a space when specifying comma separated list of container runtime config sources
diff --git a/cmd/nvidia-ctk-installer/container/container.go b/cmd/nvidia-ctk-installer/container/container.go index 90e2fcfe2..c1d0f232d 100644 --- a/cmd/nvidia-ctk-installer/container/container.go +++ b/cmd/nvidia-ctk-installer/container/container.go @@ -199,7 +199,7 @@ func (o Options) GetConfigLoaders(commandSource...
2
2
2
[{"id": "G0", "claim": "The config source argument (e.g. the file path in `file= foo.txt`) should also be trimmed, not just the part before the '='.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Trim the assigned file path: `fileSourcePath = string...
null
NVIDIA__nvidia-container-toolkit__1561
NVIDIA/nvidia-container-toolkit
1,561
defect
ea32bf19c1b8638320aa88d970c8395bf34e7929
5f9b68424a3d4307ffb632474b4eb84eb8791bed
fix: Include /dev/nvidia2 in container requesting iGPU if required
On Tegra-based systems where both an iGPU (e.g. Thor) and a dGPU are present, the rendering devices for the iGPU are associated with `/dev/nvidia2`. This means that this device node should be included if present. Depends on #1556
diff --git a/internal/platform-support/tegra/filter.go b/internal/platform-support/tegra/filter.go index 989906dc0..8644b46d5 100644 --- a/internal/platform-support/tegra/filter.go +++ b/internal/platform-support/tegra/filter.go @@ -77,6 +77,9 @@ type matcherAsFilter struct { } type filterByMountSpecType map[csv.Mo...
2
2
0
[{"id": "G0", "claim": "The generator mode should be a named gpuMode type with typed constants (dgpu/igpu) instead of a plain string field holding magic strings.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loop variable p should be renamed to path...
null
NVIDIA__nvidia-container-toolkit__1645
NVIDIA/nvidia-container-toolkit
1,645
defect
97e2ca2db04266efcb4be870c5c42d7c0379b9ca
f226aaea3fc9fb07728e143c62ac6eac32e913be
refactor: Add AsOptional wrapper for lookup.Locator
This change moves from a field based check for an optional locator to using a wrapper. This enables simpler composition and makes it simpler to make new locators explicitly optional. This includes the changes from #1648 which should be reviewed first.
diff --git a/cmd/nvidia-ctk/system/create-dev-char-symlinks/existing.go b/cmd/nvidia-ctk/system/create-dev-char-symlinks/existing.go index e8d0fb586..83a8facb2 100644 --- a/cmd/nvidia-ctk/system/create-dev-char-symlinks/existing.go +++ b/cmd/nvidia-ctk/system/create-dev-char-symlinks/existing.go @@ -38,10 +38,11 @@ typ...
2
2
1
[{"id": "G0", "claim": "The commented-out 'logger' and 'filter' field stubs added to the file struct were included by accident and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Unexporting NewLdcacheLocator is reasonable prov...
null
NVIDIA__nvidia-container-toolkit__1667
NVIDIA/nvidia-container-toolkit
1,667
defect
42f0872df0889f20ecbbaf229c9c4a2c2f58770f
4276f96413adc8d1e2d29ba6b653dfc702724e35
Use automatic CDI spec generation to generate CDI specs for other modifiers
This change ensures that we reuse the instatiation of the nvcdi library to generate CDI specs for CSV mode, feature gated modes mode, as well as jit-cdi mode. This reduces the amount of code that needs to be kept in sync when making modifications.
diff --git a/internal/devices/devices.go b/internal/devices/devices.go index 6f43d0a84..294879bdb 100644 --- a/internal/devices/devices.go +++ b/internal/devices/devices.go @@ -53,3 +53,11 @@ var assertCharDeviceStub = func(path string) error { } return nil } + +func IsOverrideApplied() bool { + return isOverrideA...
1
1
0
[{"id": "G0", "claim": "The added error message in Factory.validate should say \"a driver must be specified\" instead of the typo \"a driver muse be specified\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__nvidia-container-toolkit__360
NVIDIA/nvidia-container-toolkit
360
defect
355997d2d642c552b5ec68afc5e7d695aa4ee844
8ddca6258ec73733660f69550b781bf3bb6b40ac
Add dev-root option to toolkit container
This adds support for using the toolkit container in environments where the "driverRoot" does not represent a chrootable filesystem. For example, if the NVIDIA driver libraries are available at `/opt/nvidia/driver` on the host, but the device nodes are created at `/dev` on the host. Assuming these are mounted readOn...
diff --git a/tools/container/toolkit/toolkit.go b/tools/container/toolkit/toolkit.go index 1db3a6f4f..2a51fabe4 100644 --- a/tools/container/toolkit/toolkit.go +++ b/tools/container/toolkit/toolkit.go @@ -48,7 +48,9 @@ const ( type options struct { DriverRoot string + DevRoot string DriverRootCt...
3
2
1
[{"id": "G0", "claim": "The code creating control device nodes before the CDI-library setup should also use opts.DevRootCtrPath as the dev root.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error message returned when the dev-root transformati...
null
NVIDIA__nvidia-container-toolkit__497
NVIDIA/nvidia-container-toolkit
497
defect
f13f1bdba4ae34506f301e53e01644791771c4d4
0e446ded1b3f54fb8ad5420f5f2137998edf21a0
Add option to set additional containerd configs per runtime
This change allows for the containerd configuration using the `nvidia-ctk` CLI as well as the toolkit container to set additional configuration options. This can be used, for example, to specify the value of `SystemdCgroup` explicitly. For example: ``` ./nvidia-ctk runtime configure --runtime=containerd --dry-run ...
diff --git a/cmd/nvidia-ctk/runtime/configure/configure.go b/cmd/nvidia-ctk/runtime/configure/configure.go index b4b53ed38..6f8f42f31 100644 --- a/cmd/nvidia-ctk/runtime/configure/configure.go +++ b/cmd/nvidia-ctk/runtime/configure/configure.go @@ -17,6 +17,7 @@ package configure import ( + "encoding/json" "fmt" ...
2
1
1
[{"id": "G0", "claim": "In ConfigV1.AddRuntime the config overrides intended for the default runtime are applied to the `runtimes/<name>` subtree, but the `name` there should be `default_runtime` when setting default runtime config options.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
NVIDIA__nvidia-container-toolkit__548
NVIDIA/nvidia-container-toolkit
548
defect
33369861fc8fd44a1bb1506034d690b7025c4387
38d84c73f6ba14a1402e234b859d84413ea7585d
Inject additional libraries for full X11 functionality
This change updates X11 library detection to ensure that this works for a wider range of driver installations. This includes the changes from #490
diff --git a/internal/discover/graphics.go b/internal/discover/graphics.go index b7efec8bb..3bc1b7106 100644 --- a/internal/discover/graphics.go +++ b/internal/discover/graphics.go @@ -50,16 +50,9 @@ func NewDRMNodesDiscoverer(logger logger.Interface, devices image.VisibleDevices // NewGraphicsMountsDiscoverer creat...
1
1
0
[{"id": "G0", "claim": "The comment above isDriverLibrary has a typo — \"checke\" should be \"checks\" (fix the wording of this added doc comment).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__nvidia-container-toolkit__690
NVIDIA/nvidia-container-toolkit
690
defect
da5e3ce8c3bf47c7a09aa7da8f4f5876225ac83e
74d8d64987aaa1ae63ae22f417b5e8d6f2329a45
Only allow host-relative LDConfig paths
This change only allows host-relative LDConfig paths (i.e. the `nvidia-container-cli.ldconfig` setting starts with an `@`) An `allow-ldconfig-from-container` feature flag is added to allow for this the default behaviour to be changed. This feature can be toggled by running: ``` sudo nvidia-ctk config --in-plac...
diff --git a/cmd/nvidia-container-runtime-hook/container_config.go b/cmd/nvidia-container-runtime-hook/container_config.go index fa39bf2f0..eb5cf57b5 100644 --- a/cmd/nvidia-container-runtime-hook/container_config.go +++ b/cmd/nvidia-container-runtime-hook/container_config.go @@ -236,7 +236,7 @@ func getDevicesFromMoun...
3
3
2
[{"id": "G0", "claim": "The pull request should not change NormalizeLDConfigPath to return a named result `(rpath string)` without an explanation of why this change is required.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should be `...
null
NVIDIA__nvidia-container-toolkit__740
NVIDIA/nvidia-container-toolkit
740
defect
f794d09df19b628232d872470772b50f34b45ae8
bac3e258a8723cc26cd87818a589368e91d75a86
Allow IMEX channel requests by volume mount
This allows IMEX channels to be requested as volume mounts in addition to the `NVIDIA_IMEX_CHANNELS` environment variable. See https://github.com/NVIDIA/k8s-device-plugin/pull/985 where this is used in the NVIDIA Device Plugin when the `deviceListStrategy` is set to `volume-mounts`.
diff --git a/cmd/nvidia-container-runtime-hook/container_config.go b/cmd/nvidia-container-runtime-hook/container_config.go index fa39bf2f0..c0e8d25e7 100644 --- a/cmd/nvidia-container-runtime-hook/container_config.go +++ b/cmd/nvidia-container-runtime-hook/container_config.go @@ -6,8 +6,6 @@ import ( "log" "os" "...
4
3
0
[{"id": "G0", "claim": "Rename the nvidiaConfig field ImexChannels to IMEXChannels, as proposed in the attached suggestion block.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move NVIDIA_IMEX_CHANNELS along with NVIDIA_VISIBLE_DEVICES, or create...
null
NVIDIA__nvidia-container-toolkit__807
NVIDIA/nvidia-container-toolkit
807
defect
5c3ffc2fbab348118fe9778632e7e322e9057ae7
e827f76cab4e98fe4a885444d46e87620c49306f
Add imex mode to CDI spec generation
This change adds a imex mode to CDI spec generation. This mode detected generates CDI specifications for existing IMEX channels. By default these devices have the fully qualified CDI device names: `nvidia.com/imex-channel={{ .ID }}`
diff --git a/cmd/nvidia-ctk/cdi/generate/generate.go b/cmd/nvidia-ctk/cdi/generate/generate.go index 9f9e994b2..e02a662b2 100644 --- a/cmd/nvidia-ctk/cdi/generate/generate.go +++ b/cmd/nvidia-ctk/cdi/generate/generate.go @@ -183,17 +183,6 @@ func (m command) validateFlags(c *cli.Context, opts *options) error { retur...
3
2
2
[{"id": "G0", "claim": "Removing strings.ToLower and the mode switch from validateFlags leaves the mode unnormalized and unvalidated in the CLI, and the valid modes (including the new imex mode) are not documented in the --discovery-mode usage string.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
NVIDIA__nvidia-container-toolkit__927
NVIDIA/nvidia-container-toolkit
927
defect
a72050442ecd4cdd4a31eca96d0663ed2b969ba6
21d23bc259e45743013592baef33ba0d585e0c3c
Disable device node creation in CDI mode
This change adds a hook to disable device node creation for FULL GPUs (i.e. non-MIG devices) or modification in a container by updating the `ModifyDeviceFiles` driver parameter. (This does not include `nvidia-caps` devices that are required by MIG devices). The presence of "extra" device nodes in a container are ...
diff --git a/cmd/nvidia-cdi-hook/commands/commands.go b/cmd/nvidia-cdi-hook/commands/commands.go index 3f80ba9be..ea56feab7 100644 --- a/cmd/nvidia-cdi-hook/commands/commands.go +++ b/cmd/nvidia-cdi-hook/commands/commands.go @@ -23,6 +23,7 @@ import ( symlinks "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-cd...
6
4
1
[{"id": "G0", "claim": "The hook command should be called something more descriptive of its intent (such as disable-device-node-modification) instead of update-nvidia-params.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new update-nvidia-params.go ...
null
NVIDIA__nvidia-container-toolkit__947
NVIDIA/nvidia-container-toolkit
947
defect
04e9bf4ac1209492ff05cb311c2f94826911f541
6e7e1a8b9695c1ef671b7fe607af2e6cefde1aa4
Ensure that libcuda.so is in the ldcache
These changes add a hook to create soname symlinks (e.g. `libcuda.so.1` -> `libcuda.so.RM_VERSION`) to ensure that the `libcuda.so` -> `libcuda.so.1` -> `libcuda.so.RM_VERSION` symlink chain exists when the ldcache is updated. This allows `libcuda.so` to be present in the ldcache when `ldconfig` is run. Note that s...
diff --git a/tests/e2e/nvidia-container-toolkit_test.go b/tests/e2e/nvidia-container-toolkit_test.go index 1895aff03..09989aee4 100644 --- a/tests/e2e/nvidia-container-toolkit_test.go +++ b/tests/e2e/nvidia-container-toolkit_test.go @@ -18,6 +18,7 @@ package e2e import ( "context" + "strings" . "github.com/ons...
2
2
0
[{"id": "G0", "claim": "The e2e test's assertion that the captured ldcache output has exactly 2 lines is brittle and should instead check that the expected lib names are contained in the output rather than enforcing an exact line count.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introd...
null
NVIDIA__nvidia-resiliency-ext__138
NVIDIA/nvidia-resiliency-ext
138
defect
5066667ea34584637f99c647be18dea2e6d69dcb
4535e0e19e613c62676cc3a16143f9a5f8575808
checkpointing: fix error propagation and add test
Fixes error propagation during checkpoint saving by using torch's DistWrapper to send the exception to the coordinator instead of killing the process early. Then a broadcast to all ranks occurs to notify them that an error occured so they can all raise an exception, rather than proceeding and hanging on subsequent barr...
diff --git a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py index 1819ae3a2..b537e8a6b 100644 --- a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py +++ b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py @@ -115,18 +115,19 @@ d...
11
7
1
[{"id": "G0", "claim": "TestAsyncSave is marked skipped in this PR rather than fixed, leaving the broken test class unexercised in CI.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test's user-provided finalize_fn should not carry its own try-catch...
null
NVIDIA__nvidia-resiliency-ext__152
NVIDIA/nvidia-resiliency-ext
152
defect
aa4abdbf88072bb7d63da6efdf26f6b9be509e7f
27e9689f74edcde4cabe2e22033276228fe1e159
feat: Add NIC health monitoring and GB200 platform support
- Implement ChainedNicHealthCheck extending HealthCheck base class - Add automatic NIC health checks to InProcess wrapper when LOCAL_RANK present - Introduce GB200 platform detection via pynvml device count and naming - Provide static GPU-NIC mapping for GB200: {0: "mlx5_0", 1: "mlx5_1", 2: "mlx5_3", 3: "mlx5_4"} -...
diff --git a/docs/source/inprocess/api/health_check.rst b/docs/source/inprocess/api/health_check.rst index f66201269..26da135db 100644 --- a/docs/source/inprocess/api/health_check.rst +++ b/docs/source/inprocess/api/health_check.rst @@ -7,3 +7,21 @@ Health Check .. automodule:: nvidia_resiliency_ext.inprocess.health_c...
3
2
1
[{"id": "G0", "claim": "The hard-coded check that a node has exactly 4 GPUs means is_gb200_platform() will not detect GB200-family platforms with a different GPU count, such as 8-GPU HGX B200 clusters.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
NVIDIA__nvidia-resiliency-ext__154
NVIDIA/nvidia-resiliency-ext
154
defect
aeee84ed4e8be37028d0f00afbe8611f63893afd
68deedf646710674a6fc73678b87d66b4d88c723
Ability to abort an async CP process
This PR extends the ability to abort the async CP workers. Problem Statement: In case of fault tolerance situations like inprocess restarts, we want all ranks to have the ability to abort the async CP workers and restart them with inprocess. This is to ensure explicit closure of async CP workers during inprocess res...
diff --git a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py index 1819ae3a2..8b84ee73c 100644 --- a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py +++ b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py @@ -130,6 +130,16 @@ de...
1
1
0
[{"id": "G0", "claim": "The class name `AbortCheckpoint` implies it aborts an in-progress checkpoint, so it should be renamed to something like `AbortPersistentCheckpointProcesses`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__nvidia-resiliency-ext__274
NVIDIA/nvidia-resiliency-ext
274
defect
a97a8f5331f1d5ccb72a1c492cce164eb74c8c89
110e6f89dab5ccd8e9b46b187c956a0102aae5e4
Add QoS control, worker data cache, and warmup for PersistentAsyncCaller
- Add `_set_process_qos()` to deprioritize CPU/IO scheduling of checkpoint worker processes - Add `_worker_data_cache` class variable and `cleanup_worker_data_cache()` to `PersistentAsyncCaller` for managing IPC handle lifecycle - Add `cpu_priority`/`io_priority` params to `PersistentAsyncCaller`, `AsyncCallsQueue`, ...
diff --git a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py index 875202fb5..f8bdd10a0 100644 --- a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py +++ b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py @@ -19,6 +19,8 @@ """ ...
15
6
3
[{"id": "G0", "claim": "abort_nvrx_checkpoint() never cleans up the pre-warmed caller when no AsyncCallsQueue instance exists, so an abort after warmup_persistent_caller() but before the first queue is instantiated leaves a non-daemon worker orphaned; a class-level cleanup path is requested.", "category": "correctness"...
null
NVIDIA__nvidia-resiliency-ext__275
NVIDIA/nvidia-resiliency-ext
275
defect
a97a8f5331f1d5ccb72a1c492cce164eb74c8c89
afc7a9c901a73aae4743163f12c9b3eb19bb1368
Add IPC handle caching via ConsistentDataIdentifier to avoid redundant D2H copies
dependent on #274 - Introduce `ConsistentDataIdentifier` to track whether the worker already has a data structure for a given checkpoint, keyed by write plan hash - Add `_compute_data_structure_key_from_plan()` helper and `use_cached_data_structure` flag to `FileSystemWriterAsync` - Skip re-sending GPU ...
diff --git a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py index 875202fb5..8e1ab2afd 100644 --- a/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py +++ b/src/nvidia_resiliency_ext/checkpointing/async_ckpt/core.py @@ -19,6 +19,8 @@ """ ...
10
5
5
[{"id": "G0", "claim": "Making psutil optional left `_process_memory()` raising RuntimeError when psutil is absent, and worker threads call it before signalling `count_queue.task_done()`, so with psutil not installed and thread_count > 1 the background threads die before signalling and `count_queue.join()` hangs indefi...
null
NVIDIA__nvidia-resiliency-ext__282
NVIDIA/nvidia-resiliency-ext
282
defect
432d5844eaddcbb7a1c6a3ad6b9c3d2697effc7a
c23591b5983f09fc0c7bf48b7c5dcef0be6200fe
Deprecate ptl_resiliency. Deprecate legacy rendezvous.
Fixed conftest to dump error stack trace. Torch 2.11.0 breaks CI on machines having CUDA driver <= 1208
diff --git a/docs/source/fault_tolerance/integration/ptl.rst b/docs/source/fault_tolerance/integration/ptl.rst index bca7214f5..d9bfac367 100644 --- a/docs/source/fault_tolerance/integration/ptl.rst +++ b/docs/source/fault_tolerance/integration/ptl.rst @@ -1,6 +1,10 @@ PyTorch Lightning Integration ******************...
3
3
1
[{"id": "G0", "claim": "Adding `torch = \"<=2.10.0,>=2.3.0\"` as a published package dependency prevents downstream users on torch >= 2.11.0 from installing or upgrading nvidia-resiliency-ext and will cause resolver conflicts, since the cap reflects a CI driver limitation rather than an API incompatibility; it should b...
null
NVIDIA__nvidia-resiliency-ext__29
NVIDIA/nvidia-resiliency-ext
29
defect
6a2313753bc5df1955feae3c28fd57a08437455a
4baa223b249b92d9c55d6fa7f8217e97e4d3c79a
Use MSC in the checkpointing
Integrate the [multi-storage-client](https://github.com/NVIDIA/multi-storage-client) into the checkpoint module to support reading and writing checkpoints on object storage. ``` FileSystemWriterAsync(path="msc://test-bucket-s3/checkpoints/", use_msc=True) ```
diff --git a/pyproject.toml b/pyproject.toml index 614384c71..8f22e603f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,7 @@ pyyaml = "*" pynvml = ">=12.0.0" nvidia-ml-py = ">=12.570.86" defusedxml = "*" +multi-storage-client = ">=0.18.0" [tool.poetry.scripts] ft_launcher = "nvidia_resiliency_ext.f...
5
3
1
[{"id": "G0", "claim": "Make multi-storage-client an optional dependency of NVRx instead of a hard pyproject dependency, so the import only happens when the MSC backend is actually used (raising an exception at that point if it is not installed).", "category": "design", "verdict": "supported", "priority": "P1", "scope"...
null
NVIDIA__nvidia-resiliency-ext__307
NVIDIA/nvidia-resiliency-ext
307
defect
1c7f1a8ea60599a28835b0caf6353550a38d2db8
58a4f3d2d85999687763efb38be0cd35380d518e
Auto-select log aggregation tier.
Default --ft-log-aggregator-count to 0 (auto): single root server for ≤1536 nodes, one leaf per 1536 nodes beyond that. Eliminates manual tuning for most jobs. Increase per_leaf worker headroom from +10 to +100 to absorb load imbalance when SLURM_PROCID sharding groups multiple ranks per physical node onto the same ...
diff --git a/src/nvidia_resiliency_ext/fault_tolerance/launcher.py b/src/nvidia_resiliency_ext/fault_tolerance/launcher.py index 775514e9c..9fb31e17f 100644 --- a/src/nvidia_resiliency_ext/fault_tolerance/launcher.py +++ b/src/nvidia_resiliency_ext/fault_tolerance/launcher.py @@ -2286,12 +2286,14 @@ def get_args_parser...
1
1
0
[{"id": "G0", "claim": "In the new default (n == 0) auto-select path, `args.nnodes` is accessed directly without a getattr fallback unlike every other optional attribute in the method, so a programmatic or unit-test caller whose args object lacks `nnodes` would get a bare AttributeError instead of a meaningful error.",...
null
NVIDIA__nvidia-resiliency-ext__315
NVIDIA/nvidia-resiliency-ext
315
defect
7270b7297c02d6070030866f29cce14c5fcfc779
039e9c3af93189d4d1fb02a065d3ee50f86dc92f
Add UDS endpoint support for attrsvc and smonsvc
Adds Unix domain socket support for the attribution service path: NVRX_ATTRSVC_ENDPOINT=http://localhost:8000 NVRX_ATTRSVC_ENDPOINT=unix:///tmp/nvrx-attrsvc.sock NVRX_ATTRSVC_PORT remains supported as the simple TCP fallback when NVRX_ATTRSVC_ENDPOINT is unset.
diff --git a/services/nvrx_attrsvc/app.py b/services/nvrx_attrsvc/app.py index 73550b2eb..c5b6b3596 100644 --- a/services/nvrx_attrsvc/app.py +++ b/services/nvrx_attrsvc/app.py @@ -6,6 +6,9 @@ import asyncio import json import logging +import os +import socket +import stat import sys import threading from context...
2
2
2
[{"id": "G0", "claim": "The broad `except OSError` around sock.connect() in _prepare_uds_path treats every connect failure as a stale socket, so a PermissionError also reaches os.unlink(), which will likely raise its own unhandled PermissionError and crash with a stack trace instead of the intended clean SystemExit.", ...
null
NVIDIA__nvidia-resiliency-ext__316
NVIDIA/nvidia-resiliency-ext
316
defect
a99a710312dc9ff8abe5ddadafed6a418cd455f1
397fb2079699827bfb4d433012224c359abfd2e6
Refactor attribution runner controller boundary
Now the attribution synchronous APIs use the same controller wrapper as the async service. Also centralizes LLM API key discovery and error messaging in api_keys.py, and updates attribution components/tests to reuse that shared behavior.
diff --git a/src/nvidia_resiliency_ext/attribution/api_keys.py b/src/nvidia_resiliency_ext/attribution/api_keys.py index 4f9b2193f..1e08c849f 100644 --- a/src/nvidia_resiliency_ext/attribution/api_keys.py +++ b/src/nvidia_resiliency_ext/attribution/api_keys.py @@ -13,6 +13,10 @@ import os +LLM_API_KEY_ENV_VAR = "L...
3
3
2
[{"id": "G0", "claim": "The lib backend passes _LOOP_START_TIMEOUT_S (5 s) as the timeout for _controller.start(), which now also runs load_cache(), so on a loaded system disk I/O for a large cache file can exceed 5 s and make controller initialization fail (returning False) even though the controller itself is fine; a...
null
NVIDIA__nvidia-resiliency-ext__318
NVIDIA/nvidia-resiliency-ext
318
defect
a99a710312dc9ff8abe5ddadafed6a418cd455f1
540715940228b2e8a2b4235f51c839730be37f91
feat: Added ft_launcher managed attrsvc
Support ft_launcher to manage the attribution process life cycle. Default the attribution service launcher path to disabled unless --ft-attrsvc-host is set, and require per-cycle application logs when the service is enabled. Add managed attrsvc lifecycle handling, startup validation, port-overlap checks, cleanup, an...
diff --git a/docs/source/fault_tolerance/usage_guide.rst b/docs/source/fault_tolerance/usage_guide.rst index 64bfee414..70c5f4c9e 100644 --- a/docs/source/fault_tolerance/usage_guide.rst +++ b/docs/source/fault_tolerance/usage_guide.rst @@ -112,30 +112,59 @@ Validation behavior: Attribution service integration ^^^^^^...
6
4
0
[{"id": "G0", "claim": "The attribution option should not be tied to an IP host/service framework; it should be a more general backend/endpoint form (e.g. accepting [mcp | lib | unix:// | http://] or a URI) that leaves the window open for UDS.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "...
null
NVIDIA__nvidia-resiliency-ext__319
NVIDIA/nvidia-resiliency-ext
319
defect
9c6adeaf8a30dd816276e2f67c68dec41e766df3
f397493589f596e124649b1786ab039a896b0f18
Expose attrsvc restart recommendations
Adds a normalized attrsvc `recommendation` contract and shared parser. Clients now use `recommendation.action` (`STOP`, `RESTART`, `CONTINUE`, `UNKNOWN`, `TIMEOUT`) instead of interpreting raw `result.state`. Updates ft_launcher client parsing, smonsvc output handling, docs, and focused tests.
diff --git a/services/nvrx_attrsvc/ATTRSVC_SPEC.md b/services/nvrx_attrsvc/ATTRSVC_SPEC.md index dcb4dd236..35ef8e884 100644 --- a/services/nvrx_attrsvc/ATTRSVC_SPEC.md +++ b/services/nvrx_attrsvc/ATTRSVC_SPEC.md @@ -223,6 +223,10 @@ Response: `{ "mode": "pending" | "single" | "splitlog" }`. Returns single-file or spl...
6
5
0
[{"id": "G0", "claim": "The refactor drops the diagnostic logger.warning the old attribution_no_restart emitted when falling back to string matching, so unexpected result shapes (reason empty, state unrecognized) are matched via str(attr_result) silently, and the warning should be re-added inside attribution_recommenda...
null
NVIDIA__nvidia-resiliency-ext__327
NVIDIA/nvidia-resiliency-ext
327
defect
c0aa7faf85f59d2dcfbc5dc0d719b131a9eb1ca9
94aa848f6440c60692db5b1e7048618ce067d410
[codex] Add progressive attribution plumbing
## Summary Adds the NVRx-owned plumbing for progressive FT launcher attribution while keeping the LogSage progressive implementation as an open contract. - Documents the design conclusion: attrsvc owns HTTP plumbing and policy, while the NVRx loganalysis tool boundary owns the progressive option. - Adds `analysis_int...
diff --git a/docs/source/attribution/features/index.rst b/docs/source/attribution/features/index.rst new file mode 100644 index 000000000..45e29ff99 --- /dev/null +++ b/docs/source/attribution/features/index.rst @@ -0,0 +1,13 @@ +Attribution Feature Requirements +================================ + +This section is the ...
2
2
2
[{"id": "G0", "claim": "`_start_progressive_analysis` is awaited directly inside `submit()`, so POST /logs does not return until the progressive-start MCP call (including retries) completes, conflicting with the stated requirement that POST returns without waiting for the analyzer, and the `_log_analysis_lock` held acr...
null
NVIDIA__nvidia-resiliency-ext__333
NVIDIA/nvidia-resiliency-ext
333
defect
c927c0637509198501d7e4943fe930a31249a7aa
428e703fa1c0d08d18d4fbca35322845a7900ad3
[codex] Enable ft launcher attrsvc observability
## Summary - Add ft_launcher plumbing for launcher-managed attrsvc dataflow posting via explicit `--ft-attribution-dataflow-url` / `attribution_dataflow_url` configuration. - Set the managed child service `NVRX_ATTRSVC_DATAFLOW_URL` only from that explicit launcher config, and strip any parent env value so launcher do...
diff --git a/docs/source/fault_tolerance/usage_guide.rst b/docs/source/fault_tolerance/usage_guide.rst index ef835e731..81d7ecd24 100644 --- a/docs/source/fault_tolerance/usage_guide.rst +++ b/docs/source/fault_tolerance/usage_guide.rst @@ -140,6 +140,7 @@ service dependencies. - ``--ft-attribution-llm-base-url <URL...
7
6
2
[{"id": "G0", "claim": "The ValueError messages in _validate_dataflow_url reference the NVRX_ATTRSVC_DATAFLOW_URL env var, but the value is resolved from the CLI flag --ft-attribution-dataflow-url or the YAML field attribution_dataflow_url, so a user who supplied it via CLI/YAML would be confused by the error text.", "...
null
NVIDIA__nvidia-resiliency-ext__339
NVIDIA/nvidia-resiliency-ext
339
defect
f936753814aa5168676e2fd902d36d9e73946f85
e9b4f5aa63d8ac024a5a98941ec5ab1c46af0423
[codex] Add terminal attrsvc analysis intent
## Summary - add explicit `analysis_intent=terminal` for `POST /logs` - have terminal POST schedule the normal `Analyzer.analyze()` result path in the background - rely on the existing coalescer so later `GET /logs` joins in-flight work or returns cached results - wire `smonsvc` terminal jobs to send one terminal POST ...
diff --git a/services/tests/test_smonsvc_attrsvc_client.py b/services/tests/test_smonsvc_attrsvc_client.py index a84238973..2f726ed76 100644 --- a/services/tests/test_smonsvc_attrsvc_client.py +++ b/services/tests/test_smonsvc_attrsvc_client.py @@ -8,6 +8,7 @@ import pytest +from nvidia_resiliency_ext.attribution....
2
2
0
[{"id": "G0", "claim": "The comment on the terminal_signaled field says it is set to True after the POST with analysis_intent=terminal succeeds, but the code sets it before calling request_with_retry regardless of outcome, so the comment should say the POST was attempted.", "category": "documentation", "verdict": "supp...
null
NVIDIA__stdexec__1394
NVIDIA/stdexec
1,394
defect
54b38c99e8cbb348c1dd3508fa540728882247db
d46456d6e1e3665d7d7734b59ced81e1d5241aaa
Define "replaceability API" in terms of C++ interfaces.
- Get rid of old C interface - using `query_system_context` to be able to retrieve different backend implementations - allows both run-time and link-time replaceability
diff --git a/include/exec/__detail/__system_context_default_impl.hpp b/include/exec/__detail/__system_context_default_impl.hpp index 66b48191f..5e31e3443 100644 --- a/include/exec/__detail/__system_context_default_impl.hpp +++ b/include/exec/__detail/__system_context_default_impl.hpp @@ -15,12 +15,17 @@ */ #pragma o...
10
3
2
[{"id": "G0", "claim": "The alias declaration `using __rcvr_t = _BulkState::__rcvr_t;` is missing `typename`, which fails to compile, and it should be `typename _BulkState::__rcvr_t`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The replaceability...
null
NVIDIA__stdexec__1535
NVIDIA/stdexec
1,535
defect
f2576ce22cea0981a7bb6ee484bf394250451dd3
97ec2b5c6a003355ed53cbd3d2f16243e1be8d74
[execpools,asio] add executor getter to be able to schedule asio functions
Currently the asiothread pool can be only used with the senders. However e.g. an asio timer always needs some execution context. By adding a getter for the executor of the thread pool, one can use both APIs together as the example test shows
diff --git a/include/execpools/asio/asio_thread_pool.hpp b/include/execpools/asio/asio_thread_pool.hpp index 5c4085e5b..dc1153854 100644 --- a/include/execpools/asio/asio_thread_pool.hpp +++ b/include/execpools/asio/asio_thread_pool.hpp @@ -30,6 +30,12 @@ namespace execpools { return static_cast<std::uint32_t>( ...
1
1
0
[{"id": "G0", "claim": "Rename the pool's `executor()` getter to `get_executor()` (with its call sites updated), matching ASIO's naming convention for equivalent member functions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__stdexec__1608
NVIDIA/stdexec
1,608
defect
e5dbe49a5257d29adee456f9f653acb00df634f5
4c0fb802014d35b2ada07cb00b9c08cd66f80879
treat unused parameter as error
This PR adds `-Werror=unused-parameter` to the `GNU` compilers, and corrects the series of errors generated thereof.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7badcf1a09..6b7c873d32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,7 +226,7 @@ add_library(stdexec_executable_flags INTERFACE) # Enable warnings target_compile_options(stdexec_executable_flags INTERFACE - $<$<STREQUAL:${stdexec_co...
3
3
0
[{"id": "G0", "claim": "In log_on_cuda_error, put a space after each [[maybe_unused]] attribute for consistency with the project's formatting.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In is_gpu_policy, put a space after [[maybe_unused]] fo...
null
NVIDIA__stdexec__1667
NVIDIA/stdexec
1,667
defect
138e136fa4b93e7e096a4968eaac1b0c94f0d255
10e552dbc67c617a790cd2c4e6fd6edfc0dd27c8
exec::unless_stop_requested
Adds the functionality removed from `stdexec::when_all` by #1666 (see also [P3887](https://isocpp.org/files/papers/P3887R0.pdf)) back as a separate algorithm.
diff --git a/include/exec/unless_stop_requested.hpp b/include/exec/unless_stop_requested.hpp new file mode 100644 index 0000000000..fcae178bda --- /dev/null +++ b/include/exec/unless_stop_requested.hpp @@ -0,0 +1,103 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reser...
1
1
0
[{"id": "G0", "claim": "The stop check in `start` is only ever reached when the receiver is not unstoppable, so the `if constexpr` guard should be dropped and replaced with a `static_assert(!__unstoppable_receiver<_Receiver>)`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NVIDIA__stdexec__1715
NVIDIA/stdexec
1,715
defect
2979af5f6c1d952a0d42829f1f5c9b426da419f3
9f66f9793a1b0d42fd265f1eb4afe0959cb893c0
let_value, _error, & _stopped: Destroy Child Operation State After Completion
Previously the operation states for let_value, let_error, and let_stopped directly contained the operation states of one or two child operations. When first connected this number was one, and after the completion of that first operation and the connection of the sender returned by the wrapped invocable the number was t...
diff --git a/include/stdexec/__detail/__let.hpp b/include/stdexec/__detail/__let.hpp index 7ffd3e8901..233fa678f0 100644 --- a/include/stdexec/__detail/__let.hpp +++ b/include/stdexec/__detail/__let.hpp @@ -33,6 +33,8 @@ #include "__variant.hpp" #include <exception> +#include <type_traits> +#include <utility> na...
5
5
1
[{"id": "G0", "claim": "The completion path should use `try` unconditionally and guard only the `set_error` call in the catch block with the nothrow conditions, since the optimized codegen is identical.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
NVIDIA__stdexec__1718
NVIDIA/stdexec
1,718
defect
80e3657b83febf0298562e71fba4e589f115b0f7
1982e3263149d2a74ebfe9f1af7d40462e9250e3
Fix: when_all cancelled from environment
In the case when when_all is being stopped from a stop source in the environment, the stop_source was triggered multiple times leading to a use after free bug. This patch fixes this by performing the following steps: - Inside the stop callback, increment the reference count. - Try setting the state to stopped,...
diff --git a/include/stdexec/__detail/__when_all.hpp b/include/stdexec/__detail/__when_all.hpp index ab3b92fb5..83003306c 100644 --- a/include/stdexec/__detail/__when_all.hpp +++ b/include/stdexec/__detail/__when_all.hpp @@ -183,18 +183,42 @@ namespace stdexec { struct _INVALID_ARGUMENTS_TO_WHEN_ALL_ { }; - ...
2
2
0
[{"id": "G0", "claim": "The atomic fetch_add should use __std::memory_order_relaxed (atomics from stdexec::__std::) instead of std::memory_order_relaxed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The atomic fetch_sub should use __std::memory_or...
null
NVIDIA__stdexec__1746
NVIDIA/stdexec
1,746
defect
485160802ee5ca42ca4915e3a2330579efae4ea3
8baf34bab014f28cb64f8fc83f5c9b6eb6060fb2
Avoid use-after-free with stdexec::run_loop
We need to synchronize returning from `__run_loop_base::run` with potentially concurrent calls to `__run_loop_base::finish`. This is done by introducing a counter, ensuring proper completion of all tasks in flight. Also see https://github.com/NVIDIA/stdexec/pull/1742 for additional information.
diff --git a/include/stdexec/__detail/__atomic.hpp b/include/stdexec/__detail/__atomic.hpp index d1c6dc2b8..fecd404f2 100644 --- a/include/stdexec/__detail/__atomic.hpp +++ b/include/stdexec/__detail/__atomic.hpp @@ -58,7 +58,7 @@ namespace stdexec::__std { using std::atomic_thread_fence; using std::atomic_signal...
9
7
1
[{"id": "G0", "claim": "A background thread can push the no-op task and, before finish() completes its task-count accounting, the sync_wait thread can observe the no-op item, process it, decrement __task_count_ to 0, exit run() and destroy the state — a race that ends in use-after-free.", "category": "correctness", "ve...
null
NVIDIA__stdexec__1810
NVIDIA/stdexec
1,810
defect
9ecb67154a739b79328d1a9b37c070cb7e4fc391
4abfce78b998b19cc5d4eb8954ffb1529ec223e9
exec(fork_join): make it customizable
This PR makes `exec::fork_join` customizable. Related to: - #1802
diff --git a/include/exec/fork_join.hpp b/include/exec/fork_join.hpp index 491d78e281..10b6e01a53 100644 --- a/include/exec/fork_join.hpp +++ b/include/exec/fork_join.hpp @@ -23,7 +23,7 @@ namespace exec { struct PREDECESSOR_RESULTS_ARE_NOT_DECAY_COPYABLE { }; - struct fork_join_t { + struct fork_join_impl_t { ...
1
1
0
[{"id": "G0", "claim": "In test/exec/test_fork.cpp, replace the body of ForwardingThen's parameterless operator() with `{ }`, dropping the redundant `return;`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
NVIDIA__stdexec__1878
NVIDIA/stdexec
1,878
defect
1a21827866b49bb895f26308b4671336770ffac1
6ac7829df0db2d808af1f482a9d0ef246c4e8a34
exec::sequence: Exception Correctness
Corrected two exception-related problems with exec::sequence: - Previously exec::sequence senders unconditionally reported that they could throw when connected - Previously exec::sequence senders unconditionally reported that they could send set_error_t(std::exception_ptr), updated so this is now reported only if i...
diff --git a/include/exec/sequence.hpp b/include/exec/sequence.hpp index 9f7097777..ed8c2bfb5 100644 --- a/include/exec/sequence.hpp +++ b/include/exec/sequence.hpp @@ -19,6 +19,8 @@ #include "../stdexec/__detail/__variant.hpp" #include "../stdexec/execution.hpp" +#include <type_traits> + STDEXEC_PRAGMA_PUSH() ST...
4
4
0
[{"id": "G0", "claim": "In the `_opstate` constructor's noexcept clause, name the first sender with `::STDEXEC::__tuple_element_t<0, CvSndrs>` instead of `decltype(::STDEXEC::__get<0>(::STDEXEC::__declval<CvSndrs>()))`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
NVIDIA__stdexec__1879
NVIDIA/stdexec
1,879
defect
1a21827866b49bb895f26308b4671336770ffac1
62c7d224073511050046ff1d312424203f997909
exec::repeat_until et al.: Dependent Child Sender Support
The TODO eliminated by this commit not only meant that exec::repeat_until et al. previously didn't the usual constant evaluation techniques to report errors, it also meant that a hard compile error (rather than a return type indicating that the sender is dependent) resulted if: - The child sender was dependent, and ...
diff --git a/include/exec/repeat_until.hpp b/include/exec/repeat_until.hpp index 189f76108..e5f6d5d8d 100644 --- a/include/exec/repeat_until.hpp +++ b/include/exec/repeat_until.hpp @@ -255,13 +255,28 @@ namespace experimental::execution __delete_set_value_t>, __mbind_front_q<__values_t, _Child>::templat...
1
1
1
[{"id": "G0", "claim": "It would be better if __completions_t were always well-formed and returned descriptive errors, and best to rewrite __get_completion_signatures to use consteval instead of TMP.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NVIDIA__stdexec__1974
NVIDIA/stdexec
1,974
defect
5473e9daf50cb8829cfe12fb6b64f5f74a08bcf7
ccc58c43fd4de781c260100d43fc6e1ac74b557c
Shrink the inline storage in connect_awaitable
This diff adapts an idea originally due to @lewissbaker, originally shared at https://godbolt.org/z/zGG9fsPrz, and combines it with the synthetic coroutine frame idea from @sgerbino and @vinniefalco in Capy. Changes to Lewis's original include: * never invoke `coro.destroy()` since it's a no-op anyway * support...
diff --git a/include/stdexec/__detail/__connect_awaitable.hpp b/include/stdexec/__detail/__connect_awaitable.hpp index 34a1e7491b..f62afeb49e 100644 --- a/include/stdexec/__detail/__connect_awaitable.hpp +++ b/include/stdexec/__detail/__connect_awaitable.hpp @@ -38,9 +38,7 @@ namespace STDEXEC // __connect_await ...
5
5
1
[{"id": "G0", "claim": "Use the STDEXEC_TRY / STDEXEC_CATCH_ALL macros instead of the raw try / catch (...) in __final_awaiter::await_suspend.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The data member __coro should have a trailing underscor...
null
NVIDIA__tilus__70
NVIDIA/tilus
70
defect
1ebaf1c209a7b46608bc4bb1151593194bc92077
a5c1a5927f5fab14136793d9f14ba89dbf4facb8
[Instruction] Fuse the arrive-mbarrier into instruction
This PR consolidates the mbarrier arrive operation into the TMA copy instruction, removing the need for separate explicit `mbarrier.arrive()` calls after TMA operations. The change updates both the implementation and documentation to reflect that the TMA instruction now automatically handles the barrier arrival and exp...
diff --git a/examples/blackwell_matmul/matmul_v1.py b/examples/blackwell_matmul/matmul_v1.py index ec4e75d5..de292245 100644 --- a/examples/blackwell_matmul/matmul_v1.py +++ b/examples/blackwell_matmul/matmul_v1.py @@ -52,7 +52,7 @@ def __call__( ) # allocate barriers - tma_barrier, mma_barri...
2
1
0
[{"id": "G0", "claim": "The docstring's 'an uint32' should read 'a uint32' (article before a consonant sound).", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "total_files is now incremented after the git-tracking skip, so untracked files are no lon...
null
NVIDIA__tilus__83
NVIDIA/tilus
83
defect
02c9db422e5d2c53c644ba97e319b3dc5b5cb6ff
7ea0aba074ac127b5f77dfd31d90c9ca31f936a8
[Feature] wgmma instructions for Hopper
Still working in progress. - The sequential (synchronous) matmul example is working. - Only shared memory + shared memory is supported. Didn't do register + share memory - Do we have a formatting script?
diff --git a/examples/hopper_matmul/matmul_tma.py b/examples/hopper_matmul/matmul_tma.py new file mode 100644 index 00000000..106de870 --- /dev/null +++ b/examples/hopper_matmul/matmul_tma.py @@ -0,0 +1,122 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-Li...
4
4
1
[{"id": "G0", "claim": "The new wgmma emitters should assert that the instruction runs in a correct thread group, in the way the existing tcgen05 emitters do.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the trailing commented-out mention o...
null
NVIDIA__tilus__88
NVIDIA/tilus
88
defect
5159bf079eadb6bb401da53c01f622d16bcd79ac
141054c299d942301dcf94654498270aadcf8925
[Refactor] Explict usage of mbarrier arrive_and_expect_tx
API Change Summary: `self.tma.global_to_shared` no longer internally calls `mbarrier_arrive_and_expect_tx`. Users must now explicitly call `self.mbarrier.arrive_and_expect_tx(barrier, tx_count=...)` before issuing TMA loads, and reduce the barrier allocation count accordingly (e.g., from 2 to 1 when grouping two TMA c...
diff --git a/examples/blackwell_matmul/matmul_v1.py b/examples/blackwell_matmul/matmul_v1.py index d5aef9cc..a7693038 100644 --- a/examples/blackwell_matmul/matmul_v1.py +++ b/examples/blackwell_matmul/matmul_v1.py @@ -43,7 +43,7 @@ def __call__( ) # allocate barriers - tma_barrier, mma_barri...
4
3
3
[{"id": "G0", "claim": "SharedTensor.size now returns prod(self.shape) while it is still used for shared-memory allocation (e.g., declared pointer shapes like tensor_pointer_var(... shape=[tensor.size])), so for non-compact/swizzled shared layouts prod(shape) can be smaller than the required storage (SharedLayout.count...
null
NVlabs__alpasim__66
NVlabs/alpasim
66
defect
e3707dd183c1481d5cabfe97d9304aee38c2532d
a54a81a88b816927e8cc169c7e98720eea9051a1
fix: resolve runtime and physics TODOs
## Summary - **Clock.ith_trigger negative index guard** — `ith_trigger(-1)` now raises `ValueError` instead of silently producing nonsensical time ranges (resolves TODO in `types.py:55`) - **RequestStore memory leak fix** — Adds `reap_abandoned()` method to clean up completed-but-unreaped request state from cancelled w...
diff --git a/src/physics/tests/test_utils.py b/src/physics/tests/test_utils.py new file mode 100644 index 00000000..007dfd19 --- /dev/null +++ b/src/physics/tests/test_utils.py @@ -0,0 +1,98 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright (c) 2026 NVIDIA Corporation + +import numpy as np +import pytest +from alp...
3
3
2
[{"id": "G0", "claim": "The new reap_abandoned/active_request_count methods are not used anywhere, so the potential request-state leak still exists; the reviewer asks whether to hook them up in this PR or in a follow-on.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
NVlabs__cBottle__44
NVlabs/cBottle
44
defect
4f44c125398896fad1f4c9df3d80dc845758befa
953789be9a88ea91c7427938e6d32153c8dc16db
Enable higher order gradients
Changes mostly to networks.py, such that the healpix.pad backend and the use_apex_groupnorm arguments are exposed at model initialization time as well as added functionality to avoid in-place operations.
diff --git a/src/cbottle/checkpointing.py b/src/cbottle/checkpointing.py index 7939f35..b72cec9 100644 --- a/src/cbottle/checkpointing.py +++ b/src/cbottle/checkpointing.py @@ -60,7 +60,9 @@ def write_model(self, net: torch.nn.Module): with self._zip.open("net_state.pth", "w", force_zip64=True) as f: ...
7
5
2
[{"id": "G0", "claim": "Asks whether there is a downside to always using the out-of-place bias update (x = x + b.reshape(1, -1, 1, 1)) instead of the new in-place/out-of-place switch.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The use_apex_groupnorm ...
null
NVlabs__cBottle__46
NVlabs/cBottle
46
defect
d46213fd5665d62fcd0d2731da07d4a86cfef98e
88f5919a43416314eae80780342d161a0a59de04
support inference for distilled cBottle-SR
add few step sampler support inference with distilled cBottle-SR
diff --git a/scripts/inference_multidiffusion.py b/scripts/inference_multidiffusion.py index 38744c6..cf4a94b 100644 --- a/scripts/inference_multidiffusion.py +++ b/scripts/inference_multidiffusion.py @@ -89,6 +89,11 @@ def inference(arg_list=None, customized_dataset=None): parser.add_argument( "--save-da...
5
5
3
[{"id": "G0", "claim": "The `sigma_mid` parameter's type hint is incorrect: `List[float]` does not admit the `None` default.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `distill_inference` flag should at minimum be renamed (it switches the sa...
null