Skip to content

Commit

Permalink
remove pytorchserver dead code (kubeflow#2453)
Browse files Browse the repository at this point in the history
* remove pytorchserver dead code

Signed-off-by: alexagriffith <agriffith50@bloomberg.net>

* remove pytorch makefile commands - they dont work

Signed-off-by: alexagriffith <agriffith50@bloomberg.net>

Signed-off-by: alexagriffith <agriffith50@bloomberg.net>
  • Loading branch information
alexagriffith authored Oct 4, 2022
1 parent 04880b2 commit 2c2c66e
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 402 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:
pytest --cov=sklearnserver ./sklearnserver
pip install -e ./xgbserver
pytest --cov=xgbserver ./xgbserver
pip install -e ./pytorchserver
pytest --cov=pytorchserver ./pytorchserver
pip install -e ./pmmlserver
pytest --cov=pmmlserver ./pmmlserver
pip install -e ./lgbserver
Expand Down
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ROUTER_IMG ?= router:latest
SKLEARN_IMG ?= sklearnserver
XGB_IMG ?= xgbserver
LGB_IMG ?= lgbserver
PYTORCH_IMG ?= pytorchserver
PMML_IMG ?= pmmlserver
PADDLE_IMG ?= paddleserver
ALIBI_IMG ?= alibi-explainer
Expand Down Expand Up @@ -93,10 +92,6 @@ deploy-dev-lgb: docker-push-lgb
./hack/model_server_patch_dev.sh lightgbm ${KO_DOCKER_REPO}/${LGB_IMG}
kustomize build config/overlays/dev-image-config | kubectl apply -f -

deploy-dev-pytorch: docker-push-pytorch
./hack/model_server_patch_dev.sh pytorch ${KO_DOCKER_REPO}/${PYTORCH_IMG}
kustomize build config/overlays/dev-image-config | kubectl apply -f -

deploy-dev-pmml : docker-push-pmml
./hack/model_server_patch_dev.sh sklearn ${KO_DOCKER_REPO}/${PMML_IMG}
kustomize build config/overlays/dev-image-config | kubectl apply -f -
Expand Down Expand Up @@ -239,12 +234,6 @@ docker-build-lgb:
docker-push-lgb: docker-build-lgb
docker push ${KO_DOCKER_REPO}/${LGB_IMG}

docker-build-pytorch:
cd python && docker build -t ${KO_DOCKER_REPO}/${PYTORCH_IMG} -f pytorch.Dockerfile .

docker-push-pytorch: docker-build-pytorch
docker push ${KO_DOCKER_REPO}/${PYTORCH_IMG}

docker-build-pmml:
cd python && docker build -t ${KO_DOCKER_REPO}/${PMML_IMG} -f pmml.Dockerfile .

Expand Down
2 changes: 1 addition & 1 deletion hack/generate-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mv license.txt third_party/library/license_go.txt

## Generate a Python License
# See https://github.com/kubeflow/testing/blob/master/py/kubeflow/testing/python-license-tools/README.md
pipenv install -e python/alibiexplainer python/kfserving python/pytorchserver python/sklearnserver python/xgbserver
pipenv install -e python/alibiexplainer python/kfserving python/sklearnserver python/xgbserver
python ../testing/py/kubeflow/testing/python-license-tools/pipfile_to_github_repo.py
# See https://github.com/kubeflow/testing/blob/master/py/kubeflow/testing/go-license-tools/README.md
python ../testing/py/kubeflow/testing/go-license-tools/get_github_license_info.py --github-api-token-file ~/.github_api_token
Expand Down
9 changes: 0 additions & 9 deletions python/pytorchserver/Makefile

This file was deleted.

79 changes: 0 additions & 79 deletions python/pytorchserver/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions python/pytorchserver/pytorchserver/__init__.py

This file was deleted.

36 changes: 0 additions & 36 deletions python/pytorchserver/pytorchserver/__main__.py

This file was deleted.

96 changes: 0 additions & 96 deletions python/pytorchserver/pytorchserver/example_model/model/cifar10.py

This file was deleted.

Binary file not shown.
74 changes: 0 additions & 74 deletions python/pytorchserver/pytorchserver/model.py

This file was deleted.

Loading

0 comments on commit 2c2c66e

Please sign in to comment.