-
Notifications
You must be signed in to change notification settings - Fork 117
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
SNOW-1648322: ML model registration doesn't work when the package name has dot in it #2208
Comments
Hello @ganius , Thanks for raising the issue; we are checking and will update you. Regards, |
Hello @ganius , Yes, we are able to reproduce the issue, we are working on eliminating it. Regards, |
Hello @ganius , The model you using its not supported natively, the preprocessing, autogluon does that which is not supported, so could you please create a custom model The model registry only supports certain types of models: https://docs.snowflake.com/en/developer-guide/snowflake-ml/model-registry/overview Regards, |
Hello @ganius , We will work on fixing the issue from the Snowflake ML side tentatively in the next release. Regards, |
any update for this ? @sfc-gh-sghosh |
We are trying to log a custom Machine Learning (ML) model to the Snowflake model registry using the
log_model
method https://docs.snowflake.com/en/developer-guide/snowpark-ml/reference/latest/api/registry/snowflake.ml.registry.RegistryThe dependencies are
autogluon.tabular
andsnowflake-ml-python
Below is the code we ran to log the model
The method returns the following error
The strange part in the error message is that the package that was not found is returned as
autogluon-tabular
(notice the dash in the name), whereas we pass the correct name of the packageautogluon.tabular
(with a dot in the name). We suspect that somewhere under the hood the dot in the name of the package is being replaced by a dash and conda is failing to find a package with that name and ultimately failing to log the model.I found these issues that might be related and/or causing this issue
pypa/pip#3678
pypa/pip#3666
Below are the answers to the generic template for bug reports
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
This happens in all supported versions of Python in Snowpark (3.8 to 3.11)
What operating system and processor architecture are you using?
We used a Snowpark Optimized Warehouse which are based on a Linux OS with x64 architecture, AFAIK.
What are the component versions in the environment (
pip freeze
)?The package details are provided above
What did you do?
The steps we took are pretty much the same as in this quickstart, the only difference is that we use Autogluon instead of PyCaret to log a custom model.
https://quickstarts.snowflake.com/guide/deploying_custom_models_to_snowflake_model_registry/index.html#3
What did you expect to see?
I expect the model to successfully register.
Can you set logging to DEBUG and collect the logs?
The debug level logs are attached.
error.log
The text was updated successfully, but these errors were encountered: