You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current image weight is very high (2.14Gb) which slows down the predictor's uptime.
Correct me if I'm wrong please, but the only reason the adapter needs to install tensorflow is to convert keras models to tensorflow models, which sounds weird to do it on runtime and not in advance, see
If we remove this option, we can remove the tensorflow installation, and since python is needed only for that, removing the entire python installation.
This reduces the image size from 2.14 GB to 256Mb.
Can we just remove it? If not, can we have two images, the original one and a new slim one?
The text was updated successfully, but these errors were encountered:
We don't want to drop support for Keras models. Requiring users to convert possibly hundreds/thousands of Keras models to Tensorflow prior to deploying them may not be practical.
We could possibly have two images as you suggested: a smaller one without the conversion script and a large one with it. We would need to introduce a install/deployment option in the modelmesh-serving repo.
Users who decide to use the slim image would then be required to do the Keras to TF conversion prior to deploying an ISVC.
The current image weight is very high (2.14Gb) which slows down the predictor's uptime.
Correct me if I'm wrong please, but the only reason the adapter needs to install tensorflow is to convert keras models to tensorflow models, which sounds weird to do it on runtime and not in advance, see
modelmesh-runtime-adapter/model-mesh-triton-adapter/server/utils.go
Lines 63 to 64 in f9781d2
modelmesh-runtime-adapter/Dockerfile
Line 145 in f9781d2
modelmesh-runtime-adapter/Dockerfile
Line 164 in f9781d2
modelmesh-runtime-adapter/Dockerfile
Line 172 in f9781d2
If we remove this option, we can remove the tensorflow installation, and since python is needed only for that, removing the entire python installation.
This reduces the image size from 2.14 GB to 256Mb.
Can we just remove it? If not, can we have two images, the original one and a new slim one?
The text was updated successfully, but these errors were encountered: