From 549186244fa13ba0da71a0f2c35f434e0a9d10e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 08:03:25 +0000 Subject: [PATCH] Bump github.com/NVIDIA/nvidia-container-toolkit from 1.17.2 to 1.17.4 Bumps [github.com/NVIDIA/nvidia-container-toolkit](https://github.com/NVIDIA/nvidia-container-toolkit) from 1.17.2 to 1.17.4. - [Release notes](https://github.com/NVIDIA/nvidia-container-toolkit/releases) - [Changelog](https://github.com/NVIDIA/nvidia-container-toolkit/blob/v1.17.4/CHANGELOG.md) - [Commits](https://github.com/NVIDIA/nvidia-container-toolkit/compare/v1.17.2...v1.17.4) --- updated-dependencies: - dependency-name: github.com/NVIDIA/nvidia-container-toolkit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 4 ++-- go.sum | 8 ++++---- vendor/github.com/NVIDIA/go-nvml/pkg/nvml/device.go | 7 +++++++ vendor/github.com/NVIDIA/go-nvml/pkg/nvml/gpm.go | 4 ++-- vendor/github.com/NVIDIA/go-nvml/pkg/nvml/system.go | 2 ++ .../NVIDIA/nvidia-container-toolkit/pkg/nvcdi/lib.go | 1 + vendor/modules.txt | 4 ++-- 7 files changed, 20 insertions(+), 10 deletions(-) diff --git a/go.mod b/go.mod index 739df8e65..0b2f807d6 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,8 @@ go 1.22.2 require ( github.com/NVIDIA/go-gpuallocator v0.5.0 github.com/NVIDIA/go-nvlib v0.7.0 - github.com/NVIDIA/go-nvml v0.12.4-0 - github.com/NVIDIA/nvidia-container-toolkit v1.17.2 + github.com/NVIDIA/go-nvml v0.12.4-1 + github.com/NVIDIA/nvidia-container-toolkit v1.17.4 github.com/fsnotify/fsnotify v1.7.0 github.com/google/renameio v1.0.1 github.com/google/uuid v1.6.0 diff --git a/go.sum b/go.sum index e613bf864..3eeb749ed 100644 --- a/go.sum +++ b/go.sum @@ -2,10 +2,10 @@ github.com/NVIDIA/go-gpuallocator v0.5.0 h1:166ICvPv2dU9oZ2J3kJ4y3XdbGCi6LhXgFZJ github.com/NVIDIA/go-gpuallocator v0.5.0/go.mod h1:zos5bTIN01hpQioOyu9oRKglrznImMQvm0bZllMmckw= github.com/NVIDIA/go-nvlib v0.7.0 h1:Z/J7skMdLbTiHvomKVsGYsttfQMZj5FwNYIFXhZ4i/c= github.com/NVIDIA/go-nvlib v0.7.0/go.mod h1:9UrsLGx/q1OrENygXjOuM5Ey5KCtiZhbvBlbUIxtGWY= -github.com/NVIDIA/go-nvml v0.12.4-0 h1:4tkbB3pT1O77JGr0gQ6uD8FrsUPqP1A/EOEm2wI1TUg= -github.com/NVIDIA/go-nvml v0.12.4-0/go.mod h1:8Llmj+1Rr+9VGGwZuRer5N/aCjxGuR5nPb/9ebBiIEQ= -github.com/NVIDIA/nvidia-container-toolkit v1.17.2 h1:iE6PK9SQH3HyDrOolu27xn3CJgURR3bDtnbfFrxdML8= -github.com/NVIDIA/nvidia-container-toolkit v1.17.2/go.mod h1:R6bNf6ca0IjjACa0ncKGvsrx6zSjsgz8QkFyBDk5szU= +github.com/NVIDIA/go-nvml v0.12.4-1 h1:WKUvqshhWSNTfm47ETRhv0A0zJyr1ncCuHiXwoTrBEc= +github.com/NVIDIA/go-nvml v0.12.4-1/go.mod h1:8Llmj+1Rr+9VGGwZuRer5N/aCjxGuR5nPb/9ebBiIEQ= +github.com/NVIDIA/nvidia-container-toolkit v1.17.4 h1:6S67r55wiPJm3GrfsSNJt0+qIbj1/X2OEgVoU05JrM0= +github.com/NVIDIA/nvidia-container-toolkit v1.17.4/go.mod h1:noSlm+fO6wugg5Ku8tAdfFJeBf46ViCBpiH89ADispY= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= diff --git a/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/device.go b/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/device.go index ac778e5ab..de0ab88c0 100644 --- a/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/device.go +++ b/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/device.go @@ -2808,6 +2808,7 @@ func (l *library) DeviceGetRunningProcessDetailList(device Device) (ProcessDetai func (device nvmlDevice) GetRunningProcessDetailList() (ProcessDetailList, Return) { var plist ProcessDetailList + plist.Version = STRUCT_VERSION(plist, 1) ret := nvmlDeviceGetRunningProcessDetailList(device, &plist) return plist, ret } @@ -2923,6 +2924,7 @@ func (l *library) DeviceGetPciInfoExt(device Device) (PciInfoExt, Return) { func (device nvmlDevice) GetPciInfoExt() (PciInfoExt, Return) { var pciInfo PciInfoExt + pciInfo.Version = STRUCT_VERSION(pciInfo, 1) ret := nvmlDeviceGetPciInfoExt(device, &pciInfo) return pciInfo, ret } @@ -2969,6 +2971,7 @@ func (l *library) DeviceGetVgpuHeterogeneousMode(device Device) (VgpuHeterogeneo func (device nvmlDevice) GetVgpuHeterogeneousMode() (VgpuHeterogeneousMode, Return) { var heterogeneousMode VgpuHeterogeneousMode + heterogeneousMode.Version = STRUCT_VERSION(heterogeneousMode, 1) ret := nvmlDeviceGetVgpuHeterogeneousMode(device, &heterogeneousMode) return heterogeneousMode, ret } @@ -2994,6 +2997,7 @@ func (device nvmlDevice) GetVgpuTypeSupportedPlacements(vgpuTypeId VgpuTypeId) ( func (vgpuTypeId nvmlVgpuTypeId) GetSupportedPlacements(device Device) (VgpuPlacementList, Return) { var placementList VgpuPlacementList + placementList.Version = STRUCT_VERSION(placementList, 1) ret := nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDeviceHandle(device), vgpuTypeId, &placementList) return placementList, ret } @@ -3009,6 +3013,7 @@ func (device nvmlDevice) GetVgpuTypeCreatablePlacements(vgpuTypeId VgpuTypeId) ( func (vgpuTypeId nvmlVgpuTypeId) GetCreatablePlacements(device Device) (VgpuPlacementList, Return) { var placementList VgpuPlacementList + placementList.Version = STRUCT_VERSION(placementList, 1) ret := nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDeviceHandle(device), vgpuTypeId, &placementList) return placementList, ret } @@ -3041,6 +3046,7 @@ func (l *library) DeviceGetVgpuProcessesUtilizationInfo(device Device) (VgpuProc func (device nvmlDevice) GetVgpuProcessesUtilizationInfo() (VgpuProcessesUtilizationInfo, Return) { var vgpuProcUtilInfo VgpuProcessesUtilizationInfo + vgpuProcUtilInfo.Version = STRUCT_VERSION(vgpuProcUtilInfo, 1) ret := nvmlDeviceGetVgpuProcessesUtilizationInfo(device, &vgpuProcUtilInfo) return vgpuProcUtilInfo, ret } @@ -3052,6 +3058,7 @@ func (l *library) DeviceGetSramEccErrorStatus(device Device) (EccSramErrorStatus func (device nvmlDevice) GetSramEccErrorStatus() (EccSramErrorStatus, Return) { var status EccSramErrorStatus + status.Version = STRUCT_VERSION(status, 1) ret := nvmlDeviceGetSramEccErrorStatus(device, &status) return status, ret } diff --git a/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/gpm.go b/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/gpm.go index 7f8995cc7..5a71c0ff3 100644 --- a/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/gpm.go +++ b/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/gpm.go @@ -122,7 +122,7 @@ func (device nvmlDevice) GpmQueryDeviceSupportV() GpmSupportV { func (gpmSupportV GpmSupportV) V1() (GpmSupport, Return) { var gpmSupport GpmSupport - gpmSupport.Version = 1 + gpmSupport.Version = STRUCT_VERSION(gpmSupport, 1) ret := nvmlGpmQueryDeviceSupport(gpmSupportV.device, &gpmSupport) return gpmSupport, ret } @@ -133,7 +133,7 @@ func (l *library) GpmQueryDeviceSupport(device Device) (GpmSupport, Return) { func (device nvmlDevice) GpmQueryDeviceSupport() (GpmSupport, Return) { var gpmSupport GpmSupport - gpmSupport.Version = GPM_SUPPORT_VERSION + gpmSupport.Version = STRUCT_VERSION(gpmSupport, GPM_SUPPORT_VERSION) ret := nvmlGpmQueryDeviceSupport(device, &gpmSupport) return gpmSupport, ret } diff --git a/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/system.go b/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/system.go index bee396415..a1cc7db4e 100644 --- a/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/system.go +++ b/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/system.go @@ -121,6 +121,7 @@ func SystemGetNvlinkBwMode() (uint32, Return) { // nvml.SystemGetConfComputeKeyRotationThresholdInfo() func (l *library) SystemGetConfComputeKeyRotationThresholdInfo() (ConfComputeGetKeyRotationThresholdInfo, Return) { var keyRotationThresholdInfo ConfComputeGetKeyRotationThresholdInfo + keyRotationThresholdInfo.Version = STRUCT_VERSION(keyRotationThresholdInfo, 1) ret := nvmlSystemGetConfComputeKeyRotationThresholdInfo(&keyRotationThresholdInfo) return keyRotationThresholdInfo, ret } @@ -128,6 +129,7 @@ func (l *library) SystemGetConfComputeKeyRotationThresholdInfo() (ConfComputeGet // nvml.SystemGetConfComputeSettings() func (l *library) SystemGetConfComputeSettings() (SystemConfComputeSettings, Return) { var settings SystemConfComputeSettings + settings.Version = STRUCT_VERSION(settings, 1) ret := nvmlSystemGetConfComputeSettings(&settings) return settings, ret } diff --git a/vendor/github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi/lib.go b/vendor/github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi/lib.go index 8ed9e5aa0..5499f7330 100644 --- a/vendor/github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi/lib.go +++ b/vendor/github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi/lib.go @@ -97,6 +97,7 @@ func New(opts ...Option) (Interface, error) { root.WithLogger(l.logger), root.WithDriverRoot(l.driverRoot), root.WithLibrarySearchPaths(l.librarySearchPaths...), + root.WithConfigSearchPaths(l.configSearchPaths...), ) if l.nvmllib == nil { var nvmlOpts []nvml.LibraryOption diff --git a/vendor/modules.txt b/vendor/modules.txt index 5a5ffff02..8d5247342 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -10,11 +10,11 @@ github.com/NVIDIA/go-nvlib/pkg/nvpci github.com/NVIDIA/go-nvlib/pkg/nvpci/bytes github.com/NVIDIA/go-nvlib/pkg/nvpci/mmio github.com/NVIDIA/go-nvlib/pkg/pciids -# github.com/NVIDIA/go-nvml v0.12.4-0 +# github.com/NVIDIA/go-nvml v0.12.4-1 ## explicit; go 1.20 github.com/NVIDIA/go-nvml/pkg/dl github.com/NVIDIA/go-nvml/pkg/nvml -# github.com/NVIDIA/nvidia-container-toolkit v1.17.2 +# github.com/NVIDIA/nvidia-container-toolkit v1.17.4 ## explicit; go 1.20 github.com/NVIDIA/nvidia-container-toolkit/internal/config/image github.com/NVIDIA/nvidia-container-toolkit/internal/discover