forked from zenml-io/zenml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust Examples to New Pipeline Interface (zenml-io#1552)
* Allow passing any step function input as parameter or artifact * Simplify and niceify parsing * Raise ZenML error message instead of type error * Simplify getting unwrapped signature * Some improvements * Correctly handle BaseParameters in StepRunner * Formatting * Improve pipeline step verification * Preparations for new pipeline interface * Helper function for unique step names * Allow passing name to pipeline init * New pipelines WIP * Add some todos * Hacky implementation of some todos * A little cleanup * More cleanup * Update new pipeline with dev changes * Fix some stuff * Some additional verification * WIP step invocation * Some cleanup * Allow partial step calls * Add method to load v0.3 pipelines * Refactoring * Update BaseParameter handling * Remove inputs from config * Allow configuration of step in __init__ * Improve readability * POC implementation of Optional/Union/Any step inputs and outputs * POC implementation of external artifacts * POC implementation pipeline composition * Store pipeline outputs * Prevent BaseStep.after(...) when calling steps multiple times * Implement new way to call pipeline * More type validation * Remove breakpoint * Support pydantic custom root type * Exclude unmaterialized artifacts from type checking * Refactor some things * Refactor * Cleanup * Cleanup step validation * More type validation * Remove some validation to make it more flexible * Re-add parameter value validation * Parameter tests * Allow configuring multiple materializers for union outputs * Post merge fixes * Fix materializer import * Misc changes * Try to remove hack * Refactor upload * Hopefully make pipeline backwards compatible * Some docstrings * More docstrings * Mypy * Public pipeline and step API (zenml-io#1532) * Adjust all imports to use zenml.step and zenml.pipeline * Update src/zenml/steps/entrypoint_function_utils.py Co-authored-by: Felix Altenberger <[email protected]> * Update src/zenml/new/pipelines/pipeline.py Co-authored-by: Felix Altenberger <[email protected]> * Apply some review suggestions * Move build_utils and deserialization_utils to zenml.new.pipelines * Adjust airflow example * Fix new pipeline and step decorators * Adjust add_your_own example * Fix most docstrings * Delete old pipeline files * Adjust Kubernetes example * Update hook loading * Adjust Kubeflow example (untested) * Adjust Kubeflow example (untested) * Remove pipeline inputs/outputs from config * Adjust Vertex example * Adjust Sagemaker example * Refactor into function to avoid duplicate code * (Failing) Adjust XGB example * Fix XGB example by removing params * Adjust scipy example * Improve materializer selection * Adjust pytorch example * Fix base params bug * Adjust neural prophet example * (Untested) Adjust LGBM example * Adjust facets example * Fix error when using class based api * Adjust wandb example * Adjust whylogs integration steps and example * Adjust deepchecks integration steps and example * (Failing) Adjust Evidently example * Fix step parameter configuration * Fix some tests * Fix merge error * Fix more unit tests * Fix post_execution.get_pipeline() for new pipeline classes * Add missing comment * Add docstring * Adjust great expectations integration steps and example * (Untested) Adjust Tekton example * More unit test fixes * (Untested) Adjust MLflow tracking example * Adjust mlflow deployer steps * Adjust Slack example * Replace some step name occurences by incovation id * Adjust MLflow deployment example * Adjust MLflow registry step and example * Fix pydantic name error for reserved step arguments * (Untested) Adjust Neptune example * Adjust quickstart * Adjust step operator example * update mlflow removing run() * Implement new versioning logic * Fix last unit tests * Docstrings * Functional integration tests * Adjust Seldon deployer integration steps * Remove useless 'condition' arg of GE steps * Implement missing property * Revert "Adjust Seldon deployer integration steps" This reverts commit 1109ee2. * update facets WIP * Fix formatting * Improve step/pipeline entrypoint validation * Revert unfinished examples / integration steps * update whylogs notebook * update GE but post-execution still broken * Add missing annotations to func * Add deprecation warnings * Expose parameters on step context * Darglint * Adjust old examples to integration step changes * Revert import changes in tests * Fix whylogs integration test * update the pipeline step name responsible for deployment * delete great_expectations notebook (drifted) * Fix quickstart_py37 notebook * Update examples/facets_visualize_statistics/run.py * Update examples/kserve_deployment/steps/tensorflow_steps/tf_trainer.py * Update examples/deepchecks_data_validation/run.py * Update examples/vertex_ai_orchestration/run.py * Update examples/step_operator_remote_training/run.py * Update examples/scipy/run.py * Update examples/lightgbm/run.py * fix deepchecks notebook * update facets notebook * Adjust quickstart notebook * Fix quickstart script * Fix GE integration test * Fix quickstart integration test * update evidently notebook * deprecate kubeflow notebook * Update hook readme * formatting fixes * Fix formatting * Cleanup quickstart notebook * Cleanup quickstart notebook more * add exception * fix typos * fix deployer step name for mlflow deployment test * formatting fixes * final typo fix --------- Co-authored-by: Michael Schuster <[email protected]> Co-authored-by: Michael Schuster <[email protected]> Co-authored-by: Alex Strick van Linschoten <[email protected]> Co-authored-by: Safoine El Khabich <[email protected]> Co-authored-by: Alex Strick van Linschoten <[email protected]>
- Loading branch information
1 parent
ea4a84b
commit 8fa9053
Showing
215 changed files
with
1,457 additions
and
3,147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ prepending = "prepending" | |
prev = "prev" | ||
creat = "creat" | ||
ret = "ret" | ||
daa = "daa" | ||
|
||
[default] | ||
locale = "en-us" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.