zenml-nightly 0.66.0.dev20240930__py3-none-any.whl → 0.67.0.dev20241002__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
README.md CHANGED
@@ -327,7 +327,7 @@ the Apache License Version 2.0.
327
327
  <a href="https://github.com/zenml-io/zenml-projects">Projects Showcase</a>
328
328
  <br />
329
329
  <br />
330
- 🎉 Version 0.66.0 is out. Check out the release notes
330
+ 🎉 Version 0.67.0 is out. Check out the release notes
331
331
  <a href="https://github.com/zenml-io/zenml/releases">here</a>.
332
332
  <br />
333
333
  🖥️ Download our VS Code Extension <a href="https://marketplace.visualstudio.com/items?itemName=ZenML.zenml-vscode">here</a>.
RELEASE_NOTES.md CHANGED
@@ -1,5 +1,103 @@
1
1
  <!-- markdown-link-check-disable -->
2
2
 
3
+ # 0.67.0
4
+
5
+ ## Highlights
6
+
7
+ - **Improved Sagemaker Orchestrator:** Now supports warm pools for AWS Sagemaker, enhancing performance and reducing startup times for TrainingJobs.
8
+ - **New DAG Visualizer:** Shipped major enhancements to the DAG Visualizer for Pipeline Runs:
9
+ - Preview of the actual DAG before pipeline completion
10
+ - Visual adjustments for improved clarity
11
+ - Real-time updates during pipeline execution
12
+ - **Environment Variable References in Configurations:** Introduced the ability to reference environment variables in both code and configuration files using the syntax ${ENV_VARIABLE_NAME}, increasing flexibility in setups.
13
+ - **Enhanced UX for Major Cloud Providers:** Displaying direct pipeline/log URL when working with major cloud platforms.
14
+ - **Skypilot with Kubernetes Support:** Added compatibility for running Skypilot orchestrator on Kubernetes clusters.
15
+ - **Updated Deepchecks Integration:** The Deepchecks integration has been refreshed with the latest features and improvements.
16
+
17
+
18
+ ## Features and Improvements
19
+
20
+ - **AWS Integration:**
21
+ - Added permissions to workflow to enable assuming AWS role.
22
+ - Fixed expired credentials error when using the docker service connector.
23
+ - **Error Handling:** Improved error messages for stack components of uninstalled integrations.
24
+ - **API Key Management:** Added an option to write API keys to a file instead of using the CLI.
25
+
26
+ ## Pipeline Execution:
27
+
28
+ - Implemented fixes for executing steps as single step pipelines.
29
+ - Added filter option for templatable runs.
30
+ - Added additional filtering options for pipeline runs.
31
+ - MLflow Integration: Linked registered models in MLflow with the corresponding MLflow run.
32
+ - Analytics: Added missing analytics event to improve user insights.
33
+
34
+ ## Documentation Updates
35
+
36
+ - Updated documentation for various integrations including:
37
+ - Lightning AI orchestrator
38
+ - Kubeflow
39
+ - Comet experiment tracker
40
+ - Neptune
41
+ - Hugging Face deployer
42
+ - Weights & Biases (wandb)
43
+ - Added documentation for run templates.
44
+ - Fixed incorrect method name in Pigeon docs.
45
+ - Various small documentation fixes and improvements.
46
+
47
+ ## Bug Fixes
48
+
49
+ - Fixed YAML formatting issues.
50
+ - Resolved RBAC issues for subpages in response models.
51
+ - Fixed step output annotation in Discord test.
52
+ - Addressed MLFlow integration requirements duplication.
53
+ - Fixed Lightning orchestrator functionality.
54
+
55
+ ## What's Changed
56
+ * Error message for stack components of uninstalled integrations by @bcdurak in https://github.com/zenml-io/zenml/pull/2996
57
+ * Enable migration testing for version 0.66.0 by @schustmi in https://github.com/zenml-io/zenml/pull/2998
58
+ * Add permissions to workflow to enable assuming AWS role by @schustmi in https://github.com/zenml-io/zenml/pull/2999
59
+ * Add option to write api key to file instead of CLI by @schustmi in https://github.com/zenml-io/zenml/pull/3001
60
+ * Fix yaml formatting by @schustmi in https://github.com/zenml-io/zenml/pull/3004
61
+ * Update ZenML Pro links for consistency.- Update ZenML Pro links for c… by @htahir1 in https://github.com/zenml-io/zenml/pull/3007
62
+ * Fix incorrect method name in Pigeon docs by @strickvl in https://github.com/zenml-io/zenml/pull/3008
63
+ * Fixes for executing steps as single step pipelines by @schustmi in https://github.com/zenml-io/zenml/pull/3006
64
+ * Add filter option for templatable runs by @schustmi in https://github.com/zenml-io/zenml/pull/3000
65
+ * Add missing analytics event by @schustmi in https://github.com/zenml-io/zenml/pull/3009
66
+ * Fix expired credentials error when using the docker service connector by @schustmi in https://github.com/zenml-io/zenml/pull/3002
67
+ * Fix Lightning docs by @strickvl in https://github.com/zenml-io/zenml/pull/3013
68
+ * Remove image builder warning by @htahir1 in https://github.com/zenml-io/zenml/pull/3014
69
+ * Fixed kubeflow docs by @AlexejPenner in https://github.com/zenml-io/zenml/pull/3018
70
+ * Update Comet experiment tracker docs by @htahir1 in https://github.com/zenml-io/zenml/pull/3019
71
+ * Small docs fixes by @strickvl in https://github.com/zenml-io/zenml/pull/3022
72
+ * Feature/cleanup unused file by @AlexejPenner in https://github.com/zenml-io/zenml/pull/3023
73
+ * MLFlow integration requirements duplicate fix by @bcdurak in https://github.com/zenml-io/zenml/pull/3011
74
+ * Fix Neptune docs by @htahir1 in https://github.com/zenml-io/zenml/pull/3026
75
+ * Fix huggingface deployer docs by @htahir1 in https://github.com/zenml-io/zenml/pull/3024
76
+ * Fix step output annotation in Discord test by @wjayesh in https://github.com/zenml-io/zenml/pull/3029
77
+ * Fix RBAC for subpages in response models by @schustmi in https://github.com/zenml-io/zenml/pull/3031
78
+ * Allow env variable placeholders in configurations by @schustmi in https://github.com/zenml-io/zenml/pull/3003
79
+ * Leverage warm pools for AWS Sagemaker by @avishniakov in https://github.com/zenml-io/zenml/pull/3027
80
+ * Updated wandb docs by @htahir1 in https://github.com/zenml-io/zenml/pull/3030
81
+ * Add hyperlint by @htahir1 in https://github.com/zenml-io/zenml/pull/3035
82
+ * Bump NLP template by @avishniakov in https://github.com/zenml-io/zenml/pull/3036
83
+ * Add additional filtering options by @schustmi in https://github.com/zenml-io/zenml/pull/2951
84
+ * Bump starter template version by @schustmi in https://github.com/zenml-io/zenml/pull/3038
85
+ * Docs for run templates by @bcdurak in https://github.com/zenml-io/zenml/pull/3028
86
+ * Update Lightning AI orchestrator documentation by @strickvl in https://github.com/zenml-io/zenml/pull/3016
87
+ * Add default value for PipelineRun.is_templatable by @schustmi in https://github.com/zenml-io/zenml/pull/3040
88
+ * Use a generic OAuth2 client credentials flow to login to the Cloud API by @stefannica in https://github.com/zenml-io/zenml/pull/3041
89
+ * fix lightning orchestrator by @safoinme in https://github.com/zenml-io/zenml/pull/3010
90
+ * Linking registered models in MLflow with the corresponding MLflow run by @aiakide in https://github.com/zenml-io/zenml/pull/3020
91
+ * Bugfixing mlflow registry linting issue by @bcdurak in https://github.com/zenml-io/zenml/pull/3043
92
+ * Enhancing the orchestrator UX for major cloud providers by @bcdurak in https://github.com/zenml-io/zenml/pull/3005
93
+ * Skypilot with Kubernetes by @safoinme in https://github.com/zenml-io/zenml/pull/3033
94
+ * Update deepchecks integration by @wjayesh in https://github.com/zenml-io/zenml/pull/2987
95
+
96
+ ## New Contributors
97
+ * @aiakide made their first contribution in https://github.com/zenml-io/zenml/pull/3020
98
+
99
+ **Full Changelog**: https://github.com/zenml-io/zenml/compare/0.66.0...0.67.0
100
+
3
101
  # 0.66.0
4
102
 
5
103
  ## New Features and Improvements
zenml/VERSION CHANGED
@@ -1 +1 @@
1
- 0.66.0.dev20240930
1
+ 0.67.0.dev20241002
@@ -41,7 +41,10 @@ class BasePyTorchMaterializer(BaseMaterializer):
41
41
  The loaded PyTorch object.
42
42
  """
43
43
  with fileio.open(os.path.join(self.uri, self.FILENAME), "rb") as f:
44
- return torch.load(f)
44
+ # NOTE (security): The `torch.load` function uses `pickle` as
45
+ # the default unpickler, which is NOT secure. This materializer
46
+ # is intended for use with trusted data sources.
47
+ return torch.load(f) # nosec
45
48
 
46
49
  def save(self, obj: Any) -> None:
47
50
  """Uses `torch.save` to save a PyTorch object.
@@ -50,7 +53,10 @@ class BasePyTorchMaterializer(BaseMaterializer):
50
53
  obj: The PyTorch object to save.
51
54
  """
52
55
  with fileio.open(os.path.join(self.uri, self.FILENAME), "wb") as f:
53
- torch.save(obj, f, pickle_module=cloudpickle)
56
+ # NOTE (security): The `torch.save` function uses `cloudpickle` as
57
+ # the default unpickler, which is NOT secure. This materializer
58
+ # is intended for use with trusted data sources.
59
+ torch.save(obj, f, pickle_module=cloudpickle) # nosec
54
60
 
55
61
 
56
62
  # Alias for the BasePyTorchMaterializer class, allowing users that have already used
@@ -61,7 +61,10 @@ class PyTorchModuleMaterializer(BasePyTorchMaterializer):
61
61
  with fileio.open(
62
62
  os.path.join(self.uri, CHECKPOINT_FILENAME), "wb"
63
63
  ) as f:
64
- torch.save(model.state_dict(), f, pickle_module=cloudpickle)
64
+ # NOTE (security): The `torch.save` function uses `cloudpickle` as
65
+ # the default unpickler, which is NOT secure. This materializer
66
+ # is intended for use with trusted data sources.
67
+ torch.save(model.state_dict(), f, pickle_module=cloudpickle) # nosec
65
68
 
66
69
  def extract_metadata(self, model: Module) -> Dict[str, "MetadataType"]:
67
70
  """Extract metadata from the given `Model` object.
@@ -1,6 +1,6 @@
1
1
  apiVersion: v2
2
2
  name: zenml
3
- version: "0.66.0"
3
+ version: "0.67.0"
4
4
  description: Open source MLOps framework for portable production ready ML pipelines
5
5
  keywords:
6
6
  - mlops
@@ -20,8 +20,8 @@ ZenML is an open-source MLOps framework designed to help you create robust, main
20
20
  To install the ZenML chart directly from Amazon ECR, use the following command:
21
21
 
22
22
  ```bash
23
- # example command for version 0.66.0
24
- helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.66.0
23
+ # example command for version 0.67.0
24
+ helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.67.0
25
25
  ```
26
26
 
27
27
  Note: Ensure you have OCI support enabled in your Helm client and that you are authenticated with Amazon ECR.
@@ -0,0 +1,23 @@
1
+ """Release [0.67.0].
2
+
3
+ Revision ID: 0.67.0
4
+ Revises: 0.66.0
5
+ Create Date: 2024-09-25 10:39:36.711715
6
+
7
+ """
8
+
9
+ # revision identifiers, used by Alembic.
10
+ revision = "0.67.0"
11
+ down_revision = "0.66.0"
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zenml-nightly
3
- Version: 0.66.0.dev20240930
3
+ Version: 0.67.0.dev20241002
4
4
  Summary: ZenML: Write production-ready ML code.
5
5
  Home-page: https://zenml.io
6
6
  License: Apache-2.0
@@ -472,7 +472,7 @@ the Apache License Version 2.0.
472
472
  <a href="https://github.com/zenml-io/zenml-projects">Projects Showcase</a>
473
473
  <br />
474
474
  <br />
475
- 🎉 Version 0.66.0 is out. Check out the release notes
475
+ 🎉 Version 0.67.0 is out. Check out the release notes
476
476
  <a href="https://github.com/zenml-io/zenml/releases">here</a>.
477
477
  <br />
478
478
  🖥️ Download our VS Code Extension <a href="https://marketplace.visualstudio.com/items?itemName=ZenML.zenml-vscode">here</a>.
@@ -1,12 +1,12 @@
1
1
  CLA.md,sha256=_ZIvAMX21mdV8bzxQLOYGIDu5vw8WSG7zQwQ_ea27XM,11654
2
2
  CODE-OF-CONDUCT.md,sha256=9zBNLt5KHB64X_qwNWaKWl7BvXkFUEluWd5heLPYQBM,5496
3
3
  CONTRIBUTING.md,sha256=bls3RAZF76sz531nvErQM9EiyeLACOluusZ8-pyH9j4,11488
4
- README.md,sha256=yNXIkuhBE5B8yUE_lE0CUJvI4JMRXVpmCNM89dcWRGw,13741
5
- RELEASE_NOTES.md,sha256=GjuHlUd-5AcepXC8ETMkIRMxKVQtBekiuY_CW0oP4XQ,365106
4
+ README.md,sha256=iw5cHwauKn5gqGAYm-n7UzLwTMAIzt6MjrcihXKUCJE,13741
5
+ RELEASE_NOTES.md,sha256=2plIwWFgPFsVu4kQkwo3U6m8yn_Cps7nxheep56XQ0Y,371604
6
6
  ROADMAP.md,sha256=hiLSmr16BH8Dfx7SaQM4JcXCGCVl6mFZPFAwJeDTrJU,407
7
7
  SECURITY.md,sha256=9DepA8y03yvCZLHEfcXLTDH4lUyKHquAdukBsccNN7c,682
8
8
  zenml/README.md,sha256=827dekbOWAs1BpW7VF1a4d7EbwPbjwccX-2zdXBENZo,1777
9
- zenml/VERSION,sha256=TuTd-nG56z5qzBJOnqc-4wrrFW2mqNu84SM9mLBuMIY,19
9
+ zenml/VERSION,sha256=sDTHhZELTMjA3ICAgBew5MrjwCglbSLYo6vTTCZb4uc,19
10
10
  zenml/__init__.py,sha256=X_JnjAYTBG2ZYgcM2_FDPssygdj7z7VTAmU9HEi17p0,2306
11
11
  zenml/actions/__init__.py,sha256=mrt6wPo73iKRxK754_NqsGyJ3buW7RnVeIGXr1xEw8Y,681
12
12
  zenml/actions/base_action.py,sha256=UcaHev6BTuLDwuswnyaPjdA8AgUqB5xPZ-lRtuvf2FU,25553
@@ -435,9 +435,9 @@ zenml/integrations/pycaret/materializers/__init__.py,sha256=7I9prC68U3-qE7j5iXSD
435
435
  zenml/integrations/pycaret/materializers/model_materializer.py,sha256=sIOISb82OpXkqjfumNaCG7mt09QqHAOCa6jE_IHFgEc,4750
436
436
  zenml/integrations/pytorch/__init__.py,sha256=B8xtFRfFgUqpC28KY_y_o9BMNWvlxqZlJiaJnw-rUpQ,1163
437
437
  zenml/integrations/pytorch/materializers/__init__.py,sha256=m4laxcEZpP-Po_s6ch9FHHyjLxZ8Ft8TBfU_MpXIy-Q,920
438
- zenml/integrations/pytorch/materializers/base_pytorch_materializer.py,sha256=LxflaFIYukrIb7UEUl5_yvs26AhrM_-MoJlprPGL9Uw,2012
438
+ zenml/integrations/pytorch/materializers/base_pytorch_materializer.py,sha256=1mtQQ7j_JyqZn9BbYX9mrpRO27KkG54XUYJBVW-Qt3w,2457
439
439
  zenml/integrations/pytorch/materializers/pytorch_dataloader_materializer.py,sha256=XEw4P3VQS8uMKuQ24twR6N_1RA882yOeee8iInV6pUQ,2301
440
- zenml/integrations/pytorch/materializers/pytorch_module_materializer.py,sha256=ad9A657P7M0mhoHlLBbfYILk84D-1R1XOun5Ne9exwM,2720
440
+ zenml/integrations/pytorch/materializers/pytorch_module_materializer.py,sha256=O5V4yUAoK6wZdJT1RVn6Ui2JoH4yaMrIoLDjDKgViGA,2957
441
441
  zenml/integrations/pytorch/utils.py,sha256=IbJTsMb5zYcGlxZj0xKIFQuPHdnizWMd_zmeM6B7v-M,1242
442
442
  zenml/integrations/pytorch_lightning/__init__.py,sha256=tk1Io7xI6HbwHkUauvXMs9xQRb1oploneHCmRIcbeAE,1177
443
443
  zenml/integrations/pytorch_lightning/materializers/__init__.py,sha256=zZsRri9X8YMJy4_h-8_Uss5RHjkFkd-RGF9zKnd713Q,814
@@ -1087,8 +1087,8 @@ zenml/zen_server/deploy/docker/docker_provider.py,sha256=SjGiYcE3U2riQn5SbhlFzz6
1087
1087
  zenml/zen_server/deploy/docker/docker_zen_server.py,sha256=jIkndpWSGDM2pv4RTXDyjlVwC-jBs3FBU3d3TysE7lA,7199
1088
1088
  zenml/zen_server/deploy/exceptions.py,sha256=tX0GNnLB_GMkeN7zGNlJRwtlrpZ5Slvyj_unVYVmGxk,1396
1089
1089
  zenml/zen_server/deploy/helm/.helmignore,sha256=u5h-ao70WpklXR1jKBJILV8PMlXqhBUgtNkDQt9f4rM,349
1090
- zenml/zen_server/deploy/helm/Chart.yaml,sha256=BydefHIrV30REOUD5BtR5vDRbx4sU4Bl7EmX6Dw-3jo,333
1091
- zenml/zen_server/deploy/helm/README.md,sha256=K20wD3WtudfDfL2Gwrks9wGZu3bjGF3wulPN6Km-97w,1777
1090
+ zenml/zen_server/deploy/helm/Chart.yaml,sha256=r_OFyz_VPSEQQMkoJUtflxrh8ar3fn790G2RA1YvFVw,333
1091
+ zenml/zen_server/deploy/helm/README.md,sha256=andm4bXFCk3IqIbQ3kWtjWtniCw8SlKACm910b3waAs,1777
1092
1092
  zenml/zen_server/deploy/helm/templates/NOTES.txt,sha256=1APbGHYNf5cKDyDXkTYE3ybVBSPrYiSJh4dKCUOtH2c,1977
1093
1093
  zenml/zen_server/deploy/helm/templates/_environment.tpl,sha256=4tPmEJZc2V1grGuxZQCPvfMUdn4iVt4sNnA8AZlxrEs,14494
1094
1094
  zenml/zen_server/deploy/helm/templates/_helpers.tpl,sha256=SuPztyigDEA00ftUfQtDCNK25RWZB4x58BXthNLJKJA,2042
@@ -1277,6 +1277,7 @@ zenml/zen_stores/migrations/versions/0.63.0_release.py,sha256=CIs6q7mzVbw0w-bgnT
1277
1277
  zenml/zen_stores/migrations/versions/0.64.0_release.py,sha256=ym80JerzU1vzgfQMtECCDG6KIhRjTWL32VXIG2daf2Q,462
1278
1278
  zenml/zen_stores/migrations/versions/0.65.0_release.py,sha256=_sDVoEsWpu2AbRwmRTf7hTlAPMcwe4g-X4sSR9gUw5c,462
1279
1279
  zenml/zen_stores/migrations/versions/0.66.0_release.py,sha256=0Ch5NxErsxtoYJgchwaZLYkUTGoIOtxi_dcrO-XpVYM,450
1280
+ zenml/zen_stores/migrations/versions/0.67.0_release.py,sha256=uUZfHxO7xQI_UABYeR9jVIgZkA-NUksq6QGhsG8GbD4,450
1280
1281
  zenml/zen_stores/migrations/versions/026d4577b6a0_add_code_path.py,sha256=hXLzvQcylNrbCVD6vha52PFkSPNC2klW9kA0vuQX_cE,1091
1281
1282
  zenml/zen_stores/migrations/versions/03742aa7fdd7_add_secrets.py,sha256=gewKqu1AnzvNTjVvK1eaAwP0hVneWDUyDRSLTvRCdpg,1587
1282
1283
  zenml/zen_stores/migrations/versions/0701da9951a0_added_service_table.py,sha256=dmMUbQhcQparYdV9nfxcgcJTwlEbUWJlzMQ9d0YQyrs,3399
@@ -1407,8 +1408,8 @@ zenml/zen_stores/secrets_stores/sql_secrets_store.py,sha256=Bq1djrUP9saoD7vECjS7
1407
1408
  zenml/zen_stores/sql_zen_store.py,sha256=h96CArBeXYj3iGEfccYg5FkhWjoSwUjGMWRTjPoOUyY,392556
1408
1409
  zenml/zen_stores/template_utils.py,sha256=UB_CBoMIfBequa8g3H7aTI6V_ke1SJr4IW1qwFCL1jc,8932
1409
1410
  zenml/zen_stores/zen_store_interface.py,sha256=kzR_i8vHjULld3MquSaMorcab8lJk1e9RZquw1VXjHY,93510
1410
- zenml_nightly-0.66.0.dev20240930.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1411
- zenml_nightly-0.66.0.dev20240930.dist-info/METADATA,sha256=4xnAvnUKcDCzVxKUT4DuKAzwijhQ9WdPi3iFYyWMJ6U,21272
1412
- zenml_nightly-0.66.0.dev20240930.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1413
- zenml_nightly-0.66.0.dev20240930.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1414
- zenml_nightly-0.66.0.dev20240930.dist-info/RECORD,,
1411
+ zenml_nightly-0.67.0.dev20241002.dist-info/LICENSE,sha256=wbnfEnXnafPbqwANHkV6LUsPKOtdpsd-SNw37rogLtc,11359
1412
+ zenml_nightly-0.67.0.dev20241002.dist-info/METADATA,sha256=AG_lpa_8Rm-9SOTZzb-M6aANYZ3ssRFSpR7_GiIq3Ww,21272
1413
+ zenml_nightly-0.67.0.dev20241002.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1414
+ zenml_nightly-0.67.0.dev20241002.dist-info/entry_points.txt,sha256=QK3ETQE0YswAM2mWypNMOv8TLtr7EjnqAFq1br_jEFE,43
1415
+ zenml_nightly-0.67.0.dev20241002.dist-info/RECORD,,