Forum Discussion
How to log/register ML model with MLFlow, with the model items in specified folder in workspace
- 1 year ago
Thankyou, nilendraFabric, for your response.
Hi kipkc09,We appreciate your inquiry through the Microsoft Fabric Community Forum.
In addition to the response provided by nilendraFabric , and to facilitate better workspace organization across projects, please find below some approaches that may help resolve the issue:
-
Prefix model names with project identifiers during registration.
mlflow.register_model(model_uri, "ProjectA_Model_v1")
-
Use MLflow tags to organize and filter models.
mlflow.set_tags({
"project": "ProjectA",
"team": "Analytics",
"version": "v1.0"
}) -
Create and log runs to separate experiments per project.
mlflow.set_experiment("/ProjectA/ML_Experiments")
If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
-
Thankyou, nilendraFabric, for your response.
Hi kipkc09,
We appreciate your inquiry through the Microsoft Fabric Community Forum.
In addition to the response provided by nilendraFabric , and to facilitate better workspace organization across projects, please find below some approaches that may help resolve the issue:
-
Prefix model names with project identifiers during registration.
mlflow.register_model(model_uri, "ProjectA_Model_v1")
-
Use MLflow tags to organize and filter models.
mlflow.set_tags({
"project": "ProjectA",
"team": "Analytics",
"version": "v1.0"
}) -
Create and log runs to separate experiments per project.
mlflow.set_experiment("/ProjectA/ML_Experiments")
If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
All of my MLFlow experiments show in the root directory of the Workspace in Fabric. How do I set the path location to be a subfolder in the Fabric workspace?
- v-pnaroju-msft10 months ago
Community Support
Hi spark21wood,
Based on my understanding, MLflow experiments in Microsoft Fabric currently appear only at the workspace root, and there is no built‑in mechanism to assign them to a subfolder at creation.Please consider the following workaround approaches which may help resolve the issue:1. Simulate folders in the workspace UI:mlflow.set_experiment("/ProjectA/ML_Experiments/Experiment1")2. Specify a Lakehouse or external storage path when creating the experiment to store artifacts in a structured folder:mlflow.create_experiment(name="/ProjectA/ML_Experiments/Experiment1",artifact_location="abfss://<container>@<storage-account>.dfs.core.windows.net/ProjectA/ML_Experiments/Experiment1")mlflow.set_experiment("/ProjectA/ML_Experiments/Experiment1")We hope that the information provided will help resolve the issue. Should you have any further queries, please feel free to contact the Microsoft Fabric community.Thank you.