Forum Discussion

abm_chris's avatar
abm_chris
Advocate I
2 years ago
Solved

Unable to load ML model

I've tried over the past couple of days to get ML models working in Fabric Notebooks with MLFlow using the MS Learn document here. I have tried both using the transformer API as well as loading through a Lakehouse table in the UI and keep getting the same error:

"RuntimeError: Unable to load model: An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext"

 

The model definitely exists within the same workspace I'm accessing and the call appears to work when using 

model = MLFlowTransformer() function.

Is there something else that I may be missing where it is erroring due to something else as I'd really like to be able to proceed with this as I've got tons of ideas I can use the platform for this.

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi abm_chris ,


    Thanks for using Fabric Community.
    At this time, we are reaching out to the internal team to get some help on this .
    We will update you once we hear back from them.