Skip to content

Commit 21edd86

Browse files
Prepare release 0.58.0 (#2726)
* Prepare release 0.58.0 * Apply suggestions from code review Co-authored-by: Alex Strick van Linschoten <[email protected]> --------- Co-authored-by: Alex Strick van Linschoten <[email protected]>
1 parent c42f8ef commit 21edd86

File tree

7 files changed

+117
-6
lines changed

7 files changed

+117
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ the Apache License Version 2.0.
289289
<a href="https://github.com/zenml-io/zenml-projects">Projects Showcase</a>
290290
<br />
291291
<br />
292-
🎉 Version 0.57.1 is out. Check out the release notes
292+
🎉 Version 0.58.0 is out. Check out the release notes
293293
<a href="https://github.com/zenml-io/zenml/releases">here</a>.
294294
<br />
295295
🖥️ Download our VS Code Extension <a href="https://marketplace.visualstudio.com/items?itemName=ZenML.zenml-vscode">here</a>.

RELEASE_NOTES.md

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

3+
# 0.58.0
4+
5+
## New Annotators
6+
This release brings in three new integrations for our annotator stack component: [Prodigy](https://prodi.gy/), [Argilla](https://github.com/argilla-io/argilla) and [Pigeon](https://github.com/agermanidis/pigeon).
7+
* Pigeon works within Jupyter notebooks and supports a limited feature set but is great for
8+
experimentation and demos.
9+
* Argilla works both locally-deployed and when the annotation instance lives in the cloud
10+
(i.e. in the Hugging Face Spaces deployment which they recommend).
11+
* Prodigy is a powerful closed-source annotation tool that allows for efficient data labeling. With this
12+
integration, users can now connect ZenML with Prodigy and leverage its annotation capabilities
13+
in their ML pipelines.
14+
15+
## Retry configuration for steps
16+
This release also includes new `retry` configuration for the steps. The following parameters
17+
can be set:
18+
19+
- _**max_retries**_: The maximum number of times the step should be retried in case of failure.
20+
- _**delay**_: The initial delay in seconds before the first retry attempt.
21+
- _**backoff**_: The factor by which the delay should be multiplied after each retry attempt.
22+
23+
To use this in your code:
24+
25+
```python
26+
from zenml.config.retry_config import StepRetryConfig
27+
28+
@step(retry=StepRetryConfig(max_retries=3, delay=10, backoff=2))
29+
def step_3() -> None:
30+
# Step implementation
31+
raise Exception("This is a test exception")
32+
```
33+
34+
or using a `config.yaml`:
35+
36+
```yaml
37+
steps:
38+
my_step:
39+
retry:
40+
max_retries: 3
41+
delay: 10
42+
backoff: 2
43+
```
44+
45+
In addition, this release includes a number of bug fixes and documentation updates, such
46+
as a new LLM finetuning template powered by PEFT and BitsAndBytes and instructions for the
47+
new annotators.
48+
49+
50+
## Breaking changes
51+
* The interface for the base class of the annotator stack component has been updated to
52+
account for the fact that not all annotators will launch with a specific URL. So there is
53+
no longer an url argument passed in.
54+
55+
## 🥳 Community Contributions 🥳
56+
57+
We'd like to give a special thanks to @christianversloot who contributed to this release
58+
by bumping the `mlflow` version to 2.12.2
59+
60+
## What's Changed
61+
* Add more failure logs for code repositories and build reuse by @schustmi in https://github.com/zenml-io/zenml/pull/2697
62+
* Prodigy annotator by @strickvl in https://github.com/zenml-io/zenml/pull/2655
63+
* Bump mlflow support to version 2.12.2 by @christianversloot in https://github.com/zenml-io/zenml/pull/2693
64+
* add 0.57.1 to migration test scripts by @safoinme in https://github.com/zenml-io/zenml/pull/2702
65+
* Pigeon annotator by @strickvl in https://github.com/zenml-io/zenml/pull/2641
66+
* Allow credentials expiry to be configured for service connectors by @stefannica in https://github.com/zenml-io/zenml/pull/2704
67+
* Argilla annotator by @strickvl in https://github.com/zenml-io/zenml/pull/2687
68+
* Add `MySQL` and `mariadb` migration tests to Slow CI by @safoinme in https://github.com/zenml-io/zenml/pull/2686
69+
* Misc small fixes by @schustmi in https://github.com/zenml-io/zenml/pull/2712
70+
* Allow resetting server and user metadata by @schustmi in https://github.com/zenml-io/zenml/pull/2666
71+
* Fix Docker failures in the CI by @avishniakov in https://github.com/zenml-io/zenml/pull/2716
72+
* Add note about helm dependencies by @strickvl in https://github.com/zenml-io/zenml/pull/2709
73+
* Add retry config for failing steps by @safoinme in https://github.com/zenml-io/zenml/pull/2627
74+
* Update pyparsing version by @strickvl in https://github.com/zenml-io/zenml/pull/2710
75+
* New ruff issue by @avishniakov in https://github.com/zenml-io/zenml/pull/2718
76+
* PEFT LLM Template by @avishniakov in https://github.com/zenml-io/zenml/pull/2719
77+
* Add `model_version_id` as part of the Model config by @avishniakov in https://github.com/zenml-io/zenml/pull/2703
78+
* Add more runners to fast CI by @safoinme in https://github.com/zenml-io/zenml/pull/2706
79+
* Fail faster on notebook installation and only clone / download the branch we need for `zenml go` by @strickvl in https://github.com/zenml-io/zenml/pull/2721
80+
* Make a clear separation between server and dashboard API in the server configuration by @stefannica in https://github.com/zenml-io/zenml/pull/2722
81+
* Update pymysql to fix CVE-2024-36039 by @stefannica in https://github.com/zenml-io/zenml/pull/2714
82+
* Allow specifying privileged mode for Kubernetes orchestrator containers by @schustmi in https://github.com/zenml-io/zenml/pull/2717
83+
* Don't use pod resources/affinity for kubernetes orchestrator pod by @schustmi in https://github.com/zenml-io/zenml/pull/2707
84+
* Extra test for artifact listing by @avishniakov in https://github.com/zenml-io/zenml/pull/2715
85+
* Pipeline run not tracked in cached artifact version by @avishniakov in https://github.com/zenml-io/zenml/pull/2713
86+
87+
88+
**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.57.1...0.58.0
89+
90+
391
# 0.57.1
492

593
This a minor release that brings a variety of enhancements for

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.57.1"
3+
version = "0.58.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.57.1
1+
0.58.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.57.1"
3+
version: "0.58.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.57.1
24-
helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.57.1
23+
# example command for version 0.58.0
24+
helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.58.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.58.0].
2+
3+
Revision ID: 0.58.0
4+
Revises: 0.57.1
5+
Create Date: 2024-05-27 15:22:16.565094
6+
7+
"""
8+
9+
# revision identifiers, used by Alembic.
10+
revision = "0.58.0"
11+
down_revision = "0.57.1"
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)