NVIDIA / DCGM

NVIDIA Data Center GPU Manager (DCGM) is a project for gathering telemetry and measuring the health of NVIDIA GPUs
Apache License 2.0
373 stars 49 forks source link

How to use profiling from python bindings? #123

Closed optyang closed 10 months ago

optyang commented 10 months ago

Hi, I would like to use profiling from the python bindings. It seems to me that the python class DcgmGroupProfiling is lacking a method dcgmProfWatchFields (and dcgmProfUnwatchFields), which is the C++ counterpart defined at here.

Am I missing anything or is there a workaround? Thanks.

nikkon-dev commented 10 months ago

@optyang,

Which DCGM version are you using? The dcgmProfWatchFields and dcgmProfUnwatchFields are deprecated, and you should use the DCGM_FI_PROF* fields as any other field with dcgmWatchFields API.

optyang commented 10 months ago

@optyang,

Which DCGM version are you using? The dcgmProfWatchFields and dcgmProfUnwatchFields are deprecated, and you should use the DCGM_FI_PROF* fields as any other field with dcgmWatchFields API.

Thanks a lot!