-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing the exported model with --delete-model set to True removes all history and the imported model is also not able serve without manually registering it again #14
Comments
That is what it is supposed to do. Check the documentation with --help.
Cannot reproduce.
Cannot reproduce. Works fine for me. |
@amesar , have you tested this with pyfunc model? |
Without the source code and reproducible steps, sort of hard to troubleshoot. |
All my source code and the setup is available in my public github repo @ https://github.com/uvnikgupta/mlflow. Using this repo anyone can setup a E2E MLflow workflow with experiments, model registration and model serving in a local kubernetes environment quickly. Once this is setup, I use your module to export the "regres" model and then import it again. The export is successful but import has undesired side effects as mentioned in this issue log. |
I don't work on Windows. Since export is successful, send me a zip file of the exported model in order to debug. |
Issue-14.pptx |
Don't see a zip file. |
out.zip |
I have successfully imported the model. When I try to pyfunc.load_model I am getting a "valueError: unsupported pickle protocol: 5". I'd suggest you use flavor-specific logging such as sklearn.log_model instead of pyfunc.log_model. You will still be able to pyfunc.load_model the model. |
I imported the exported model using the command
python -u -m mlflow_export_import.model.import_model --model regres --experiment-name regres_imported --input-dir out --delete-model True
. It gets imported successfully but it has the following undesired side effects:CSV downloaded from the UI is attached for reference.
runs.txt
The text was updated successfully, but these errors were encountered: