Skip to content

Commit 56f5bd9

Browse files
author
Yehudit Kerido
committed
sdk tests with papermill
Signed-off-by: Yehudit Kerido <[email protected]>
1 parent ea66c1a commit 56f5bd9

File tree

2 files changed

+6
-73
lines changed

2 files changed

+6
-73
lines changed

examples/v1beta1/sdk/.ipynb_checkpoints/tune-train-from-func-checkpoint.ipynb

+6-48
Original file line numberDiff line numberDiff line change
@@ -80,42 +80,16 @@
8080
]
8181
},
8282
{
83-
"cell_type": "code",
84-
"execution_count": null,
85-
"id": "7211d9e4",
83+
"cell_type": "markdown",
84+
"id": "ee4a3254",
8685
"metadata": {
8786
"collapsed": false,
88-
"editable": true,
8987
"jupyter": {
9088
"outputs_hidden": false
9189
},
92-
"pycharm": {
93-
"name": "#%%\n"
94-
},
95-
"slideshow": {
96-
"slide_type": ""
97-
},
98-
"tags": []
99-
},
100-
"outputs": [],
101-
"source": [
102-
"!pip install {katib_python_sdk}\n",
103-
"!pip install tensorflow\n",
104-
"!pip install kubeflow-training"
105-
]
106-
},
107-
{
108-
"cell_type": "markdown",
109-
"id": "881aae2f-d08e-4439-bef9-1684ff87556d",
110-
"metadata": {
111-
"editable": true,
11290
"pycharm": {
11391
"name": "#%% md\n"
114-
},
115-
"slideshow": {
116-
"slide_type": ""
117-
},
118-
"tags": []
92+
}
11993
},
12094
"source": [
12195
"## Create Train Script for CNN Model\n",
@@ -125,25 +99,9 @@
12599
},
126100
{
127101
"cell_type": "code",
128-
"execution_count": 1,
129-
"id": "98a77484-cee4-4d77-bd76-915c469a242b",
130-
"metadata": {
131-
"editable": true,
132-
"execution": {
133-
"iopub.execute_input": "2022-09-12T18:46:59.051290Z",
134-
"iopub.status.busy": "2022-09-12T18:46:59.050544Z",
135-
"iopub.status.idle": "2022-09-12T18:46:59.249456Z",
136-
"shell.execute_reply": "2022-09-12T18:46:59.248292Z",
137-
"shell.execute_reply.started": "2022-09-12T18:46:59.051211Z"
138-
},
139-
"pycharm": {
140-
"name": "#%%\n"
141-
},
142-
"slideshow": {
143-
"slide_type": ""
144-
},
145-
"tags": []
146-
},
102+
"execution_count": null,
103+
"id": "fce87ff7-bd14-40de-aaec-824a80021705",
104+
"metadata": {},
147105
"outputs": [],
148106
"source": [
149107
"def train_mnist_model(parameters):\n",

examples/v1beta1/sdk/tune-train-from-func.ipynb

-25
Original file line numberDiff line numberDiff line change
@@ -79,31 +79,6 @@
7979
"!pip install kubeflow-training"
8080
]
8181
},
82-
{
83-
"cell_type": "code",
84-
"execution_count": null,
85-
"id": "7211d9e4",
86-
"metadata": {
87-
"collapsed": false,
88-
"editable": true,
89-
"jupyter": {
90-
"outputs_hidden": false
91-
},
92-
"pycharm": {
93-
"name": "#%%\n"
94-
},
95-
"slideshow": {
96-
"slide_type": ""
97-
},
98-
"tags": []
99-
},
100-
"outputs": [],
101-
"source": [
102-
"!pip install {katib_python_sdk}\n",
103-
"!pip install tensorflow\n",
104-
"!pip install kubeflow-training"
105-
]
106-
},
10782
{
10883
"cell_type": "markdown",
10984
"source": [

0 commit comments

Comments
 (0)