Repository navigation
Changelist
Features
- Add
GetLoadedLibraryPathto report the DCGM client library opened by the Linux loader. Read client and hostengine version information through that library (by @rvatkar). - Add
IsStringBlankandIsFloat64Blankto recognize DCGM blank values.
Fixes
- Use the native v2 layout for
ConfigGetandConfigSeton DCGM 4.6 and 4.7 clients while keeping clock values in Hz in the Go API. - Fix diagnostic requests from a DCGM 4.8 client to a 4.7.1 hostengine.
- Correct BAR1 and framebuffer capacities in
GetDeviceInfofor a DCGM 4.8.0 client connected to a 4.6.1 hostengine. - Use DCGM's blank constants, including
<<<NOT_PERM>>>forDCGM_FT_STR_NOT_PERMISSIONED(reported in #143 by @0z5a). - Match
GetDeviceStatusreadings by field ID and keep valid readings when another field is unavailable. - Reject invalid topology and NVLink counts before copying native results. Validate the field values used for PCIe bandwidth and CPU affinity (by @rvatkar).
- Preserve native DCGM errors and report cleanup failures during session startup, watch setup, and device and health reads (by @rvatkar).
- Return an error matching
errors.ErrUnsupportedfromFieldGetByIDwhen a field is absent from the initialized catalog (by @rvatkar). - Show DCGM blank markers as
N/Ain the process-info CLI and REST text samples while preserving measured zeros in those fields.
Testing
- Add regression tests for loaded-library version queries, runtime version selection, partial GPU status with cleanup errors, and malformed field and topology responses.
- Add dedicated Bazel targets for binding integration and diagnostics tests, collect reports across GPU test runs, and require a passing result in sample diagnostics.
Build
- Update Bazel to
9.3.3,github.com/bits-and-blooms/bitsettov1.30.0, and goimports andgolang.org/x/toolstov0.53.0.
The DCGM build baseline remains 4.8.0-1.