Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi team,
I'm having an issue with the AutoML functionlity in Fabric (trial).
Several months ago (around 4 or 5), I followed the example provided on Microsoft Learn (https://learn.microsoft.com/en-us/fabric/data-science/how-to-use-automated-machine-learning-fabric), and it worked perfectly. However, when I tried to execute it again a couple of months ago, I encountered issues with the FLAML library. Considering that this feature is still in preview, I decided to wait. Unfortunately, when I tested it again yesterday, I encountered the same problem.
This is the code
Solved! Go to Solution.
Hi @RobertoNavarro,
It seems like I forget the recently update on the spark runtime environments, they may affect all the packages usage that requires the specific environment versions.
For this scenario, you can wait for the new version release or try to contact to the AutoML package dev team to update the compatibility version.
Regards,
Xiaoxin Sheng
Hi,
First of all, thank you for your response.
Regarding your question, yes, I have tried using pip with various options—upgrading, installing, and uninstalling/reinstalling the library. I’ve also created a new environment and manually included the library, but the same result.
I exported and executed the notebook in a Conda environment on my laptop, and it worked perfectly. Interestingly, when I run the following commands:
In Fabric:
In Conda:
I'm not sure if this is helpful...
Another point that I mentioned in my previous message, I ran this notebook in Fabric about 4 or 5 months ago, and it worked perfectly back then.
Regards
Hi @RobertoNavarro,
According to the result, it seems like these package havn't initialized correctly in fabric environment and Conda environment works well.
If this works at previous, I suppose they may relate to the package update and it seems not compatible with the version that fabric supported. (normally the notebook environment library not update immediately followed the packages and it will keep use the most popular stable versions)
Regards,
Xiaoxin Sheng
Hi,
I think that I have found a possible answer, if I execute help(modules) among all the output, I have got this:
****** AutoML Prerequisites ******
AutoML requires an Apache Spark pool (version 2.4) in your Azure Synapse Analytics workspace.
You are using a Spark 3.x pool, please use Spark 2.x pool. For details, see: https://docs.microsoft.com/en-us/azure/synapse-analytics/machine-learning/tutorial-automl#prerequisi...
And in this webpage:
Warning
So I think that this feature of AutoML cannot be use either in fabric regarding that the underlying engine is Synapse Spark Pools, is this correct?
Hi @v-shex-msft,
Any comment about this? I have received a couple of e-mails about if this issue is closed, but I don't have a solution, is it necessary more time to analize the problem from your side?
Regards and thanks for your support
Roberto
Hi @RobertoNavarro,
It seems like I forget the recently update on the spark runtime environments, they may affect all the packages usage that requires the specific environment versions.
For this scenario, you can wait for the new version release or try to contact to the AutoML package dev team to update the compatibility version.
Regards,
Xiaoxin Sheng
HI @RobertoNavarro,
It seems like the import package operation failed before processing, have you tried to use %pip command to inline install the library to the notebook?
Manage Apache Spark libraries - Microsoft Fabric | Microsoft Learn
In addition, you can also try attach this library to the environment or upload the library package.
Library management in Fabric environments - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
Check out the September 2024 Fabric update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.