Skip to content

Commit d21f627

Browse files
authored
doc-update: notebook #9 edit and new screen-captures (#108)
1 parent 40191fb commit d21f627

File tree

7 files changed

+4
-10
lines changed

7 files changed

+4
-10
lines changed

9_distributed_training_kfto.ipynb

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,11 @@
153153
"\n",
154154
"The model training script loads and distributes the training data set among nodes, performs distributed training, evaluates by using the test data set, and exports the trained model to ONNX format and uploads it to the S3 bucket that is specified in the provided connection.\n",
155155
"\n",
156-
"*Important note:* If one of the following is true:\n",
156+
"*Important note:* If the following is true, you must edit the script in the next Python cell to uncomment the label declaration in the `create_job` function.\n",
157157
"\n",
158158
"* You are not using the Red Hat Sandbox test environment. \n",
159159
"\n",
160-
"* The Kueue component is enabled for OpenShift AI and you have created all Kueue related resources (`ResourceFlavor`, `ClusterQueue`, and `LocalQueue`) and set the `local_queue_name` to \"local-queue\", as described in the _Setting up Kueue resources_ section of this Fraud Detection workshop/tutorial.\n",
161-
"\n",
162-
"You must make the following edits to the script in the next Python cell:\n",
163-
"\n",
164-
"* Provide the `LocalQueue` name.\n",
165-
"\n",
166-
"* Uncomment the label declaration in the `create_job` function."
160+
"* The Kueue component is enabled for OpenShift AI and you have created all Kueue related resources (`ResourceFlavor`, `ClusterQueue`, and `LocalQueue`) and set the `local_queue_name` to \"local-queue\", as described in the _Setting up Kueue resources_ section of this Fraud Detection workshop/tutorial."
167161
]
168162
},
169163
{
@@ -202,7 +196,7 @@
202196
" },\n",
203197
" base_image=\"quay.io/modh/training:py311-cuda124-torch251\",\n",
204198
" # If the Kueue component is enabled and you have created the Kueue-related resources (ResourceFlavor, ClusterQueue and LocalQueue), then uncomment the following line to add the queue-name label:\n",
205-
" # labels={\"kueue.x-k8s.io/queue-name\": local-queue},\n",
199+
" # labels={\"kueue.x-k8s.io/queue-name\": \"local-queue\"},\n",
206200
" env_vars=[\n",
207201
" V1EnvVar(name=\"AWS_ACCESS_KEY_ID\", value=os.environ.get(\"AWS_ACCESS_KEY_ID\")),\n",
208202
" V1EnvVar(name=\"AWS_S3_BUCKET\", value=os.environ.get(\"AWS_S3_BUCKET\")),\n",
238 KB
Loading
309 KB
Loading
5.79 KB
Loading
-14 KB
Loading
-2.8 KB
Loading

workshop/docs/modules/ROOT/pages/automating-workflows-with-pipelines.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To explore the pipeline editor, complete the steps in the following procedure to
1818

1919
. Open your workbench's JupyterLab environment. If the launcher is not visible, click *+* to open it.
2020
+
21-
image::pipelines/wb-pipeline-launcher.png[Pipeline buttons]
21+
image::pipelines/wb-pipeline-launcher.png[Pipeline buttons, 400]
2222

2323
. Click *Pipeline Editor*.
2424
+

0 commit comments

Comments
 (0)