diff --git a/2-1_Experiment_Tracking.ipynb b/2-1_Experiment_Tracking.ipynb index 821b23e..b1c40d8 100644 --- a/2-1_Experiment_Tracking.ipynb +++ b/2-1_Experiment_Tracking.ipynb @@ -296,7 +296,7 @@ "source": [ "from zenml.post_execution import get_unlisted_runs\n", "\n", - "pipeline_run = get_unlisted_runs()[-1]\n", + "pipeline_run = get_unlisted_runs()[0]\n", "step = pipeline_run.get_step(\"trainer\")\n", "experiment_tracker_url = step.metadata[\"experiment_tracker_url\"].value\n", "\n", @@ -436,7 +436,7 @@ "metadata": {}, "outputs": [], "source": [ - "trainer_step = get_unlisted_runs()[-1].get_step(\"trainer\")\n", + "trainer_step = get_unlisted_runs()[0].get_step(\"trainer\")\n", "experiment_tracker_url = trainer_step.metadata[\"experiment_tracker_url\"].value\n", "print(experiment_tracker_url)" ] diff --git a/2-2_Local_Deployment.ipynb b/2-2_Local_Deployment.ipynb index 5b14d8b..0fb3209 100644 --- a/2-2_Local_Deployment.ipynb +++ b/2-2_Local_Deployment.ipynb @@ -196,7 +196,7 @@ "source": [ "from zenml.post_execution import get_unlisted_runs\n", "\n", - "last_run = get_unlisted_runs()[-1]\n", + "last_run = get_unlisted_runs()[0]\n", "deployer_step = last_run.get_step(\"model_deployer\")\n", "deployed_model_url = deployer_step.metadata[\"deployed_model_url\"].value\n", "print(deployed_model_url)" @@ -222,7 +222,7 @@ "model_deployer = client.active_stack.model_deployer\n", "services = model_deployer.find_model_server(\n", " pipeline_name=\"train_evaluate_deploy_pipeline\",\n", - " pipeline_step_name=\"mlflow_model_deployer_step\",\n", + " pipeline_step_name=\"model_deployer\",\n", " running=True,\n", ")\n", "service = services[0]\n", @@ -244,7 +244,7 @@ "metadata": {}, "outputs": [], "source": [ - "last_run = get_unlisted_runs()[-1]\n", + "last_run = get_unlisted_runs()[0]\n", "X_test = last_run.steps[0].outputs[\"X_test\"].read()\n", "y_test = last_run.steps[0].outputs[\"y_test\"].read()" ] @@ -294,7 +294,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.0" + "version": "3.8.10" }, "vscode": { "interpreter": { diff --git a/2-3_Inference_Pipelines.ipynb b/2-3_Inference_Pipelines.ipynb index 7564ebc..a7f135a 100644 --- a/2-3_Inference_Pipelines.ipynb +++ b/2-3_Inference_Pipelines.ipynb @@ -175,7 +175,7 @@ " model_deployer = client.active_stack.model_deployer\n", " services = model_deployer.find_model_server(\n", " pipeline_name=\"train_evaluate_deploy_pipeline\",\n", - " pipeline_step_name=\"mlflow_model_deployer_step\",\n", + " pipeline_step_name=\"model_deployer\",\n", " running=True,\n", " )\n", " service = services[0]\n", @@ -257,7 +257,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.13" + "version": "3.8.10" }, "vscode": { "interpreter": { diff --git a/3-1_Data_Skew.ipynb b/3-1_Data_Skew.ipynb index 6a8752e..a9c6a6b 100644 --- a/3-1_Data_Skew.ipynb +++ b/3-1_Data_Skew.ipynb @@ -232,7 +232,7 @@ "from zenml.integrations.evidently.visualizers import EvidentlyVisualizer\n", "from zenml.post_execution import get_unlisted_runs\n", "\n", - "last_run = get_unlisted_runs()[-1]\n", + "last_run = get_unlisted_runs()[0]\n", "\n", "skew_detection_step = last_run.get_step(step=\"skew_detector\")\n", "evidently_outputs = skew_detection_step\n", diff --git a/pyproject.toml b/pyproject.toml index 88b6034..fcb0c80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ license = "Apache-2.0" [tool.poetry.dependencies] python = ">=3.7.1,<3.9" -zenml = "0.20.0rc1" +zenml = "0.35.1" notebook = "*" [tool.poetry.dev-dependencies]