Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Before using Dataiku, I used to use MLFlow (Hosted on an EC2 instance) to register my models. Now I want to load those models to Dataiku DSS.
I have read the below document as well to understand the process of importing mlflow models.
But I understood that models saved to MLFLow from Dataiku can only be loaded back to DSS.
mlflow_version = saved_model.import_mlflow_version_from_path("version_id", model_directory, 'code-environment-to-use')
In this line of code, the model_directory is the path of the mlflow registered model which is on other EC2 instance ? If yes, I tried the same but it gives me below error
DataikuException: com.dataiku.dip.io.SocketBlockLinkKernelException: Could not run command READ_META: : <class 'FileNotFoundError'> : [Errno 2] No such file or directory:
This the value I had provided to the model_directory attribute : https://<host-name>/mlflow/#/models/<model_name>
import_mlflow_version_from_path only works with filesystem paths, not URLs. So your model would have to be on the DSS filesystem to use that method.
An alternative would be to copy all your model files to a DSS managed folder and use import_mlflow_version_from_managed_folder.