Skip to content

Commit 70b908c

Browse files
authored
ci: Update DCGM version to 4.2.3-2 (#447)
1 parent cffb38e commit 70b908c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,10 +514,11 @@ if(${TRITON_ENABLE_GPU})
514514
endif() # TRITON_ENABLE_GPU
515515

516516
if(${TRITON_ENABLE_METRICS_GPU})
517+
find_package(DCGM REQUIRED)
517518
target_link_libraries(
518519
triton-core
519520
PRIVATE
520-
dcgm
521+
DCGM::dcgm
521522
)
522523
endif() # TRITON_ENABLE_METRICS_GPU
523524

src/metrics.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
// Copyright 2018-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
//
33
// Redistribution and use in source and binary forms, with or without
44
// modification, are permitted provided that the following conditions
@@ -38,7 +38,6 @@
3838

3939
#ifdef TRITON_ENABLE_METRICS_GPU
4040
#include <cuda_runtime_api.h>
41-
#include <dcgm_agent.h>
4241

4342
#include <cstring>
4443
#include <set>

0 commit comments

Comments
 (0)