Closed bingiflash closed 6 months ago
@bingiflash,
It is not possible to inject errors through dcgmi when using the embedded hostengine, as dcgmi requires a connection to the hostengine, which is not exposed in embedded mode.
With the embedded hostengine, you must use dcgmInjectEntityFieldValue
DCGM API directly, but that's not provided in the go-dcgm.
Understood. thanks
I'm trying to run this sample code in a GPU machine.
dcgm.Init(dcgm.Standalone,"localhost","0")
and I run injection with
$ dcgmi test --inject --gpuid 0 -f 230 -v 64
dcgm.Init(dcgm.Embedded)
and I run injection with
$ dcgmi test --inject --gpuid 0 -f 230 -v 64
I want to know if this is an issue with the test tool, or will embedding mode miss the events during real incidents as well?
side: I cannot run Standalone mode because I want to run this in a docker, and standalone is giving some
systemctl
errors