Skip to content

Commit

Permalink
update ml_commons related cluster settings in developer guide (#311)
Browse files Browse the repository at this point in the history
* update cluster settings in developer guide

Signed-off-by: kalyanr <kalyan.ben10@live.com>

* updated settings

Signed-off-by: kalyanr <kalyan.ben10@live.com>

* update dev guide

Signed-off-by: kalyanr <kalyan.ben10@live.com>

* fix grammar

Signed-off-by: kalyan <kalyan.ben10@live.com>

---------

Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyan <kalyan.ben10@live.com>
  • Loading branch information
rawwar authored Oct 12, 2023
1 parent 7b0066a commit 9d7527e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ After navigating to OpenSearch Dashboards you should update the persistent setti

You should paste this settings in the `Dev Tools` window and run it:


For OpenSearch versions below 2.7

```yml
PUT /_cluster/settings
{
Expand All @@ -101,6 +104,22 @@ You should paste this settings in the `Dev Tools` window and run it:
}
```

For OpenSearch versions 2.8 or above

```yml
PUT /_cluster/settings
{
"persistent" : {
"plugins.ml_commons.only_run_on_ml_node" : false,
"plugins.ml_commons.native_memory_threshold" : 100,
"plugins.ml_commons.max_model_on_node": 20,
"plugins.ml_commons.enable_inhouse_python_model": true,
"plugins.ml_commons.allow_registering_model_via_local_file": true,
"plugins.ml_commons.allow_registering_model_via_url": true
}
}
```

#### Review user tutorials to understand the key features and workflows

- These [Notebook Examples](https://opensearch-project.github.io/opensearch-py-ml/examples/index.html) will show you how to use opensearch-py-ml for data exploration and machine learning.
Expand Down

0 comments on commit 9d7527e

Please sign in to comment.