[FR] Custom Conda Channel #12411
Labels
area/build
Build and test infrastructure for MLflow
area/deployments
MLflow Deployments client APIs, server, and third-party Deployments integrations
area/docker
Docker use anywhere, such as MLprojects and MLmodels
enhancement
New feature or request
Willingness to contribute
Yes. I would be willing to contribute this feature with guidance from the MLflow community.
Proposal Summary
If I understand the code correctly, the environment information for a Model can be inferred from the Model Code itself and defaults to a Conda environment with the conda-forge channel.
I believe here is where it is set.
My Feature Request is the possibility to override this default channel.
Motivation
Models can be built with dependencies which are not in conda-forge or the conda-forge channel may not be accessible at build time.
I can image a lot of users have their builds not connected to the internet.
Security and audit reasons.
Currently we can overwrite the whole
envirnonment.yaml
file which includes not only replacing the channels but also all the dependencies. It would be nice if we could rely on mlflows capabilities to generate the dependencies inenvironment.yaml
but with a predefined list of channels.Details
No response
What component(s) does this bug affect?
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/deployments
: MLflow Deployments client APIs, server, and third-party Deployments integrationsarea/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/recipes
: Recipes, Recipe APIs, Recipe configs, Recipe Templatesarea/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: