File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -514,10 +514,11 @@ if(${TRITON_ENABLE_GPU})
514514endif () # TRITON_ENABLE_GPU
515515
516516if (${TRITON_ENABLE_METRICS_GPU} )
517+ find_package (DCGM REQUIRED)
517518 target_link_libraries (
518519 triton-core
519520 PRIVATE
520- dcgm
521+ DCGM:: dcgm
521522 )
522523endif () # TRITON_ENABLE_METRICS_GPU
523524
Original file line number Diff line number Diff line change 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
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>
You can’t perform that action at this time.
0 commit comments