|
84 | 84 | jq -r 'del(.cells[] | select(.source[] | contains("Create authentication object for user permissions")))' 0_basic_ray.ipynb > 0_basic_ray.ipynb.tmp && mv 0_basic_ray.ipynb.tmp 0_basic_ray.ipynb |
85 | 85 | jq -r 'del(.cells[] | select(.source[] | contains("auth.logout()")))' 0_basic_ray.ipynb > 0_basic_ray.ipynb.tmp && mv 0_basic_ray.ipynb.tmp 0_basic_ray.ipynb |
86 | 86 | # Set explicit namespace as SDK need it (currently) to resolve local queues |
87 | | - sed -i "s/head_memory=2,/head_memory=2, namespace='default',/" 0_basic_ray.ipynb |
| 87 | + sed -i "s/head_memory_limits=2,/head_memory_limits=2, namespace='default',/" 0_basic_ray.ipynb |
88 | 88 | # Run notebook |
89 | 89 | poetry run papermill 0_basic_ray.ipynb 0_basic_ray_out.ipynb --log-output --execution-timeout 600 |
90 | 90 | working-directory: demo-notebooks/guided-demos |
@@ -206,7 +206,7 @@ jobs: |
206 | 206 | JOB_WAIT=$(jq -r '.' ${GITHUB_WORKSPACE}/.github/resources/wait_for_job_cell.json) |
207 | 207 | jq --argjson job_wait "$JOB_WAIT" -r '(.cells[] | select(.source[] | contains("async for lines in client.tail_job_logs"))) |= $job_wait' 1_cluster_job_client.ipynb > 1_cluster_job_client.ipynb.tmp && mv 1_cluster_job_client.ipynb.tmp 1_cluster_job_client.ipynb |
208 | 208 | # Set explicit namespace as SDK need it (currently) to resolve local queues |
209 | | - sed -i "s/head_cpus=1,/head_cpus=1, namespace='default',/" 1_cluster_job_client.ipynb |
| 209 | + sed -i "s/head_cpu_limits=1,/head_cpu_limits=1, namespace='default',/" 1_cluster_job_client.ipynb |
210 | 210 | # Run notebook |
211 | 211 | poetry run papermill 1_cluster_job_client.ipynb 1_cluster_job_client_out.ipynb --log-output --execution-timeout 1200 |
212 | 212 | working-directory: demo-notebooks/guided-demos |
@@ -332,7 +332,7 @@ jobs: |
332 | 332 | # Rewrite cluster_uri() to local_client_url() to retrieve client URL available out of cluster, as the test is executed outside of cluster |
333 | 333 | sed -i "s/cluster_uri()/local_client_url()/" 2_basic_interactive.ipynb |
334 | 334 | # Set explicit namespace as SDK need it (currently) to resolve local queues |
335 | | - sed -i "s/head_cpus=1,/head_cpus=1, namespace='default',/" 2_basic_interactive.ipynb |
| 335 | + sed -i "s/head_cpu_limits=1,/head_cpu_limits=1, namespace='default',/" 2_basic_interactive.ipynb |
336 | 336 | # Add MINIO related modules to runtime environment |
337 | 337 | sed -i "s/\\\\\"transformers/\\\\\"s3fs\\\\\", \\\\\"pyarrow\\\\\", \\\\\"transformers/" 2_basic_interactive.ipynb |
338 | 338 | # Replace markdown cell with remote configuration for MINIO |
|
0 commit comments