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

Relax PyYAML constraints in MLflow server #5426

Open
jtisbell4 opened this issue Mar 11, 2024 · 1 comment
Open

Relax PyYAML constraints in MLflow server #5426

jtisbell4 opened this issue Mar 11, 2024 · 1 comment

Comments

@jtisbell4
Copy link

I am getting a failure in my deployment which I think is related to #5091 (I am using seldon-core v1.18)

I believe it's tied to the following:

Can we please get these constraints relaxed to allow for PyYAML>=6?

@PennyXQZ
Copy link

PennyXQZ commented Jun 5, 2024

I meet the same mismatch warning as follow:

2024/06/05 14:33:21 WARNING mlflow.utils.requirements_utils: Detected one or more mismatches between the model's dependencies and the current Python environment:
 - pyyaml (current: 5.4.1, required: pyyaml==6.0.1)
To fix the mismatches, call `mlflow.pyfunc.get_model_dependencies(model_uri)` to fetch the model's environment and install dependencies using the resulting environment file.
2024/06/05 14:33:21 WARNING mlflow.utils.requirements_utils: Detected one or more mismatches between the model's dependencies and the current Python environment:
 - pyyaml (current: 5.4.1, required: pyyaml==6.0.1)
To fix the mismatches, call `mlflow.pyfunc.get_model_dependencies(model_uri)` to fetch the model's environment and install dependencies using the resulting environment file.

'pyyaml==6.0.1' was collected and built during conda env setting up at first, but degraded to 'PyYAML-5.4.1' as limitation by 'requirements.txt'.

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

No branches or pull requests

2 participants