|
153 | 153 | "\n", |
154 | 154 | "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", |
155 | 155 | "\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", |
157 | 157 | "\n", |
158 | 158 | "* You are not using the Red Hat Sandbox test environment. \n", |
159 | 159 | "\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." |
167 | 161 | ] |
168 | 162 | }, |
169 | 163 | { |
|
202 | 196 | " },\n", |
203 | 197 | " base_image=\"quay.io/modh/training:py311-cuda124-torch251\",\n", |
204 | 198 | " # 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", |
206 | 200 | " env_vars=[\n", |
207 | 201 | " V1EnvVar(name=\"AWS_ACCESS_KEY_ID\", value=os.environ.get(\"AWS_ACCESS_KEY_ID\")),\n", |
208 | 202 | " V1EnvVar(name=\"AWS_S3_BUCKET\", value=os.environ.get(\"AWS_S3_BUCKET\")),\n", |
|
0 commit comments