Skip to content

Commit

Permalink
Fix files for local debugging. (#515)
Browse files Browse the repository at this point in the history
* Fix(yaml): Fix file naming and mirror
pulling policy for local debugging.

* Fix(docs): Fix docker tag to prevent
confusion with controller image.

* Rename the yaml metadata to prevent test
tasks from conflicting with tutorial tasks.
  • Loading branch information
Antlera authored Jul 21, 2023
1 parent 172f4c0 commit e5ba4e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: elastic.iml.github.io/v1alpha1
kind: ElasticJob
metadata:
name: torch-mnist
name: torch-mnist-debug
namespace: dlrover
spec:
distributionStrategy: AllreduceStrategy
Expand All @@ -15,8 +15,8 @@ spec:
containers:
- name: main
# yamllint disable-line rule:line-length
image: registry.cn-hangzhou.aliyuncs.com/intell-ai/dlrover:torch201-mnist-test
imagePullPolicy: Always
image: easydl/dlrover-train:test
imagePullPolicy: Never
command:
- /bin/bash
- -c
Expand All @@ -38,5 +38,5 @@ spec:
restartPolicy: Never
containers:
- name: main
imagePullPolicy: Always
image: registry.cn-hangzhou.aliyuncs.com/intell-ai/dlrover:test
imagePullPolicy: Never
image: easydl/dlrover-master:test
2 changes: 1 addition & 1 deletion docs/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ docker build -t easydl/dlrover-master:test -f docker/Dockerfile .
**Build the training image of PyTorch models.**

```bash
docker build -t easydl/dlrover-master:test -f docker/pytorch/mnist.dockerfile .
docker build -t easydl/dlrover-train:test -f docker/pytorch/mnist.dockerfile .
```

### 5. Submit an ElasticJob to test your images.
Expand Down

0 comments on commit e5ba4e3

Please sign in to comment.