-
Notifications
You must be signed in to change notification settings - Fork 34
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
Kedro modelify does not accept --pip-requirements #405
Labels
bug
Something isn't working
Comments
Thank you for the bug report. It appears that they are several problems:
I'll try to fix this soon, but feel free to open a PR ! |
Thanks for the quick response, happy to help |
6 tasks
Galileo-Galilei
added a commit
that referenced
this issue
Feb 12, 2023
…nts packages versions as default conda env (#405)
Galileo-Galilei
added a commit
that referenced
this issue
Feb 12, 2023
…nts packages versions as default conda env (#405)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The modelify command does not accept env context.
Context
I was packaging a kedro pipeline for serving with modelify and I did not provide any context info (--conda-env or --pip-requirements options), and it generated it with some (defaults?) incorrect conda-env specifications. I run it locally with Pipfile and local python virtualenv.
Steps to Reproduce
Call modelify on inference pipeline and try to specify requirements.
Example command:
kedro mlflow modelify --pipeline=inference --input-name=raw_data --infer-signature --infer-input-example --pip-requirements ./src/requirements.txt
Expected Result
Pass the requirements to
mlflow.pyfunc.log_model
and log model.Actual Result
Exception:
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
kedro
andkedro-mlflow
version used (pip show kedro
andpip show kedro-mlflow
): 0.18.4, 0.11.7python -V
): 3.10.9Does the bug also happen with the last version on master?
Yes.
The text was updated successfully, but these errors were encountered: