Edit ClearML Serving files (#519)

This commit is contained in:
pollfly
2023-04-02 14:11:15 +03:00
committed by GitHub
parent 2b7ed5259a
commit 73d4561766
2 changed files with 9 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ clearml-serving --id <service_id> model add --engine sklearn --endpoint "test_mo
:::info Service ID
Make sure that you have executed `clearml-serving`'s
[initial setup](clearml_serving.md#initial-setup), in which you create a Serving Service.
[initial setup](clearml_serving_setup.md#initial-setup), in which you create a Serving Service.
The Serving Service's ID is required to register a model, and to execute `clearml-serving`'s `metrics` and `config` commands
:::
@@ -85,10 +85,10 @@ Uploading an existing model file into the model repository can be done via the `
or with the `clearml-serving` CLI.
1. Upload the model file to the `clearml-server` file storage and register it. The `--path` parameter is used to input
the path to a local model file.
the path to a local model file (local model created in [step 1](#step-1--train-model) located in `./sklearn-model.pkl`).
```bash
clearml-serving --id <service_id> model upload --name "manual sklearn model" --project "serving examples" --framework "scikit-learn" --path examples/sklearn/sklearn-model.pkl
clearml-serving --id <service_id> model upload --name "manual sklearn model" --project "serving examples" --framework "scikitlearn" --path ./sklearn-model.pkl
```
You now have a new Model named `manual sklearn model` in the `serving examples` project. The CLI output prints