kserve / kserve

Standardized Serverless ML Inference Platform on Kubernetes
https://kserve.github.io/website/
Apache License 2.0
3.5k stars 1.04k forks source link

Python SDK for KServe and Kubeflow Pipelines can not be installed at the same time #3730

Closed thesuperzapper closed 1 month ago

thesuperzapper commented 3 months ago

What happened?

Currently, If you try install the latest versions of the kfp and kserve libraries at the same time, there is a dependency version conflict.

This is caused by a the following conflict:

  1. kfp==2.7.0 needs protobuf>=4.21.1,<5 but kserve needs protobuf=^3.19.0

See for yourself by trying the following command:

pip install kfp==2.7.0 kserve==0.13.0

For those wondering, the latest versions which will work together are:

pip install kfp==2.5.0 kserve==0.13.0

What did you expect to happen?

The latest versions of both kfp and kserve can be installed at the same time.

thesuperzapper commented 3 months ago

I have raised a similar issue for Katib, which also has a dependency conflict with protobuf: https://github.com/kubeflow/katib/issues/2346

sivanantha321 commented 3 months ago

We already working on upgrading the protobuf🙃.

sivanantha321 commented 2 months ago

will be resolved by #3751

kimwnasptd commented 2 months ago

Thanks for the context @sivanantha321! @yuzisun @sivanantha321 @andyi2it is there any progress on this one? Some of our users are also pinging us about not being able to use the SDKs together of the 1.9 release