Skip to content

Commit 88ed6eb

Browse files
Maxusmustiopenshift-merge-robot
authored andcommitted
Updated all notebooks, and outputs of non-instascale
1 parent f292f26 commit 88ed6eb

19 files changed

+297
-11893
lines changed

demo-notebooks/interactive/local_interactive.ipynb renamed to demo-notebooks/additional-interactive/local_interactive.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"cluster_name = \"hfgputest-1\"\n",
4545
"local_interactive = True\n",
4646
"\n",
47-
"cluster = Cluster(ClusterConfiguration(local_interactive=local_interactive, namespace=namespace, name=cluster_name, min_worker=1, max_worker=1, min_cpus=1, max_cpus=1, min_memory=4, max_memory=4, gpu=0, instascale=False, machine_types=[\"m5.xlarge\", \"p3.8xlarge\"]))"
47+
"cluster = Cluster(ClusterConfiguration(local_interactive=local_interactive, namespace=namespace, name=cluster_name, num_workers=1, min_cpus=1, max_cpus=1, min_memory=4, max_memory=4, num_gpus=0, instascale=False, machine_types=[\"m5.xlarge\", \"p3.8xlarge\"]))"
4848
]
4949
},
5050
{
@@ -319,7 +319,7 @@
319319
"name": "python",
320320
"nbconvert_exporter": "python",
321321
"pygments_lexer": "ipython3",
322-
"version": "3.8.13"
322+
"version": "3.8.17"
323323
},
324324
"vscode": {
325325
"interpreter": {

demo-notebooks/batch-job/batch_mnist_mcad.ipynb

Lines changed: 0 additions & 3377 deletions
This file was deleted.

demo-notebooks/batch-job/batch_mnist_ray.ipynb

Lines changed: 0 additions & 5250 deletions
This file was deleted.

demo-notebooks/batch-job/mnist.py

Lines changed: 0 additions & 160 deletions
This file was deleted.

demo-notebooks/batch-job/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

demo-notebooks/guided-demos/0_basic_ray.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,13 @@
5858
"cluster = Cluster(ClusterConfiguration(\n",
5959
" name='raytest',\n",
6060
" namespace='default',\n",
61-
" min_worker=2,\n",
62-
" max_worker=2,\n",
61+
" num_workers=2,\n",
6362
" min_cpus=1,\n",
6463
" max_cpus=1,\n",
6564
" min_memory=4,\n",
6665
" max_memory=4,\n",
67-
" image=\"quay.io/project-codeflare/ray:2.5.0-py38-cu116\",\n",
68-
" gpu=0,\n",
66+
" num_gpus=0,\n",
67+
" image=\"quay.io/project-codeflare/ray:2.5.0-py38-cu116\", #current default\n",
6968
" instascale=False\n",
7069
"))"
7170
]

demo-notebooks/guided-demos/1_basic_instascale.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@
5555
"cluster = Cluster(ClusterConfiguration(\n",
5656
" name='instascaletest',\n",
5757
" namespace='default',\n",
58-
" min_worker=2,\n",
59-
" max_worker=2,\n",
58+
" num_workers=2,\n",
6059
" min_cpus=2,\n",
6160
" max_cpus=2,\n",
6261
" min_memory=8,\n",
6362
" max_memory=8,\n",
64-
" gpu=1,\n",
65-
" image=\"quay.io/project-codeflare/ray:2.5.0-py38-cu116\",\n",
63+
" num_gpus=1,\n",
6664
" instascale=True, # InstaScale now enabled, will scale OCP cluster to guarantee resource request\n",
6765
" machine_types=[\"m5.xlarge\", \"g4dn.xlarge\"] # Head, worker AWS machine types desired\n",
6866
"))"

demo-notebooks/guided-demos/2_basic_jobs.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@
5555
"cluster = Cluster(ClusterConfiguration(\n",
5656
" name='jobtest',\n",
5757
" namespace='default',\n",
58-
" min_worker=2,\n",
59-
" max_worker=2,\n",
58+
" num_workers=2,\n",
6059
" min_cpus=1,\n",
6160
" max_cpus=1,\n",
6261
" min_memory=4,\n",
6362
" max_memory=4,\n",
64-
" gpu=0,\n",
65-
" image=\"quay.io/project-codeflare/ray:2.5.0-py38-cu116\",\n",
63+
" num_gpus=0,\n",
6664
" instascale=False\n",
6765
"))"
6866
]

demo-notebooks/guided-demos/3_basic_interactive.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@
5555
"cluster = Cluster(ClusterConfiguration(\n",
5656
" name='interactivetest',\n",
5757
" namespace='default',\n",
58-
" min_worker=2,\n",
59-
" max_worker=2,\n",
58+
" num_workers=2,\n",
6059
" min_cpus=2,\n",
6160
" max_cpus=2,\n",
6261
" min_memory=8,\n",
6362
" max_memory=8,\n",
64-
" gpu=1,\n",
65-
" image=\"quay.io/project-codeflare/ray:2.5.0-py38-cu116\",\n",
63+
" num_gpus=1,\n",
6664
" instascale=True,\n",
6765
" machine_types=[\"m5.xlarge\", \"g4dn.xlarge\"]\n",
6866
" \n",

0 commit comments

Comments
 (0)