seldon-core icon indicating copy to clipboard operation
seldon-core copied to clipboard

Docker image "seldonio/seldon-core-s2i-python3" uses old Python 3.6

Open oshev opened this issue 8 years ago • 6 comments

The latest Python stable release is 3.7. It would be great to have an model serving with the latest Python. Thanks!

oshev avatar Nov 07 '18 17:11 oshev

This was the issue: https://github.com/tensorflow/tensorflow/issues/20444

Which is referenced in https://github.com/SeldonIO/seldon-core/blob/master/wrappers/s2i/python/build_python3.sh

Need to ensure this is fully fixed. I see the issue is closed.

ukclivecox avatar Nov 07 '18 17:11 ukclivecox

Yes, I'm not sure they fixed TF for Python 3.7. I was investigating a bit a couple of weeks ago and it seemed to be WIP but I'm not sure.

However, it's only an issue if you use TF in model serving. In all other cases - PyTorch, XGBoost, Scikit-learn - there is no problem at all.

oshev avatar Nov 07 '18 17:11 oshev

Maybe one solution is to have multiple variants of the python wrappers for python 3, so python3.6 and python3.7 versions.

ukclivecox avatar Nov 07 '18 17:11 ukclivecox

That would be great!

oshev avatar Nov 07 '18 17:11 oshev

@oshev If you could test the newly pushed python wrapper images - see #290 for details

ukclivecox avatar Nov 08 '18 16:11 ukclivecox

I've tried to build new model containers and it seems to work fine! Just in case, tried to SSH into the container and got there Python 3.7 indeed. Thank you so much! That was fast. :-)

oshev avatar Nov 08 '18 17:11 oshev