This repository was archived by the owner on Jan 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
kubernetes/config/samples Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
The examples below run on the `torchelastic/examples <https://hub.docker.com/r/torchelastic/examples >`_
5
5
Docker image, built from the `examples/Dockerfile <https://github.com/pytorch/elastic/blob/master/examples/Dockerfile >`_.
6
6
7
- .. note :: The ``$VERSION`` (e.g. ``0.2.0rc1 ``) variable is used throughout this page,
7
+ .. note :: The ``$VERSION`` (e.g. ``0.2.0 ``) variable is used throughout this page,
8
8
this should be substituted with the version of torchelastic you are using.
9
- The examples below only work on torchelastic ``>0.2.0rc1 ``.
9
+ The examples below only work on torchelastic ``>= 0.2.0 ``.
10
10
11
11
Prerequisite
12
12
--------------
Original file line number Diff line number Diff line change 1
- ARG BASE_IMAGE=pytorch/elastic:0.2.0rc1
1
+ ARG BASE_IMAGE=pytorch/elastic:0.2.0
2
2
FROM $BASE_IMAGE
3
3
4
4
# install utilities and dependencies
Original file line number Diff line number Diff line change 18
18
spec :
19
19
containers :
20
20
- name : elasticjob-worker
21
- image : torchelastic/examples:0.2.0rc1
21
+ image : torchelastic/examples:0.2.0
22
22
imagePullPolicy : Always
23
23
args :
24
24
- " --nproc_per_node=1"
Original file line number Diff line number Diff line change 18
18
spec :
19
19
containers :
20
20
- name : elasticjob-worker
21
- image : torchelastic/examples:0.2.0rc1
21
+ image : torchelastic/examples:0.2.0
22
22
imagePullPolicy : Always
23
23
args :
24
24
- " --nproc_per_node=1"
You can’t perform that action at this time.
0 commit comments