MLFlow¶
You can use MLflow models that support PyFunc. If your MLFlow model has a signature, the signature
argument is inferred from the model. Otherwise, you must provide either signature or sample_input_data.
The following additional options can be used in the options dictionary when you call log_model:
| Option | Description |
|---|---|
model_uri | The URI of the artifacts of the MLFlow model. Must be provided if it is not available in the model’s metadata as model.metadata.get_model_info().model_uri. |
ignore_mlflow_metadata | If True, the model’s metadata is not imported to the model object in the registry. Default: False |
ignore_mlflow_dependencies | If True, the dependencies in the model’s metadata are ignored, which is useful due to package available limitations in Snowflake warehouses. Default: False |