Skip to content

Commit e2a8e3e

Browse files
committed
Update _test_and_submit.rst
1 parent f03320d commit e2a8e3e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/source/user_guide/model_training/distributed_training/_test_and_submit.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,14 @@ If your code requires to use any oci services (like object bucket), you need to
1515
1616
**Submit the workload:**
1717

18-
19-
2018
.. code-block:: bash
2119
2220
ads opctl run -f train.yaml -b job
2321
2422
**Note:**: This will automatically push the docker image to the
2523
OCI `container registry repo <https://docs.oracle.com/en-us/iaas/Content/Registry/Concepts/registryoverview.htm>`_ .
2624

27-
Once running, you will see on the terminal an output similar to the below. Note that this yaml
28-
can be used as input to ``ads opctl distributed-training show-config -f <info.yaml>`` - to both
29-
save and see the run info use ``tee`` - for example:
30-
31-
.. code-block:: bash
32-
33-
ads opctl run -f train.yaml | tee info.yaml
25+
Once running, you will see on the terminal an output similar to the below
3426

3527
.. code-block:: yaml
3628
:caption: info.yaml
@@ -42,4 +34,11 @@ save and see the run info use ``tee`` - for example:
4234
otherJobRunIds:
4335
- workerJobRunIdName_1: oci.xxxx.<job_run_ocid>
4436
- workerJobRunIdName_2: oci.xxxx.<job_run_ocid>
45-
- workerJobRunIdName_3: oci.xxxx.<job_run_ocid>
37+
- workerJobRunIdName_3: oci.xxxx.<job_run_ocid>
38+
39+
Note that this yaml can be used as input to ``ads opctl distributed-training show-config -f <info.yaml>``.
40+
You can use ``tee`` to both save and see the job run info, for example:
41+
42+
.. code-block:: bash
43+
44+
ads opctl run -f train.yaml | tee info.yaml

0 commit comments

Comments
 (0)