mlflow.litellm
-
mlflow.litellm.
autolog
(log_traces: bool = True, disable: bool = False, silent: bool = False)[source] Note
Experimental: This function may change or be removed in a future release without warning.
Enables (or disables) and configures autologging from LiteLLM to MLflow. Currently, MLflow only supports autologging for tracing.
- Parameters
log_traces – If
True
, traces are logged for LiteLLM calls. IfFalse
, no traces are collected during inference. Default toTrue
.disable – If
True
, disables the LiteLLM autologging integration. IfFalse
, enables the LiteLLM autologging integration.silent – If
True
, suppress all event logs and warnings from MLflow during LiteLLM autologging. IfFalse
, show all events and warnings.