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

Remove KServe integration #2495

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,6 @@ mlstacks_reset.sh

.local/
# PLEASE KEEP THIS LINE AT THE EOF: never include here src/zenml/zen_server/dashboard, since it is affecting release flow


dashboard/
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ANALYTICS_CLIENT_ID: xxxxxxx-xxxxxxx-xxxxxxx
ANALYTICS_USER_ID: xxxxxxx-xxxxxxx-xxxxxxx
ANALYTICS_SERVER_ID: xxxxxxx-xxxxxxx-xxxxxxx
INTEGRATIONS: ['airflow', 'aws', 'azure', 'dash', 'evidently', 'facets', 'feast', 'gcp', 'github',
'graphviz', 'huggingface', 'kaniko', 'kserve', 'kubeflow', 'kubernetes', 'lightgbm', 'mlflow',
'graphviz', 'huggingface', 'kaniko', 'kubeflow', 'kubernetes', 'lightgbm', 'mlflow',
'neptune', 'neural_prophet', 'pillow', 'plotly', 'pytorch', 'pytorch_lightning', 's3', 'scipy',
'sklearn', 'slack', 'spark', 'tensorboard', 'tensorflow', 'vault', 'wandb', 'whylogs', 'xgboost']
```
Expand Down
1 change: 0 additions & 1 deletion docs/mocked_libs.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"kfp_tekton",
"kfp_tekton.compiler",
"kfp_tekton.compiler.pipeline_utils",
"kserve",
"kubernetes",
"kubernetes.client",
"kubernetes.client.rest",
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ module = [
"flask.*",
"kfp.*",
"kubernetes.*",
"kserve.*",
"urllib3.*",
"kfp_server_api.*",
"sagemaker.*",
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-zenml-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ install_integrations() {
# figure out the python version
python_version=$(python -c "import sys; print('.'.join(map(str, sys.version_info[:2])))")

ignore_integrations="feast label_studio bentoml seldon kserve pycaret skypilot_aws skypilot_gcp skypilot_azure"
ignore_integrations="feast label_studio bentoml seldon pycaret skypilot_aws skypilot_gcp skypilot_azure"
# if python version is 3.11, exclude all integrations depending on kfp
# because they are not yet compatible with python 3.11
if [ "$python_version" = "3.11" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/cli/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ def _get_deployment_params_interactively(
"-md",
"model_deployer",
required=False,
type=click.Choice(["kserve", "seldon"]),
type=click.Choice(["mlflow", "seldon"]),
help="The flavor of model deployer to use. ",
)
@click.option(
Expand Down
1 change: 0 additions & 1 deletion src/zenml/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
from zenml.integrations.huggingface import HuggingfaceIntegration # noqa
from zenml.integrations.hyperai import HyperAIIntegration # noqa
from zenml.integrations.kaniko import KanikoIntegration # noqa
from zenml.integrations.kserve import KServeIntegration # noqa
from zenml.integrations.kubeflow import KubeflowIntegration # noqa
from zenml.integrations.kubernetes import KubernetesIntegration # noqa
from zenml.integrations.label_studio import LabelStudioIntegration # noqa
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/integrations/bentoml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def activate(cls) -> None:

@classmethod
def flavors(cls) -> List[Type[Flavor]]:
"""Declare the stack component flavors for KServe.
"""Declare the stack component flavors for BentoML.
Returns:
List of stack component flavors for this integration.
Expand Down
1 change: 0 additions & 1 deletion src/zenml/integrations/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
GITHUB = "github"
GITLAB = "gitlab"
GRAPHVIZ = "graphviz"
KSERVE = "kserve"
HUGGINGFACE = "huggingface"
HYPERAI = "hyperai"
GREAT_EXPECTATIONS = "great_expectations"
Expand Down
57 changes: 0 additions & 57 deletions src/zenml/integrations/kserve/__init__.py

This file was deleted.

17 changes: 0 additions & 17 deletions src/zenml/integrations/kserve/constants.py

This file was deleted.

18 changes: 0 additions & 18 deletions src/zenml/integrations/kserve/custom_deployer/__init__.py

This file was deleted.

176 changes: 0 additions & 176 deletions src/zenml/integrations/kserve/custom_deployer/zenml_custom_model.py

This file was deleted.

24 changes: 0 additions & 24 deletions src/zenml/integrations/kserve/flavors/__init__.py

This file was deleted.

Loading
Loading