Skip to content

Commit

Permalink
xet kserve version in demo notebooks to 0.11.0 to fix tay import error (
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaquinRivesGambin authored Apr 17, 2024
1 parent a8ff822 commit 50c98b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@
"source": [
"@component(\n",
" base_image=\"python:3.9\",\n",
" packages_to_install=[\"kserve\"],\n",
" packages_to_install=[\"kserve==0.11.0\"],\n",
" output_component_file='components/deploy_model_component.yaml',\n",
")\n",
"def deploy_model(model_name: str, storage_uri: str):\n",
Expand Down Expand Up @@ -860,7 +860,7 @@
"source": [
"@component(\n",
" base_image=\"python:3.9\", # kserve on python 3.10 comes with a dependency that fails to get installed\n",
" packages_to_install=[\"kserve\", \"scikit-learn~=1.0.2\"],\n",
" packages_to_install=[\"kserve==0.11.0\", \"scikit-learn~=1.0.2\"],\n",
" output_component_file='components/inference_component.yaml',\n",
")\n",
"def inference(\n",
Expand Down
4 changes: 2 additions & 2 deletions tutorials/demo_notebooks/demo_pipeline/demo-pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
"source": [
"@component(\n",
" base_image=\"python:3.9\",\n",
" packages_to_install=[\"kserve\"],\n",
" packages_to_install=[\"kserve==0.11.0\"],\n",
" output_component_file='components/deploy_model_component.yaml',\n",
")\n",
"def deploy_model(model_name: str, storage_uri: str):\n",
Expand Down Expand Up @@ -590,7 +590,7 @@
"source": [
"@component(\n",
" base_image=\"python:3.9\", # kserve on python 3.10 comes with a dependency that fails to get installed\n",
" packages_to_install=[\"kserve\", \"scikit-learn~=1.0.2\"],\n",
" packages_to_install=[\"kserve==0.11.0\", \"scikit-learn~=1.0.2\"],\n",
" output_component_file='components/inference_component.yaml',\n",
")\n",
"def inference(\n",
Expand Down

0 comments on commit 50c98b5

Please sign in to comment.