-
Notifications
You must be signed in to change notification settings - Fork 544
Deployed pipelines #3920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Deployed pipelines #3920
Changes from all commits
Commits
Show all changes
173 commits
Select commit
Hold shift + click to select a range
c2b6eb9
Add pipeline server and pipeline endpoints abstraction, DB schema and…
stefannica dfca173
Add ZenStore methods and REST API endpoints for pipeline endpoints
stefannica 6153b80
Add DB migration
stefannica 909aee4
Add direct execution engine for ZenML pipeline serving
safoinme 82013ab
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme d3a4c39
Refactor DirectExecutionEngine to simplify output resolution
safoinme f9b9afc
Enhance output resolution in DirectExecutionEngine
safoinme ddcd0c1
Implement docker pipeline server flavor
stefannica e31efb6
Linter fixes
stefannica 36379f5
First working version
stefannica 2679554
Add chat agent pipeline example for ZenML serving
safoinme c248b85
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme b37ab8c
typing and mypy
safoinme bd048ae
Implement 'zenml pipeline endpoint' CLI commands and logs retrieval
stefannica 03fda77
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 7426074
Fix remaining linter errors
stefannica 7b44d04
Formalized containerized pipeline server as a base class
stefannica 14fd6b0
Use static port inside container
stefannica 4751d45
Load the code inside the serving container, if necessary
stefannica 871c97c
Remove legacy code from the serving entrypoint
stefannica 25123f2
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica 6774507
Fix DB migration
stefannica aa4d398
Rename pipeline server to deployer
stefannica abeceb4
Add Docker settings for chat and weather pipelines
safoinme 14351f6
Implement deployment-scoped tokens for deployment authentication
stefannica 3c8e797
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 23cfc3d
Add serving capture policies and step-level annotations
safoinme 8aecb2c
Refactor serving architecture with dependency injection
safoinme df6830e
Add init and cleanup pipeline hooks
stefannica b84885c
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 7293794
Add upgrade functionality to ZenML installation script
safoinme 850e616
Refactor serving module to use deployer architecture
safoinme b394783
Add serving documentation for capture policies and pipeline serving
safoinme 1780645
Key changes include:
safoinme f50d450
Implement the GCP Cloud Run Deployer
stefannica 24e0a1a
Add API key authentication and init/cleanup hooks support
stefannica d8fe2c8
Fixed linter errors
stefannica 2d98b2f
Fix the endpoint authentication
stefannica b4a58c4
More endpoint authentication fixes
stefannica 8453973
Add utility to call a pipeline endpoint from code
stefannica 3e434fc
Fix linter issues
stefannica bdb4441
Remove deprecated serving capture policies and related documentation
safoinme 613e300
test-implementation for artifacts handling in memory
safoinme 95cf0dd
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 9fdd0fe
Remove unused pipeline streaming execution method
safoinme e406cf6
Add missing files
stefannica 153d487
Refactor serving architecture and remove deprecated components
safoinme c0046e3
Add return targets mapping in PipelineServingService
safoinme af9bc47
Implement AWS App Runner Deployer
stefannica d6a51bb
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 8757956
Reworked the endpoint LCM management to allow "pausing" and "resuming…
stefannica 800601e
Fix some linter errors
stefannica 7bc9dd6
Allow endpoints to be provisioned independent of the active stack
stefannica c1b7357
Implement generic ResourceSettings support, timeout CLI args and endp…
stefannica 1290e42
Merge branch 'develop' into feature/served-pipelines
safoinme 951188d
Slightly refactor deployer to allow for post-polling cleanup
stefannica 277b7e0
Fix some AWS deployer bugs related to state management
stefannica 5c340c8
Fix AWS deployer bug not cleaning up autoscaling config
stefannica 61c2491
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica ee19843
Rebase DB migrations
stefannica 15dd714
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 331294a
Auto-update of E2E template
actions-user b69063b
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme cf2cc68
Enhance runtime parameter handling for serving
safoinme a110d1b
CLI command renames and other feedback changes
stefannica c6f8c2b
Remove serving settings and refactor serving service initialization
safoinme 471e700
Refactor serving context and enhance parameter handling
safoinme e13209c
Add validation for request parameters in serving app
safoinme 10ac9aa
more tests
safoinme b45398f
Add analytics events, fix linter and docstring errors
stefannica c43af74
Enhance pipeline parameter handling and response schema generation
safoinme da19b82
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme bbe17a0
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica 3f2afe2
inmemory implementation
safoinme d915a9f
Implement client-side schema examples and validation for invocations
stefannica 4676016
Refactor in-memory artifact handling and remove legacy components
safoinme 3f6aed6
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 0476e38
Enhance in-memory artifact handling and response schema generation
safoinme 7c10bb6
Fix type ignore comments for pipeline parameter schemas
safoinme 933909d
mypy
safoinme 30a1d72
Update quickstart with deployable inference pipeline
stefannica 841169b
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 2d6dbc6
Add proper support for init hooks, shared run state and init hook kwargs
stefannica 246ab9b
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica d2433a7
Renamed deployment to snapshot in all remaining places
stefannica 9a64c35
add str to runtime
safoinme 8b03493
revert quickstart example
safoinme 89bf7d0
Renamed pipeline endpoint to deployment
stefannica b05fd74
Fix the snapshot DB migration script
stefannica 722bfeb
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica c51f39e
Last minute deployment renames
stefannica 7bdc463
Fixed some docstrings and made more renaming modifications
stefannica 9cc3012
Fix some unit tests and some bugs revealed by unit test failures
stefannica 7e294d9
docstring
safoinme 38d5170
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 2e4e502
docstring
safoinme 66cb228
Update src/zenml/deployers/base_deployer.py
stefannica 6f373f7
revert utils
safoinme c1f3fc0
Code review suggestions
stefannica 9592184
Get rid of jsf library and use best-effort to generate simple examples
stefannica 750abb9
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 13a689f
Cleaned up code and applied minor improvements
stefannica 56cfc58
full cleaning + in memory materializer
safoinme cafd1bd
misc inmemory
safoinme 7f50873
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 96730ff
updated tests
safoinme 1c1d51b
Merge branch 'develop' into feature/served-pipelines
safoinme 75b8577
update spec
safoinme 05ce6c2
fix response
safoinme f2d5373
fix output mapping
safoinme fae2ef6
mypy
safoinme cddf44d
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica afc84cb
Applied more code review suggestions
stefannica c2bde68
Implemented some more code review suggestions and fixed docstrings
stefannica 9df4737
use snapshot request to update parameters
safoinme b1966f5
Support for parallel requests and better OpenAPI models
stefannica e57cd55
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 4591b1f
Fix linter errors and remove fastapi override again
stefannica efbc012
Implement unique output names in the pipeline output
stefannica 045aa19
Fix linter errors
stefannica 9bef95b
Docstring updates
stefannica be8d103
fix test + remove unused function
safoinme 75ab0de
tests
safoinme 7b3e7c7
test fix
safoinme 03d9358
Add CLI support to use named snapshots to provision deployments
stefannica a754c26
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica ace894d
Fix init_hook_args occurrence
stefannica 8dbb11b
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica 4f09054
Update src/zenml/deployers/server/runtime.py
safoinme f51cb66
Update src/zenml/deployers/server/runtime.py
safoinme e4bee5a
Refactor parameter model handling and clean up code
safoinme a6e31a3
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme a661699
Remove deprecated authentication test for invoke endpoint
safoinme 5cc292f
Update src/zenml/orchestrators/utils.py
safoinme bf26b24
Applied some code review suggestions
stefannica fc475ba
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 16855f8
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica f30d397
More code review suggestions
stefannica b41700d
Fixed some linter errors
stefannica aba28cf
Enhance artifact storage handling for in-memory materializers
safoinme a1017c0
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme 3f0f05e
More code review suggestions
stefannica 5f879a2
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 72b3c5c
Refactor parameter model construction in deployment service
safoinme 00e212d
Update src/zenml/deployers/server/runtime.py
safoinme 6e8ccc5
Code review suggestions
stefannica 911e14f
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 416e8ff
Fixed all unit tests
stefannica abb359b
Remove TODOs
stefannica 952eab3
Allow filtering snapshot by deployable
schustmi b5c821e
Allow filtering deployment by pipeline
schustmi 5a35f29
Add deployment to snapshot response
schustmi 3058093
Allow filtering snapshot by deployed
schustmi 00eecc1
Fix deployer post-deletion checks
stefannica dc4f1b9
Enable tagging for deployments
schustmi 3377dbd
Install local extra for local deployments connected to DB directly
schustmi 95182d0
Add pipeline to deployment model resources
stefannica 1cd5f9d
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica e74e8af
Fix formatting
stefannica 67cba90
review
safoinme a5efb43
Merge branch 'feature/served-pipelines' of https://github.com/zenml-i…
safoinme c12bc74
Add check to prevent users to deploy the same snapshot multiple times
stefannica 06d6732
Merge branch 'feature/served-pipelines' of github.com:zenml-io/zenml …
stefannica 032dced
Merge branch 'develop' into feature/served-pipelines
schustmi eccde5a
Reworked the init/cleanup hooks and the run context
stefannica 38596be
Fix some failing unit tests
stefannica ec41296
Merge remote-tracking branch 'origin/develop' into feature/served-pip…
stefannica 11da60b
Reworked hook validation to elliminate duplicated code
stefannica dd3bd5c
Fix unit tests
stefannica 0778e8f
Fix hook validators to allow for failure hook without any args
stefannica 839f528
Fix docstrings and unit tests
stefannica b35c9ee
Remove incomplete docs
stefannica 5d2184d
Fix remaining security test and unit test failures
stefannica File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like we removed generating these in-memory output artifact URIs? If that's the case, I assume we also don't need the logic in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now it's back with the idea of having a uri that users wouldn't search for in artifact store