DCGM icon indicating copy to clipboard operation
DCGM copied to clipboard

Fault injection in my pytorch training job

Open hjx620 opened this issue 1 year ago • 1 comments

I want to do low cost error recovery from deep learning training failures. So I need to simulate some errors in my pytorch training file to test my system.

I find that DCGM has the ability of fault injection, such as:

How can I use them in my pytorch file? Thanks

hjx620 avatar Sep 22 '24 02:09 hjx620

Injecting errors into DCGM does not inject errors into the driver, NVML, or any other layer lower than DCGM itself. If your pytorch code integrates with DCGM to determine GPU health (using the DCGM health API for example), then injecting an error will trigger a callback. But if your pytorch code relies on anything lower than DCGM in the software stack then error injection will have no effect.

glowkey avatar Sep 25 '24 14:09 glowkey