From 1dc3aa967fcee0e9f10ba7a038af8c8f0a6bf7b2 Mon Sep 17 00:00:00 2001 From: wanziyu Date: Thu, 25 Aug 2022 16:13:13 +0800 Subject: [PATCH] feat(training):update pytorch elastic training job example Signed-off-by: wanziyu --- example/pytorch/torchelastic/torchelastic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/pytorch/torchelastic/torchelastic.yaml b/example/pytorch/torchelastic/torchelastic.yaml index 938be11e..9a3c5b18 100644 --- a/example/pytorch/torchelastic/torchelastic.yaml +++ b/example/pytorch/torchelastic/torchelastic.yaml @@ -23,7 +23,7 @@ spec: imagePullPolicy: Always Worker: replicas: 1 - restartPolicy: ExitCode + restartPolicy: OnFailure template: spec: volumes: