Skip to content

Commit

Permalink
include system metrics in the doc
Browse files Browse the repository at this point in the history
Signed-off-by: chenmoneygithub <[email protected]>
  • Loading branch information
chenmoneygithub committed Nov 1, 2023
1 parent ca559d2 commit fb74150
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/source/python_api/mlflow.system_metrics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mlflow.system_metrics
==================

.. automodule:: mlflow.system_metrics
:members:
:undoc-members:
2 changes: 1 addition & 1 deletion mlflow/tracking/fluent.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def start_run(
If a new run is being created, the description is set on the new run.
:param log_system_metrics: bool, defaults to None. If True, system metrics will be logged
to MLflow, e.g., cpu/gpu utilization. If None, we will check environment variable
`MLFLOW_SYSTEM_METRICS_SAMPLING_INTERVAL` to determine whether to log system metrics.
`MLFLOW_ENABLE_SYSTEM_METRICS_LOGGING` to determine whether to log system metrics.
System metrics logging is an experimental feature in MLflow 2.8 and subject to change.
:return: :py:class:`mlflow.ActiveRun` object that acts as a context manager wrapping the
Expand Down

0 comments on commit fb74150

Please sign in to comment.