Add warning in MLflow pytorch docs to include signature (#5347)
Add warning in MLflow pytorch docs to include signature (#5347)

* Make it easy to find how to log model signature.

Add one line in the model signature introduction section and add link to detailed section in the introduction.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Fix the link to how to log models with signatures section.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Fix the link to how to log models with signatures. Verified by running sphinx build locally.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Add warning in MLFlow Pytorch log model documentation to add signature while logging model to avoid float precision errors.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Bring the two branches in sync.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Add 'the' before models in documentation.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Autoformat: https://github.com/mlflow/mlflow/actions/runs/1796974651

Signed-off-by: mlflow-automation <40e7f7af6f84bb7f690014ba8700e8e435789fbf@users.noreply.github.com>

* Format the file.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Format the file to pass lint.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Autoformat: https://github.com/mlflow/mlflow/actions/runs/1797191551

Signed-off-by: mlflow-automation <40e7f7af6f84bb7f690014ba8700e8e435789fbf@users.noreply.github.com>

* Address review comments.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Fix lint errors.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Address review comment.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

* Address review comments.

Signed-off-by: Yogita Mehta <a1bc3ea77e61a70b51510fbb9167572cf73bd263@databricks.com>

Co-authored-by: mlflow-automation <40e7f7af6f84bb7f690014ba8700e8e435789fbf@users.noreply.github.com>
mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow