[FR] Automatically split metrics, tags, etc into smaller chunks to avoid request limit error #6049
Closed
1 of 20 tasks
Labels
area/tracking
Tracking service, tracking client APIs, autologging
enhancement
New feature or request
Milestone
Willingness to contribute
Yes. I would be willing to contribute this feature with guidance from the MLflow community.
Proposal Summary
As in the title, MLflow might be able to avoid request limits by automatically splitting data that contains too many elements into smaller ones when we call
mlflow.log_metrics
,mlflow.log_params
, andmlflow.set_tags
(possible other API, too).Motivation
Suppose
mlflow.log_metrics
case. We would like to save many parameters at once as follows:However, mlflow yields the following error:
To avoid this, users need to split
metrics
into smaller subsets likeI suppose this can handle in
mlflow.log_metrics
. By doing so, users do not need to care about the number of elements ofmetrics
.I'm from optuna, a black-box optimisation framework library, community. Optuna provides an MLFlow callback that enables us to save optimisation results by using MLFlow API. If this feature request can be done by MLFlow side, we do not need the added changes by optuna/optuna#3651.
N/A
Details
No response
What component(s) does this bug affect?
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingWhat interface(s) does this bug affect?
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportWhat language(s) does this bug affect?
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesWhat integration(s) does this bug affect?
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrationsThe text was updated successfully, but these errors were encountered: