Skip to content
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

Generic export model #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

danilopeixoto
Copy link

Make generic import/export registered models.

@danilopeixoto
Copy link
Author

danilopeixoto commented Dec 23, 2022

Hi @amesar,

I believe the model importing is failing due thread safety when --use-threads true.

The model registry is resolved just for the first model or fails for the first model and just works for next models:

mlflow.tracking.registry.UnsupportedModelRegistryStoreURIException:  Model registry functionality is unavailable; got unsupported URI 'custom://profile' for model registry data storage. Supported URI schemes are: ['databricks', 'http', 'https', 'postgresql', 'mysql', 'sqlite', 'mssql', '', 'file']

When using --use-threads false everything works well, all models are imported.

I did comment set_experiment (global variable) without affecting results...
But the import is still failing - maybe the model registry LRU cache is not working well with threads.

amesar pushed a commit that referenced this pull request Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant