Skip to content

Commit c077210

Browse files
committed
deployment updates
1 parent 7d86322 commit c077210

7 files changed

+31
-10
lines changed
Loading
Loading
Loading
Loading
Loading

docs/user_guides/mlops/serving/predictor.md

+30-9
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,25 @@ If you have at least one model already trained and saved in the Model Registry,
3434

3535
Once in the deployments page, you can create a new deployment by either clicking on `New deployment` (if there are no existing deployments) or on `Create new deployment` it the top-right corner. Both options will open the deployment creation form.
3636

37-
### Step 2: Choose a model server
37+
### Step 2: Choose a framework
3838

39-
A simplified creation form will appear, including the most common deployment fields from all available configurations. These fields include the [model server](#model-server) and [custom script](#custom-script) (for python models).
39+
A simplified creation form will appear, including the most common deployment fields from all available configurations. The first step is to select your model to serve, which is done by first selecting the framework the model was registered as in the model registry.
40+
41+
For example if you registered the model as a TensorFlow model using `ModelRegistry.tensorflow.create_model(...)` you select `Tensorflow` in the dropdown.
42+
43+
<p align="center">
44+
<figure>
45+
<img src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_1.png" alt="Select the model framework">
46+
<figcaption>Select the model framework</figcaption>
47+
</figure>
48+
</p>
49+
50+
All models registered for a specific framework will be listed in the model dropdown.
4051

4152
<p align="center">
4253
<figure>
43-
<img style="float: left; width: 45%; margin-right: 12px" src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_tf.png" alt="Simplified deployment creation form for TensorFlow">
44-
<img style="width: 45%;" src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_py.png" alt="Deployment simplified creation form for Python">
45-
<figcaption>Simplified deployment creation forms for TensorFlow models (left) and Python models (right)</figcaption>
54+
<img style="max-width: 60%; margin: 0 auto" src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_2.png" alt="Select the model">
55+
<figcaption>Select the model</figcaption>
4656
</figure>
4757
</p>
4858

@@ -59,13 +69,24 @@ For python models, if you want to use your own [predictor script](#step-2-option
5969
</figure>
6070
</p>
6171

62-
### Step 4 (Optional): Enable KServe
72+
### Step 4 (Optional): Change predictor environment
73+
74+
If you are using a predictor script click on `From project` and navigate through the file system to find it, or click on `Upload new file` to upload a predictor script now.
75+
76+
<p align="center">
77+
<figure>
78+
<img style="max-width: 80%; margin: 0 auto" src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_py_pred.png" alt="Predictor script in the simplified deployment form">
79+
<figcaption>Select a predictor script in the simplified deployment form</figcaption>
80+
</figure>
81+
</p>
82+
83+
### Step 5 (Optional): Enable KServe
6384

6485
Other configuration such as the serving tool, is part of the advanced options of a deployment. To navigate to the advanced creation form, click on `Advanced options`.
6586

6687
<p align="center">
6788
<figure>
68-
<img style="max-width: 80%; margin: 0 auto" src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_adv_options.png" alt="Advance options">
89+
<img style="max-width: 60%; margin: 0 auto" src="../../../../assets/images/guides/mlops/serving/deployment_simple_form_adv_options.png" alt="Advance options">
6990
<figcaption>Advanced options. Go to advanced deployment creation form</figcaption>
7091
</figure>
7192
</p>
@@ -79,7 +100,7 @@ Here, you change the [serving tool](#serving-tool) for your deployment by enabli
79100
</figure>
80101
</p>
81102

82-
### Step 5 (Optional): Other advanced options
103+
### Step 6 (Optional): Other advanced options
83104

84105
Additionally, you can adjust the default values of the rest of components:
85106

@@ -154,7 +175,7 @@ my_predictor = ms.create_predictor(my_model,
154175
)
155176
```
156177

157-
### Step 3: Create a deployment with the predictor
178+
### Step 5: Create a deployment with the predictor
158179

159180
```python
160181

docs/user_guides/projects/jobs/notebook_job.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ By default, the dialog will create a Spark job. To instead configure a Jupyter N
4949
</figure>
5050
</p>
5151

52-
### Step 4: Set the script
52+
### Step 4: Set the notebook
5353

5454
Next step is to select the Jupyter Notebook to run. You can either select `From project`, if the file was previously uploaded to Hopsworks, or `Upload new file` which lets you select a file from your local filesystem as demonstrated below. By default, the job name is the same as the file name, but you can customize it as shown.
5555

0 commit comments

Comments
 (0)