ubuntu pc restarts with training using 2 1080TI

hello
when i train neural net with gpu, sometimes the pc restarts without any message. i am running ubuntu 16.04 on pytorch.

please, help

Regards
Milton