Skip to content

Commit

Permalink
Clarify that register_model can be called on local filesystem paths (#…
Browse files Browse the repository at this point in the history
…9765)

Signed-off-by: Sid Murching <[email protected]>
  • Loading branch information
smurching authored Oct 5, 2023
1 parent 74a99a4 commit 10d9198
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mlflow/tracking/_model_registry/fluent.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def register_model(
tracking backend.
:param model_uri: URI referring to the MLmodel directory. Use a ``runs:/`` URI if you want to
record the run ID with the model in model registry. ``models:/`` URIs are
currently not supported.
record the run ID with the model in model registry (recommended), or pass the
local filesystem path of the model if registering a locally-persisted MLflow
model that was previously saved using ``save_model``.
``models:/`` URIs are currently not supported.
:param name: Name of the registered model under which to create a new model version. If a
registered model with the given name does not exist, it will be created
automatically.
Expand Down

0 comments on commit 10d9198

Please sign in to comment.