This commit is contained in:
Christian Mantha
2026-03-02 19:10:52 -05:00
commit 2ca0b9ef7c
28907 changed files with 5233713 additions and 0 deletions

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -0,0 +1,542 @@
Metadata-Version: 2.3
Name: zenml
Version: 0.82.0
Summary: ZenML: Write production-ready ML code.
License: Apache-2.0
Keywords: machine learning,production,pipeline,mlops,devops
Author: ZenML GmbH
Author-email: info@zenml.io
Requires-Python: >=3.9,<3.13
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Distributed Computing
Classifier: Typing :: Typed
Provides-Extra: adlfs
Provides-Extra: azureml
Provides-Extra: connectors-aws
Provides-Extra: connectors-azure
Provides-Extra: connectors-gcp
Provides-Extra: connectors-kubernetes
Provides-Extra: dev
Provides-Extra: gcsfs
Provides-Extra: s3fs
Provides-Extra: sagemaker
Provides-Extra: secrets-aws
Provides-Extra: secrets-azure
Provides-Extra: secrets-gcp
Provides-Extra: secrets-hashicorp
Provides-Extra: server
Provides-Extra: templates
Provides-Extra: terraform
Provides-Extra: vertex
Requires-Dist: Jinja2 ; extra == "server"
Requires-Dist: adlfs (>=2021.10.0) ; extra == "adlfs"
Requires-Dist: alembic (>=1.8.1,<1.9.0)
Requires-Dist: aws-profile-manager (>=0.5.0) ; extra == "connectors-aws"
Requires-Dist: azure-ai-ml (==1.23.1) ; extra == "azureml"
Requires-Dist: azure-identity (>=1.4.0) ; extra == "secrets-azure" or extra == "connectors-azure"
Requires-Dist: azure-keyvault-secrets (>=4.0.0) ; extra == "secrets-azure"
Requires-Dist: azure-mgmt-containerregistry (>=10.0.0) ; extra == "connectors-azure"
Requires-Dist: azure-mgmt-containerservice (>=20.0.0) ; extra == "connectors-azure"
Requires-Dist: azure-mgmt-resource (>=21.0.0) ; extra == "connectors-azure"
Requires-Dist: azure-mgmt-storage (>=20.0.0) ; extra == "connectors-azure"
Requires-Dist: azure-storage-blob (>=12.0.0) ; extra == "connectors-azure"
Requires-Dist: bandit (>=1.7.5,<2.0.0) ; extra == "dev"
Requires-Dist: bcrypt (==4.0.1)
Requires-Dist: boto3 (>=1.16.0) ; extra == "secrets-aws" or extra == "connectors-aws"
Requires-Dist: click (>=8.0.1,<8.1.8)
Requires-Dist: cloudpickle (>=2.0.0,<3)
Requires-Dist: copier (>=8.1.0) ; extra == "templates"
Requires-Dist: coverage[toml] (>=5.5,<6.0) ; extra == "dev"
Requires-Dist: darglint (>=1.8.1,<2.0.0) ; extra == "dev"
Requires-Dist: distro (>=1.6.0,<2.0.0)
Requires-Dist: docker (>=7.1.0,<7.2.0)
Requires-Dist: fastapi (>=0.100,<=0.115.8) ; extra == "server"
Requires-Dist: gcsfs (>=2022.11.0) ; extra == "gcsfs"
Requires-Dist: gitpython (>=3.1.18,<4.0.0)
Requires-Dist: google-cloud-aiplatform (>=1.34.0) ; extra == "vertex"
Requires-Dist: google-cloud-artifact-registry (>=1.11.3) ; extra == "connectors-gcp"
Requires-Dist: google-cloud-container (>=2.21.0) ; extra == "connectors-gcp"
Requires-Dist: google-cloud-pipeline-components (>=2.19.0) ; extra == "vertex"
Requires-Dist: google-cloud-secret-manager (>=2.12.5) ; extra == "secrets-gcp"
Requires-Dist: google-cloud-storage (>=2.9.0) ; extra == "connectors-gcp"
Requires-Dist: hvac (>=0.11.2) ; extra == "secrets-hashicorp"
Requires-Dist: hypothesis (>=6.43.1,<7.0.0) ; extra == "dev"
Requires-Dist: importlib_metadata (<=7.0.0) ; python_version < "3.10"
Requires-Dist: ipinfo (>=4.4.3) ; extra == "server"
Requires-Dist: itsdangerous (>=2.2.0,<2.3.0) ; extra == "server"
Requires-Dist: jinja2-time (>=0.2.0,<0.3.0) ; extra == "templates"
Requires-Dist: kfp (>=2.6.0) ; extra == "vertex"
Requires-Dist: kubernetes (>=18.20.0) ; extra == "connectors-kubernetes" or extra == "connectors-aws" or extra == "connectors-gcp" or extra == "connectors-azure"
Requires-Dist: maison (<2.0) ; extra == "dev"
Requires-Dist: mike (>=1.1.2,<2.0.0) ; extra == "dev"
Requires-Dist: mkdocs (>=1.6.1,<2.0.0) ; extra == "dev"
Requires-Dist: mkdocs-autorefs (>=1.4.0,<2.0.0) ; extra == "dev"
Requires-Dist: mkdocs-awesome-pages-plugin (>=2.10.1,<3.0.0) ; extra == "dev"
Requires-Dist: mkdocs-material (==9.6.8) ; extra == "dev"
Requires-Dist: mkdocstrings[python] (>=0.28.1,<0.29.0) ; extra == "dev"
Requires-Dist: mypy (==1.7.1) ; extra == "dev"
Requires-Dist: orjson (>=3.10.0,<3.11.0) ; extra == "server"
Requires-Dist: packaging (>=24.1)
Requires-Dist: passlib[bcrypt] (>=1.7.4,<1.8.0)
Requires-Dist: psutil (>=5.0.0)
Requires-Dist: pydantic (>=2.0,<2.11.2)
Requires-Dist: pydantic-settings
Requires-Dist: pyjwt[crypto] (==2.7.*) ; extra == "server"
Requires-Dist: pyment (>=0.3.3,<0.4.0) ; extra == "dev"
Requires-Dist: pymysql (>=1.1.1,<1.2.0)
Requires-Dist: pytest (>=7.4.0,<8.0.0) ; extra == "dev"
Requires-Dist: pytest-clarity (>=1.0.1,<2.0.0) ; extra == "dev"
Requires-Dist: pytest-instafail (>=0.5.0) ; extra == "dev"
Requires-Dist: pytest-mock (>=3.6.1,<4.0.0) ; extra == "dev"
Requires-Dist: pytest-randomly (>=3.10.1,<4.0.0) ; extra == "dev"
Requires-Dist: pytest-rerunfailures (>=13.0) ; extra == "dev"
Requires-Dist: pytest-split (>=0.8.1,<0.9.0) ; extra == "dev"
Requires-Dist: python-dateutil (>=2.8.1,<3.0.0)
Requires-Dist: python-multipart (>=0.0.9,<0.1.0) ; extra == "server"
Requires-Dist: pyyaml (>=6.0.1)
Requires-Dist: pyyaml-include (<2.0) ; extra == "templates"
Requires-Dist: requests (>=2.27.11,<3.0.0) ; extra == "connectors-azure"
Requires-Dist: rich[jupyter] (>=12.0.0)
Requires-Dist: ruff (>=0.1.7) ; extra == "templates" or extra == "dev"
Requires-Dist: s3fs (>=2022.11.0,!=2025.3.1) ; extra == "s3fs"
Requires-Dist: sagemaker (>=2.237.3) ; extra == "sagemaker"
Requires-Dist: secure (>=0.3.0,<0.4.0) ; extra == "server"
Requires-Dist: setuptools
Requires-Dist: sqlalchemy (>=2.0.0,<3.0.0)
Requires-Dist: sqlalchemy_utils
Requires-Dist: sqlmodel (==0.0.18)
Requires-Dist: tldextract (>=5.1.0,<5.2.0) ; extra == "server"
Requires-Dist: tox (>=3.24.3,<4.0.0) ; extra == "dev"
Requires-Dist: types-Markdown (>=3.3.6,<4.0.0) ; extra == "dev"
Requires-Dist: types-Pillow (>=9.2.1,<10.0.0) ; extra == "dev"
Requires-Dist: types-PyMySQL (>=1.0.4,<2.0.0) ; extra == "dev"
Requires-Dist: types-PyYAML (>=6.0.0,<7.0.0) ; extra == "dev"
Requires-Dist: types-certifi (>=2021.10.8.0,<2022.0.0.0) ; extra == "dev"
Requires-Dist: types-croniter (>=1.0.2,<2.0.0) ; extra == "dev"
Requires-Dist: types-futures (>=3.3.1,<4.0.0) ; extra == "dev"
Requires-Dist: types-paramiko (>=3.4.0) ; extra == "dev"
Requires-Dist: types-passlib (>=1.7.7,<2.0.0) ; extra == "dev"
Requires-Dist: types-protobuf (>=3.18.0,<4.0.0) ; extra == "dev"
Requires-Dist: types-psutil (>=5.8.13,<6.0.0) ; extra == "dev"
Requires-Dist: types-python-dateutil (>=2.8.2,<3.0.0) ; extra == "dev"
Requires-Dist: types-python-slugify (>=5.0.2,<6.0.0) ; extra == "dev"
Requires-Dist: types-redis (>=4.1.19,<5.0.0) ; extra == "dev"
Requires-Dist: types-requests (>=2.27.11,<3.0.0) ; extra == "dev"
Requires-Dist: types-setuptools (>=57.4.2,<58.0.0) ; extra == "dev"
Requires-Dist: types-six (>=1.16.2,<2.0.0) ; extra == "dev"
Requires-Dist: types-termcolor (>=1.1.2,<2.0.0) ; extra == "dev"
Requires-Dist: typing-extensions (>=3.7.4) ; extra == "dev"
Requires-Dist: uvicorn[standard] (>=0.17.5) ; extra == "server"
Requires-Dist: yamlfix (>=1.16.0,<2.0.0) ; extra == "dev"
Project-URL: Documentation, https://docs.zenml.io
Project-URL: Homepage, https://zenml.io
Project-URL: Repository, https://github.com/zenml-io/zenml
Description-Content-Type: text/markdown
<div align="center">
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=0fcbab94-8fbe-4a38-93e8-c2348450a42e" />
<h1 align="center">Beyond The Demo: Production-Grade AI Systems</h1>
<h3 align="center">ZenML brings battle-tested MLOps practices to your AI applications, handling evaluation, monitoring, and deployment at scale</h3>
</div>
<!-- PROJECT SHIELDS -->
<!--
*** I'm using markdown "reference style" links for readability.
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
*** See the bottom of this document for the declaration of the reference variables
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
-->
<div align="center">
<!-- PROJECT LOGO -->
<br />
<a href="https://zenml.io">
<img alt="ZenML Logo" src="docs/book/.gitbook/assets/header.png" alt="ZenML Logo">
</a>
<br />
[![PyPi][pypi-shield]][pypi-url]
[![PyPi][pypiversion-shield]][pypi-url]
[![PyPi][downloads-shield]][downloads-url]
[![Contributors][contributors-shield]][contributors-url]
[![License][license-shield]][license-url]
<!-- [![Build][build-shield]][build-url] -->
<!-- [![CodeCov][codecov-shield]][codecov-url] -->
</div>
<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[pypi-shield]: https://img.shields.io/pypi/pyversions/zenml?color=281158
[pypi-url]: https://pypi.org/project/zenml/
[pypiversion-shield]: https://img.shields.io/pypi/v/zenml?color=361776
[downloads-shield]: https://img.shields.io/pypi/dm/zenml?color=431D93
[downloads-url]: https://pypi.org/project/zenml/
[codecov-shield]: https://img.shields.io/codecov/c/gh/zenml-io/zenml?color=7A3EF4
[codecov-url]: https://codecov.io/gh/zenml-io/zenml
[contributors-shield]: https://img.shields.io/github/contributors/zenml-io/zenml?color=7A3EF4
[contributors-url]: https://github.com/zenml-io/zenml/graphs/contributors
[license-shield]: https://img.shields.io/github/license/zenml-io/zenml?color=9565F6
[license-url]: https://github.com/zenml-io/zenml/blob/main/LICENSE
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://www.linkedin.com/company/zenml/
[twitter-shield]: https://img.shields.io/twitter/follow/zenml_io?style=for-the-badge
[twitter-url]: https://twitter.com/zenml_io
[slack-shield]: https://img.shields.io/badge/-Slack-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[slack-url]: https://zenml.io/slack-invite
[build-shield]: https://img.shields.io/github/workflow/status/zenml-io/zenml/Build,%20Lint,%20Unit%20&%20Integration%20Test/develop?logo=github&style=for-the-badge
[build-url]: https://github.com/zenml-io/zenml/actions/workflows/ci.yml
---
Need help with documentation? Visit our [docs site](https://docs.zenml.io) for comprehensive guides and tutorials, or browse the [SDK reference](https://sdkdocs.zenml.io/) to find specific functions and classes.
## ⭐️ Show Your Support
If you find ZenML helpful or interesting, please consider giving us a star on GitHub. Your support helps promote the project and lets others know that it's worth checking out.
Thank you for your support! 🌟
[![Star this project](https://img.shields.io/github/stars/zenml-io/zenml?style=social)](https://github.com/zenml-io/zenml/stargazers)
## 🤸 Quickstart
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/zenml-io/zenml/blob/main/examples/quickstart/quickstart.ipynb)
[Install ZenML](https://docs.zenml.io/getting-started/installation) via [PyPI](https://pypi.org/project/zenml/). Python 3.9 - 3.12 is required:
```bash
pip install "zenml[server]" notebook
```
Take a tour with the guided quickstart by running:
```bash
zenml go
```
## 🪄 From Prototype to Production: AI Made Simple
### Create AI pipelines with minimal code changes
ZenML is an open-source framework that handles MLOps and LLMOps for engineers scaling AI beyond prototypes. Automate evaluation loops, track performance, and deploy updates across 100s of pipelines—all while your RAG apps run like clockwork.
```python
from zenml import pipeline, step
@step
def load_rag_documents() -> dict:
# Load and chunk documents for RAG pipeline
documents = extract_web_content(url="https://www.zenml.io/")
return {"chunks": chunk_documents(documents)}
@step
def generate_embeddings(data: dict) -> None:
# Generate embeddings for RAG pipeline
embeddings = embed_documents(data['chunks'])
return {"embeddings": embeddings}
@step
def index_generator(
embeddings: dict,
) -> str:
# Generate index for RAG pipeline
index = create_index(embeddings)
return index.id
@pipeline
def rag_pipeline() -> str:
documents = load_rag_documents()
embeddings = generate_embeddings(documents)
index = index_generator(embeddings)
return index
```
![Running a ZenML pipeline](docs/book/.gitbook/assets/readme_simple_pipeline.gif)
### Easily provision an MLOps stack or reuse your existing infrastructure
The framework is a gentle entry point for practitioners to build complex ML pipelines with little knowledge required of the underlying infrastructure complexity. ZenML pipelines can be run on AWS, GCP, Azure, Airflow, Kubeflow and even on Kubernetes without having to change any code or know underlying internals.
ZenML provides different features to aid people to get started quickly on a remote setting as well. If you want to deploy a remote stack from scratch on your selected cloud provider, you can use the 1-click deployment feature either through the dashboard:
![Running a ZenML pipeline](docs/book/.gitbook/assets/one-click-deployment.gif)
Or, through our CLI command:
```bash
zenml stack deploy --provider aws
```
Alternatively, if the necessary pieces of infrastructure are already deployed, you can register a cloud stack seamlessly through the stack wizard:
```bash
zenml stack register <STACK_NAME> --provider aws
```
Read more about [ZenML stacks](https://docs.zenml.io/user-guide/production-guide/understand-stacks).
### Run workloads easily on your production infrastructure
Once you have your MLOps stack configured, you can easily run workloads on it:
```bash
zenml stack set <STACK_NAME>
python run.py
```
```python
from zenml.config import ResourceSettings, DockerSettings
@step(
settings={
"resources": ResourceSettings(memory="16GB", gpu_count="1", cpu_count="8"),
"docker": DockerSettings(parent_image="pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime")
}
)
def training(...):
...
```
![Workloads with ZenML](docs/book/.gitbook/assets/readme_compute.gif)
### Track models, pipeline, and artifacts
Create a complete lineage of who, where, and what data and models are produced.
You'll be able to find out who produced which model, at what time, with which data, and on which version of the code. This guarantees full reproducibility and auditability.
```python
from zenml import Model
@step(model=Model(name="rag_llm", tags=["staging"]))
def deploy_rag(index_id: str) -> str:
deployment_id = deploy_to_endpoint(index_id)
return deployment_id
```
![Exploring ZenML Models](docs/book/.gitbook/assets/readme_mcp.gif)
## 🚀 Key LLMOps Capabilities
### Continual RAG Improvement
**Build production-ready retrieval systems**
<div align="center">
<img src="docs/book/.gitbook/assets/rag_zenml_home.png" width="800" alt="RAG Pipeline">
</div>
ZenML tracks document ingestion, embedding versions, and query patterns. Implement feedback loops and:
- Fix your RAG logic based on production logs
- Automatically re-ingest updated documents
- A/B test different embedding models
- Monitor retrieval quality metrics
### Reproducible Model Fine-Tuning
**Confidence in model updates**
<div align="center">
<img src="docs/book/.gitbook/assets/finetune_zenml_home.png" width="800" alt="Finetuning Pipeline">
</div>
Maintain full lineage of SLM/LLM training runs:
- Version training data and hyperparameters
- Track performance across iterations
- Automatically promote validated models
- Roll back to previous versions if needed
### Purpose built for machine learning with integrations to your favorite tools
While ZenML brings a lot of value out of the box, it also integrates into your existing tooling and infrastructure without you having to be locked in.
```python
from bentoml._internal.bento import bento
@step(on_failure=alert_slack, experiment_tracker="mlflow")
def train_and_deploy(training_df: pd.DataFrame) -> bento.Bento
mlflow.autolog()
...
return bento
```
![Exploring ZenML Integrations](docs/book/.gitbook/assets/readme_integrations.gif)
## 🔄 Your LLM Framework Isn't Enough for Production
While tools like LangChain and LlamaIndex help you **build** LLM workflows, ZenML helps you **productionize** them by adding:
✅ **Artifact Tracking** - Every vector store index, fine-tuned model, and evaluation result versioned automatically
✅ **Pipeline History** - See exactly what code/data produced each version of your RAG system
✅ **Stage Promotion** - Move validated pipelines from staging → production with one click
## 🖼️ Learning
The best way to learn about ZenML is the [docs](https://docs.zenml.io/). We recommend beginning with the [Starter Guide](https://docs.zenml.io/user-guide/starter-guide) to get up and running quickly.
If you are a visual learner, this 11-minute video tutorial is also a great start:
[![Introductory Youtube Video](docs/book/.gitbook/assets/readme_youtube_thumbnail.png)](https://www.youtube.com/watch?v=wEVwIkDvUPs)
And finally, here are some other examples and use cases for inspiration:
1. [E2E Batch Inference](examples/e2e/): Feature engineering, training, and inference pipelines for tabular machine learning.
2. [Basic NLP with BERT](examples/e2e_nlp/): Feature engineering, training, and inference focused on NLP.
3. [LLM RAG Pipeline with Langchain and OpenAI](https://github.com/zenml-io/zenml-projects/tree/main/zenml-support-agent): Using Langchain to create a simple RAG pipeline.
4. [Huggingface Model to Sagemaker Endpoint](https://github.com/zenml-io/zenml-projects/tree/main/huggingface-sagemaker): Automated MLOps on Amazon Sagemaker and HuggingFace
5. [LLMops](https://github.com/zenml-io/zenml-projects/tree/main/llm-complete-guide): Complete guide to do LLM with ZenML
## 📚 Learn from Books
<div align="center">
<a href="https://www.amazon.com/LLM-Engineers-Handbook-engineering-production/dp/1836200072">
<img src="docs/book/.gitbook/assets/llm_engineering_handbook_cover.jpg" alt="LLM Engineer's Handbook Cover" width="200"/></img>
</a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://www.amazon.com/-/en/Andrew-McMahon/dp/1837631964">
<img src="docs/book/.gitbook/assets/ml_engineering_with_python.jpg" alt="Machine Learning Engineering with Python Cover" width="200"/></img>
</a>
</br></br>
</div>
ZenML is featured in these comprehensive guides to modern MLOps and LLM engineering. Learn how to build production-ready machine learning systems with real-world examples and best practices.
## 🔋 Deploy ZenML
For full functionality ZenML should be deployed on the cloud to
enable collaborative features as the central MLOps interface for teams.
Read more about various deployment options [here](https://docs.zenml.io/getting-started/deploying-zenml).
Or, sign up for [ZenML Pro to get a fully managed server on a free trial](https://cloud.zenml.io/?utm_source=readme&utm_medium=referral_link&utm_campaign=cloud_promotion&utm_content=signup_link).
## Use ZenML with VS Code
ZenML has a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=ZenML.zenml-vscode) that allows you to inspect your stacks and pipeline runs directly from your editor. The extension also allows you to switch your stacks without needing to type any CLI commands.
<details>
<summary>🖥️ VS Code Extension in Action!</summary>
<div align="center">
<img width="60%" src="docs/book/.gitbook/assets/zenml-extension-shortened.gif" alt="ZenML Extension">
</div>
</details>
## 🗺 Roadmap
ZenML is being built in public. The [roadmap](https://zenml.io/roadmap) is a regularly updated source of truth for the ZenML community to understand where the product is going in the short, medium, and long term.
ZenML is managed by a [core team](https://zenml.io/company) of developers that are responsible for making key decisions and incorporating feedback from the community. The team oversees feedback via various channels,
and you can directly influence the roadmap as follows:
- Vote on your most wanted feature on our [Discussion
board](https://zenml.io/discussion).
- Start a thread in our [Slack channel](https://zenml.io/slack).
- [Create an issue](https://github.com/zenml-io/zenml/issues/new/choose) on our GitHub repo.
## 🙌 Contributing and Community
We would love to develop ZenML together with our community! The best way to get
started is to select any issue from the `[good-first-issue`
label](https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+user%3Azenml-io+label%3A%22good+first+issue%22)
and open up a Pull Request!
If you
would like to contribute, please review our [Contributing
Guide](CONTRIBUTING.md) for all relevant details.
## 🆘 Getting Help
The first point of call should
be [our Slack group](https://zenml.io/slack-invite/).
Ask your questions about bugs or specific use cases, and someone from
the [core team](https://zenml.io/company) will respond.
Or, if you
prefer, [open an issue](https://github.com/zenml-io/zenml/issues/new/choose) on
our GitHub repo.
## 📚 LLM-focused Learning Resources
1. [LL Complete Guide - Full RAG Pipeline](https://github.com/zenml-io/zenml-projects/tree/main/llm-complete-guide) - Document ingestion, embedding management, and query serving
2. [LLM Fine-Tuning Pipeline](https://github.com/zenml-io/zenml-projects/tree/main/zencoder) - From data prep to deployed model
3. [LLM Agents Example](https://github.com/zenml-io/zenml-projects/tree/main/zenml-support-agent) - Track conversation quality and tool usage
## 🤖 AI-Friendly Documentation with llms.txt
ZenML implements the llms.txt standard to make our documentation more accessible to AI assistants and LLMs. Our implementation includes:
- Base documentation at [zenml.io/llms.txt](https://zenml.io/llms.txt) with core user guides
- Specialized files for different documentation aspects:
- [Component guides](https://zenml.io/component-guide.txt) for integration details
- [How-to guides](https://zenml.io/how-to-guides.txt) for practical implementations
- [Complete documentation corpus](https://zenml.io/llms-full.txt) for comprehensive access
This structured approach helps AI tools better understand and utilize ZenML's documentation, enabling more accurate code suggestions and improved documentation search.
## 📜 License
ZenML is distributed under the terms of the Apache License Version 2.0.
A complete version of the license is available in the [LICENSE](LICENSE) file in
this repository. Any contribution made to this project will be licensed under
the Apache License Version 2.0.
<div>
<p align="left">
<div align="left">
Join our <a href="https://zenml.io/slack" target="_blank">
<img width="18" src="https://cdn3.iconfinder.com/data/icons/logos-and-brands-adobe/512/306_Slack-512.png" alt="Slack"/>
<b>Slack Community</b> </a> and be part of the ZenML family.
</div>
<br />
<a href="https://zenml.io/features">Features</a>
·
<a href="https://zenml.io/roadmap">Roadmap</a>
·
<a href="https://github.com/zenml-io/zenml/issues">Report Bug</a>
·
<a href="https://zenml.io/pro">Sign up for ZenML Pro</a>
·
<a href="https://www.zenml.io/blog">Read Blog</a>
·
<a href="https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+user%3Azenml-io+label%3A%22good+first+issue%22">Contribute to Open Source</a>
·
<a href="https://github.com/zenml-io/zenml-projects">Projects Showcase</a>
<br />
<br />
🎉 Version 0.82.0 is out. Check out the release notes
<a href="https://github.com/zenml-io/zenml/releases">here</a>.
<br />
🖥️ Download our VS Code Extension <a href="https://marketplace.visualstudio.com/items?itemName=ZenML.zenml-vscode">here</a>.
<br />
</p>
</div>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
Wheel-Version: 1.0
Generator: poetry-core 2.1.2
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,3 @@
[console_scripts]
zenml=zenml.cli.cli:cli