Skip to main content
Version: Cloud

Supported Versions

This article describes the supported versions and compatibility with supported ML frameworks. For some frameworks, links to example repositories on Gitlab are included. These example repositories can be used to create example deployments on Deeploy.

Deeploy1.29.x - 1.31.x1.32.x +
KServe0.9.00.11.0
Python3.7 - 3.93.8 - 3.11

Model Frameworks

The versions described in the following sections are the recommended versions on which the model images have been built. If you deviate from the version, check for potential compatibility issues.

PyTorch

Pytorch default imagepytorch/torchserve-kfs:0.6.0pytorch/torchserve-kfs:0.8.0
torch1.7.12.0.0
torchserve0.7.00.8.0
torch-model-archiver0.7.00.8.0

Tensorflow

Tensorflow default imagetensorflow/serving:2.6.2tensorflow/serving:2.6.2
tensorflow2.6.22.6.2

XGBoost

XGBoost default imagekserve/xgbserver:v0.9.0kserve/xgbserver:v0.11.0
xgboost1.5.01.7.5

Scikit-learn

Scikit-learn default imagekserve/sklearnserver:v0.9.0kserve/sklearnserver:v0.11.0
scikit-learn1.0.11.3.0
joblib1.1.01.3.1

LightGBM

LightGBM default imagekserve/lgbserver:v0.9.0kserve/lgbserver:v0.11.0
lightgbm3.3.23.3.5

Custom model Docker images

Custom modelimage-repo/image-name>:tagimage-repo/image-name:tag
deeploy-cli-0.1.0
kserve0.9.00.11.0

Standard Explainers

Tree SHAP

Deploy a tree SHAP explainer without training it yourself. Available only for tree-based classification models when using XGBoost, Scikit-learn, or LightGBM model frameworks.

Note

In the case of multiple inputs in single explanation request, the explanation values are returned only for the first input.

Note

For LightGBM models where probabilities are returned, the explanation is for the class with the highest probability.

Saliency

Deploy a saliency based explainer without training it yourself. Available only for text generation and text-to-text generation models when using huggingface model framework. The explainer can be utilized to obtain token importances for generated tokens.

It is derived from following research work Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps (Simonyan et al., 2013)

Attention

Deploy a attention based explainer without training it yourself. Available only for text generation and text-to-text generation models when using huggingface model framework. The explainer can be utilized to obtain token importances for generated tokens.

It is derived from following research work on Attention Weight Attribution, from Neural Machine Translation by Jointly Learning to Align and Translate (Bahdanau et al., 2014)

Trained Explainer Frameworks

The versions described in the following sections are the recommended versions on which the model images have been built. If you deviate from the version, check for potential compatibility issues.

Shap

Shap kernel default imagedeeployml/alibi-explainer:v0.9.0-deeploy-1.0.0deeployml/alibi-explainer:v0.11.0-deeploy-1.0.0
shap0.36.00.42.1
dill0.3.30.3.7

Anchors

Anchor tabular, text, image default imagedeeployml/alibi-explainer:v0.9.0-deeploy-1.0.0deeployml/alibi-explainer:v0.11.0-deeploy-1.0.0
alibi0.6.40.9.4
dill0.3.30.3.7

MACE

  • Expected pre-trained explainer artefact: dill (explainer.dill)
Anchor tabular, text, image default imagedeeployml/alibi-explainer:v0.9.0-deeploy-1.0.0deeployml/alibi-explainer:v0.11.0-deeploy-1.0.0
omnixai1.1.41.3.1
dill0.3.30.3.7

PDP

  • Expected pre-trained explainer artefact: dill (explainer.dill)
Anchor tabular, text, image default imagedeeployml/alibi-explainer:v0.9.0-deeploy-1.0.0deeployml/alibi-explainer:v0.11.0-deeploy-1.0.0
omnixai1.1.41.3.1
dill0.3.30.3.7

Custom explainer Docker images

Custom modelimage-repo/image-name>:tagimage-repo/image-name:tag
deeploy-1.3.0
kserve0.9.00.11.0

Transformer Frameworks

Custom transformer Docker images

Custom dockerimage-repo/image-name>:tagimage-repo/image-name:tag
deeploy-1.3.0
kserve0.9.00.11.0