Skip to content

Commit 0b3294e

Browse files
authored
Prepare release 0.65.0 (#2960)
* Prepare release 0.65.0 * fixes for quickstart * improve release notes
1 parent 990498a commit 0b3294e

File tree

13 files changed

+119
-18
lines changed

13 files changed

+119
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ the Apache License Version 2.0.
327327
<a href="https://github.com/zenml-io/zenml-projects">Projects Showcase</a>
328328
<br />
329329
<br />
330-
🎉 Version 0.64.0 is out. Check out the release notes
330+
🎉 Version 0.65.0 is out. Check out the release notes
331331
<a href="https://github.com/zenml-io/zenml/releases">here</a>.
332332
<br />
333333
🖥️ Download our VS Code Extension <a href="https://marketplace.visualstudio.com/items?itemName=ZenML.zenml-vscode">here</a>.

RELEASE_NOTES.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
<!-- markdown-link-check-disable -->
22

3+
# 0.65.0
4+
5+
## New Features and Improvements
6+
7+
### New Quickstart Experience
8+
9+
This example demonstrates how ZenML streamlines the transition of machine learning workflows from local environments to
10+
cloud-scale operations.
11+
12+
### Run Single Step as a ZenML Pipeline
13+
14+
If you want to run just an individual step on your stack, you can simply call the step
15+
as you would with a normal Python function. ZenML will internally create a pipeline with just your step
16+
and run it on the active stack.
17+
18+
### Other improvements and fixes
19+
20+
* Updated AzureML Step Operator to work with SDKv2 and use Service Connectors
21+
* Added timestamps to log messages
22+
* Fixed issue with loading artifacts from artifact store outside of current active artifact store
23+
* Support of templated names for Model Version (`{date}` and `{time}` are currently supported placeholders)
24+
* `run_with_accelerate` step wrapper can be used as a Python Decorator on top of ZenML steps
25+
26+
## Breaking changes
27+
28+
* Workspace scoped POST endpoint `full-stack` was removed and merged with `stacks` POST endpoint
29+
30+
31+
## What's Changed
32+
* Remove broken JIRA sync workflow by @strickvl in https://github.com/zenml-io/zenml/pull/2924
33+
* Fix Hugging Face Spaces permissions by @strickvl in https://github.com/zenml-io/zenml/pull/2925
34+
* Fixes for `run_with_accelerate` by @avishniakov in https://github.com/zenml-io/zenml/pull/2935
35+
* Bump azure skypilot to a stable 0.6.1 by @avishniakov in https://github.com/zenml-io/zenml/pull/2933
36+
* Add Timestamps to Logs and Update Dashboard URL Message by @htahir1 in https://github.com/zenml-io/zenml/pull/2934
37+
* Adding 0.64.0 to migration tests by @bcdurak in https://github.com/zenml-io/zenml/pull/2923
38+
* Removed docker build docs + fixed CLI command for zenml pipeline build list by @htahir1 in https://github.com/zenml-io/zenml/pull/2938
39+
* Throw an error when running integration installs when uv == False but pip is not installed by @mennoliefstingh in https://github.com/zenml-io/zenml/pull/2930
40+
* Update AzureML step operator to SDK v2 and add service connector support by @stefannica in https://github.com/zenml-io/zenml/pull/2927
41+
* Improving the AzureML orchestrator docs by @bcdurak in https://github.com/zenml-io/zenml/pull/2940
42+
* Update mlflow docs by @htahir1 in https://github.com/zenml-io/zenml/pull/2941
43+
* Tell users where they can import `DockerSettings` from by @strickvl in https://github.com/zenml-io/zenml/pull/2947
44+
* Fail early when specifying invalid materializers by @schustmi in https://github.com/zenml-io/zenml/pull/2950
45+
* Add GitHub Codespaces and VS Code Remote Container support by @htahir1 in https://github.com/zenml-io/zenml/pull/2949
46+
* Automatically detect whether code download is necessary by @schustmi in https://github.com/zenml-io/zenml/pull/2946
47+
* Enable running a single step on the active stack by @schustmi in https://github.com/zenml-io/zenml/pull/2942
48+
* Dynamic (templated) names for model versions by @avishniakov in https://github.com/zenml-io/zenml/pull/2909
49+
* Adding an orchestrator URL to the AzureML orchestrator by @bcdurak in https://github.com/zenml-io/zenml/pull/2952
50+
* Update python version of latest docker image by @schustmi in https://github.com/zenml-io/zenml/pull/2954
51+
* Make `run_with_accelerate` a pythonic decorator by @avishniakov in https://github.com/zenml-io/zenml/pull/2943
52+
* Bugfix for artifacts coming from a different artifact store by @bcdurak in https://github.com/zenml-io/zenml/pull/2928
53+
* Stack Request cleanup and improvements by @bcdurak in https://github.com/zenml-io/zenml/pull/2906
54+
* Silence pydantic protected namespace warnings by @schustmi in https://github.com/zenml-io/zenml/pull/2955
55+
* Update key for finished onboarding survey by @schustmi in https://github.com/zenml-io/zenml/pull/2956
56+
* Extend notebook source replacement code to other objects apart from ZenML steps by @schustmi in https://github.com/zenml-io/zenml/pull/2919
57+
* Fix stack register CLI command by @schustmi in https://github.com/zenml-io/zenml/pull/2958
58+
* Lightening studio orchestrator by @safoinme in https://github.com/zenml-io/zenml/pull/2931
59+
* Introduce new quickstart with a focus on Stack switching by @AlexejPenner in https://github.com/zenml-io/zenml/pull/2937
60+
* Bugfix for the required prompts for the AzureML wizard by @bcdurak in https://github.com/zenml-io/zenml/pull/2959
61+
62+
## New Contributors
63+
* @mennoliefstingh made their first contribution in https://github.com/zenml-io/zenml/pull/2930
64+
65+
**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.64.0...0.65.0
66+
367
# 0.64.0
468

569
## New Features and Improvements

docs/book/how-to/build-pipelines/run-an-individual-step.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Run an individual step on your stack
22

3-
If you want to run just an invividual step on your stack, you can simply call the step
3+
If you want to run just an individual step on your stack, you can simply call the step
44
as you would with a normal Python function. ZenML will internally create a pipeline with just your step
55
and run it on the active stack.
66

examples/quickstart/configs/training_aws.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ settings:
55
resources:
66
memory: 64GB
77
docker:
8-
parent_image: "zenmldocker/zenml-public-pipelines:quickstart-0.64.0-py3.11-aws"
8+
parent_image: "zenmldocker/zenml-public-pipelines:quickstart-0.65.0-py3.11-aws"
99
skip_build: False
1010
# Uncomment the following two lines to specify the accelerator for your aws orchestrator
1111
orchestrator.sagemaker:

examples/quickstart/configs/training_azure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Environment configuration
22
settings:
33
docker:
4-
parent_image: "zenmldocker/zenml-public-pipelines:quickstart-0.64.0-py3.11-azure"
4+
parent_image: "zenmldocker/zenml-public-pipelines:quickstart-0.65.0-py3.11-azure"
55
skip_build: True
66
# Uncomment the following two lines to specify the accelerator for your skypilot vm orchestrator
77
# orchestrator.vm_azure:

examples/quickstart/configs/training_gcp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ settings:
33
resources:
44
memory: 64GB
55
docker:
6-
parent_image: "zenmldocker/zenml-public-pipelines:quickstart-0.64.0-py3.11-gcp"
6+
parent_image: "zenmldocker/zenml-public-pipelines:quickstart-0.65.0-py3.11-gcp"
77
skip_build: True
88
# Uncomment the following two lines to specify the accelerator for your vertex orchestrator
99
# orchestrator.vertex:

examples/quickstart/quickstart.ipynb

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
"metadata": {},
251251
"outputs": [],
252252
"source": [
253+
"import materializers\n",
253254
"from steps import (\n",
254255
" evaluate_model,\n",
255256
" load_data,\n",
@@ -263,6 +264,8 @@
263264
"from zenml import Model, pipeline\n",
264265
"from zenml.client import Client\n",
265266
"\n",
267+
"materializers\n",
268+
"\n",
266269
"# Initialize the ZenML client to fetch objects from the ZenML Server\n",
267270
"client = Client()\n",
268271
"\n",
@@ -454,7 +457,7 @@
454457
"outputs": [],
455458
"source": [
456459
"# Set the cloud provider here\n",
457-
"CLOUD_PROVIDER = None # Change this to \"AWS\" or \"AZURE\" as needed\n",
460+
"CLOUD_PROVIDER = None # Change this to \"GCP\", \"AWS\" or \"AZURE\" as needed\n",
458461
"stack_name = None # INSERT_STACK_NAME_HERE\n",
459462
"\n",
460463
"from zenml import pipeline\n",
@@ -466,7 +469,7 @@
466469
" !pip install 'kfp>=2.6.0' gcsfs google-cloud-secret-manager 'google-cloud-container>=2.21.0' 'google-cloud-artifact-registry>=1.11.3' 'google-cloud-storage>=2.9.0' 'google-cloud-aiplatform>=1.34.0' 'google-cloud-build>=3.11.0' kubernetes\n",
467470
"\n",
468471
" parent_image = (\n",
469-
" \"zenmldocker/zenml-public-pipelines:quickstart-0.64.0-py3.11-gcp\"\n",
472+
" \"zenmldocker/zenml-public-pipelines:quickstart-0.65.0-py3.11-gcp\"\n",
470473
" )\n",
471474
" skip_build = True\n",
472475
"\n",
@@ -478,7 +481,7 @@
478481
" )\n",
479482
"\n",
480483
" parent_image = (\n",
481-
" \"zenmldocker/zenml-public-pipelines:quickstart-0.64.0-py3.11-aws\"\n",
484+
" \"zenmldocker/zenml-public-pipelines:quickstart-0.65.0-py3.11-aws\"\n",
482485
" )\n",
483486
" skip_build = False # Sagemaker does not support running straight from public docker images\n",
484487
"\n",
@@ -491,7 +494,7 @@
491494
" !pip install urllib3 --upgrade\n",
492495
"\n",
493496
" parent_image = (\n",
494-
" \"zenmldocker/zenml-public-pipelines:quickstart-0.64.0-py3.11-azure\"\n",
497+
" \"zenmldocker/zenml-public-pipelines:quickstart-0.65.0-py3.11-azure\"\n",
495498
" )\n",
496499
" skip_build = True\n",
497500
"\n",
@@ -526,6 +529,17 @@
526529
"Note: The whole process may take a bit longer the first time around, as your pipeline code needs to be built into docker containers to be run in the orchestration environment of your stack. Any consecutive run of the pipeline, even with different parameters set, will not take as long again thanks to docker caching."
527530
]
528531
},
532+
{
533+
"cell_type": "code",
534+
"execution_count": null,
535+
"id": "cfad9bd5",
536+
"metadata": {},
537+
"outputs": [],
538+
"source": [
539+
"!rm -rf results\n",
540+
"!rm -rf sample_data"
541+
]
542+
},
529543
{
530544
"cell_type": "code",
531545
"execution_count": null,
@@ -592,7 +606,7 @@
592606
" \"NVIDIA_TESLA_P4\",\n",
593607
" )\n",
594608
" ),\n",
595-
" \"resources\": ResourceSettings(memory=\"32GB\", gpu=1),\n",
609+
" \"resources\": ResourceSettings(memory=\"32GB\", gpu_count=1),\n",
596610
" }\n",
597611
" )\n",
598612
"if CLOUD_PROVIDER == \"AWS\":\n",
@@ -613,8 +627,8 @@
613627
" from zenml.integrations.azure.flavors import AzureMLOrchestratorSettings\n",
614628
"\n",
615629
" # find out your options here: https://docs.zenml.io/stack-components/orchestrators/azureml#settings\n",
616-
" # The quickest way is porbably to configure a compute-instance in azure ml. This instance shoudl contain\n",
617-
" # a gpu. Then sepcify the name of the compute instance here.\n",
630+
" # The quickest way is probably to configure a compute-instance in azure ml. This instance should contain\n",
631+
" # a gpu. Then specify the name of the compute instance here.\n",
618632
"\n",
619633
" compute_name = None # Insert the name of your compute instance here\n",
620634
"\n",

examples/quickstart/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
zenml[server]>=0.64.0
1+
zenml[server]==0.65.0
22
notebook
33
pyarrow
44
datasets

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "zenml"
3-
version = "0.64.0"
3+
version = "0.65.0"
44
packages = [{ include = "zenml", from = "src" }]
55
description = "ZenML: Write production-ready ML code."
66
authors = ["ZenML GmbH <[email protected]>"]

src/zenml/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.64.0
1+
0.65.0

src/zenml/zen_server/deploy/helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: zenml
3-
version: "0.64.0"
3+
version: "0.65.0"
44
description: Open source MLOps framework for portable production ready ML pipelines
55
keywords:
66
- mlops

src/zenml/zen_server/deploy/helm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ ZenML is an open-source MLOps framework designed to help you create robust, main
2020
To install the ZenML chart directly from Amazon ECR, use the following command:
2121

2222
```bash
23-
# example command for version 0.64.0
24-
helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.64.0
23+
# example command for version 0.65.0
24+
helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.65.0
2525
```
2626

2727
Note: Ensure you have OCI support enabled in your Helm client and that you are authenticated with Amazon ECR.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
"""Release [0.65.0].
2+
3+
Revision ID: 0.65.0
4+
Revises: bf2120261b5a
5+
Create Date: 2024-08-28 15:42:13.858104
6+
7+
"""
8+
9+
# revision identifiers, used by Alembic.
10+
revision = "0.65.0"
11+
down_revision = "bf2120261b5a"
12+
branch_labels = None
13+
depends_on = None
14+
15+
16+
def upgrade() -> None:
17+
"""Upgrade database schema and/or data, creating a new revision."""
18+
pass
19+
20+
21+
def downgrade() -> None:
22+
"""Downgrade database schema and/or data back to the previous revision."""
23+
pass

0 commit comments

Comments
 (0)