-
Notifications
You must be signed in to change notification settings - Fork 442
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
[Model Control Plane] v0.1 mega-branch #1816
[Model Control Plane] v0.1 mega-branch #1816
Commits on Sep 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 61d2f81 - Browse repository at this point
Copy the full SHA 61d2f81View commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7aff703 - Browse repository at this point
Copy the full SHA 7aff703View commit details
Commits on Sep 18, 2023
-
[Model Watch Tower] Adding ModelVersion and ModelVersionLink entities (…
…#1811) * big bang commit * typo * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * add Alembic * lint * mypy * darglint * wip * add endpoints * add ModelStages * wip * work with client * handle tags * fix integrations * move list around * update db schema * wip * lint * sync with model branch * wip * refactor * add stage transition * add update interface * add model version links * lint * fix crud tests * fix alembic branching * patch azure * lint * use zenml StrEnum * fix param name * fix tests in docker * fix tests for mysql * rename artifact ids variables * reorder methods * add direct getters * lint * split links into 2 tables * lint * pr comments --------- Co-authored-by: Felix Altenberger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85350b8 - Browse repository at this point
Copy the full SHA 85350b8View commit details -
[Model Watch Tower] Implement
zenml.log_artifact_metadata()
(#1813)* Delete dead code * Implement zenml.log_artifact_metadata() * Improve error handling and add tests * Remove 'description' arg of log_artifact_metadata() and fix docstring * Fix test name * Remove TODOs * Rewrite create_run_metadata() to make batch API requests * Adjust unit tests * Fix flaky test_is_secret_reference * Fix integration tests
Configuration menu - View commit details
-
Copy full SHA for bb7ef0d - Browse repository at this point
Copy the full SHA bb7ef0dView commit details
Commits on Sep 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eaa69f4 - Browse repository at this point
Copy the full SHA eaa69f4View commit details -
[Model Watch Tower] Add ModelConfig (#1817)
* big bang commit * typo * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * add Alembic * lint * mypy * darglint * wip * wip * wip * wip * add endpoints * add ModelStages * wip * work with client * handle tags * fix integrations * move list around * update db schema * wip * lint * sync with model branch * wip * refactor * add stage transition * add update interface * add model version links * lint * fix crud tests * fix alembic branching * patch azure * lint * use zenml StrEnum * fix param name * ModelConfig implementation * start testing * fix tests in docker * more tests * fix tests for mysql * rename artifact ids variables * reorder methods * add direct getters * lint * split links into 2 tables * lint * pr comments * lint * remove `ModelStages._members()` * improve wording * Union[str, ModelStages] * simplify `get_model_version` to one endpoint * remove `_get_request_params` * split `_get_or_create_model_version` * ensure `get_or_create_model` is stable * add docstrings * lint * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> --------- Co-authored-by: Felix Altenberger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ab8862 - Browse repository at this point
Copy the full SHA 4ab8862View commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 234e7e3 - Browse repository at this point
Copy the full SHA 234e7e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for be21473 - Browse repository at this point
Copy the full SHA be21473View commit details -
[Model WatchTower] add ModelConfig to step and pipeline decorators (#…
…1819) * big bang commit * typo * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * add Alembic * lint * mypy * darglint * wip * wip * wip * wip * add endpoints * add ModelStages * wip * work with client * handle tags * fix integrations * move list around * update db schema * wip * lint * sync with model branch * wip * refactor * add stage transition * add update interface * add model version links * lint * fix crud tests * fix alembic branching * patch azure * lint * use zenml StrEnum * fix param name * ModelConfig implementation * start testing * fix tests in docker * more tests * fix tests for mysql * rename artifact ids variables * reorder methods * add direct getters * lint * split links into 2 tables * lint * pr comments * add ModelConfig to step deco * Revert "add ModelConfig to step deco" This reverts commit ba9fd6a. * add ModelConfig to step deco * lint * wip * Add model_config to @pipeline and @step * add docstring * cleaning up after merge * move `ModelBaseModel` back to `models` * direct imports * breaking another circular dep * and one more circular dep --------- Co-authored-by: Felix Altenberger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f5a07d - Browse repository at this point
Copy the full SHA 0f5a07dView commit details
Commits on Sep 26, 2023
-
[Model WatchTower] Add ArtifactConfig (+OSS-2427) & model version man…
…agement in context (partially) (#1822) * big bang commit * typo * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * add Alembic * lint * mypy * darglint * wip * wip * wip * wip * add endpoints * add ModelStages * wip * work with client * handle tags * fix integrations * move list around * update db schema * wip * lint * sync with model branch * wip * refactor * add stage transition * add update interface * add model version links * lint * fix crud tests * fix alembic branching * patch azure * lint * use zenml StrEnum * fix param name * ModelConfig implementation * start testing * fix tests in docker * more tests * fix tests for mysql * rename artifact ids variables * reorder methods * add direct getters * lint * split links into 2 tables * lint * pr comments * add ModelConfig to step deco * Revert "add ModelConfig to step deco" This reverts commit ba9fd6a. * add ModelConfig to step deco * lint * wip * Add model_config to @pipeline and @step * add artifact config and necessary registrations around it * fix bug with `Output` annotation * add docstring * Update src/zenml/new/pipelines/pipeline.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * cleaning up after merge * move `ModelBaseModel` back to `models` * direct imports * breaking another circular dep * clean-up after conflicts resolution * and one more circular dep * and one more circular dep * update tests to include `OutputSignature` * add `link_output_to_model` * stabilize tests * add implicit linkage * more tests * lint * docstrings * test/bug fixes * extend artifact link key to pipe/step/name * lint * fix for 3.8 * fix failing test call signatures * update_forward_refs centrally * Update src/zenml/model/artifact_config.py Co-authored-by: Felix Altenberger <[email protected]> * Update src/zenml/zen_stores/sql_zen_store.py Co-authored-by: Felix Altenberger <[email protected]> * add a warning about not supported feature * add arguments descriptions * improve docstrings a bit * assign_version_to_running internal + docs * rename to link_version * Update src/zenml/new/pipelines/pipeline.py Co-authored-by: Felix Altenberger <[email protected]> * rename arg in test * lint * refactor a bit * address PR comment * remove deleted classes * Update src/zenml/models/model_base_model.py Co-authored-by: Felix Altenberger <[email protected]> * move `ModelStages` to enums * merge `model_stage` and add tests for it * simplify `_link_artifacts_to_model` args * docstrings * docstrings * lint * fix args in tests * fix __mro__ test failure * fix for mlflow test * stabilize test_list_runs_is_ordered * fix pagination in some tests * address PR comments --------- Co-authored-by: Felix Altenberger <[email protected]> Co-authored-by: Alex Strick van Linschoten <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b47a718 - Browse repository at this point
Copy the full SHA b47a718View commit details -
Configuration menu - View commit details
-
Copy full SHA for edd9167 - Browse repository at this point
Copy the full SHA edd9167View commit details
Commits on Sep 28, 2023
-
[Model WatchTower] Delete running versions on failed pipelines with `…
…delete_new_version_on_failure ` option (#1825) * big bang commit * typo * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * add Alembic * lint * mypy * darglint * wip * wip * wip * wip * add endpoints * add ModelStages * wip * work with client * handle tags * fix integrations * move list around * update db schema * wip * lint * sync with model branch * wip * refactor * add stage transition * add update interface * add model version links * lint * fix crud tests * fix alembic branching * patch azure * lint * use zenml StrEnum * fix param name * ModelConfig implementation * start testing * fix tests in docker * more tests * fix tests for mysql * rename artifact ids variables * reorder methods * add direct getters * lint * split links into 2 tables * lint * pr comments * add ModelConfig to step deco * Revert "add ModelConfig to step deco" This reverts commit ba9fd6a. * add ModelConfig to step deco * lint * wip * Add model_config to @pipeline and @step * add artifact config and necessary registrations around it * fix bug with `Output` annotation * add docstring * delete running versions on fail * add deletion test * don't return running without recovery * remove base_model.py * PR comments * remove merged migration * PR comments * improve model_config warnings * clean up merge mess * bandit is too strict * typos * clean up merge mess * remove not relevant asserts * improve docs * improve docs * rely on deployment in `get_new_version_requests` * stabilize tests in random order * improve docs * stabilize tests --------- Co-authored-by: Felix Altenberger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23a9c74 - Browse repository at this point
Copy the full SHA 23a9c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f24957 - Browse repository at this point
Copy the full SHA 6f24957View commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5db38d7 - Browse repository at this point
Copy the full SHA 5db38d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 771ece3 - Browse repository at this point
Copy the full SHA 771ece3View commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e9e9abd - Browse repository at this point
Copy the full SHA e9e9abdView commit details -
[Model WatchTower] Extend
ExternalArtifact
(#1839)* big bang commit * typo * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * add Alembic * lint * mypy * darglint * wip * wip * wip * wip * add endpoints * add ModelStages * wip * work with client * handle tags * fix integrations * move list around * update db schema * wip * lint * sync with model branch * wip * refactor * add stage transition * add update interface * add model version links * lint * fix crud tests * fix alembic branching * patch azure * lint * use zenml StrEnum * fix param name * ModelConfig implementation * start testing * fix tests in docker * more tests * fix tests for mysql * rename artifact ids variables * reorder methods * add direct getters * lint * split links into 2 tables * lint * pr comments * add ModelConfig to step deco * Revert "add ModelConfig to step deco" This reverts commit ba9fd6a. * add ModelConfig to step deco * lint * wip * Add model_config to @pipeline and @step * add artifact config and necessary registrations around it * fix bug with `Output` annotation * add docstring * delete running versions on fail * add deletion test * Update src/zenml/new/pipelines/pipeline.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * cleaning up after merge * move `ModelBaseModel` back to `models` * direct imports * breaking another circular dep * clean-up after conflicts resolution * and one more circular dep * and one more circular dep * update tests to include `OutputSignature` * add `link_output_to_model` * stabilize tests * add implicit linkage * more tests * lint * docstrings * test/bug fixes * extend artifact link key to pipe/step/name * lint * fix for 3.8 * fix failing test call signatures * update_forward_refs centrally * Update src/zenml/model/artifact_config.py Co-authored-by: Felix Altenberger <[email protected]> * Update src/zenml/zen_stores/sql_zen_store.py Co-authored-by: Felix Altenberger <[email protected]> * add a warning about not supported feature * add arguments descriptions * improve docstrings a bit * assign_version_to_running internal + docs * rename to link_version * Update src/zenml/new/pipelines/pipeline.py Co-authored-by: Felix Altenberger <[email protected]> * rename arg in test * lint * refactor a bit * address PR comment * remove deleted classes * Update src/zenml/models/model_base_model.py Co-authored-by: Felix Altenberger <[email protected]> * move `ModelStages` to enums * merge `model_stage` and add tests for it * simplify `_link_artifacts_to_model` args * docstrings * docstrings * lint * fix args in tests * fix __mro__ test failure * fix for mlflow test * stabilize test_list_runs_is_ordered * update .gitignore * fix pagination in some tests * don't return running without recovery * remove base_model.py * PR comments * remove merged migration * PR comments * improve model_config warnings * clean up merge mess * external artifacts for model watchtower * bandit is too strict * typos * clean up merge mess * remove not relevant asserts * improve docs * improve docs * rely on deployment in `get_new_version_requests` * stabilize tests in random order * improve docs * use utils model_killer * clean up merge mess * use Annotated from typing_extensions * one more circular dep case * lint * resolve alembic branching * Apply suggestions from code review Co-authored-by: Felix Altenberger <[email protected]> * get rid of `_testable_upload_if_necessary` * refactor `upload_if_necessary` * `zenml.artifacts.external_artifact.ExternalArtifact` * add tests for getters of MV response * improve docstring * fix before #1835 * lint * remove `_import_client` * fixing issues highlighted by tests * update docstrings * fix year in license * add docstrings * Update src/zenml/models/model_models.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * Update src/zenml/models/model_models.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * Update src/zenml/models/model_models.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * Update src/zenml/models/model_models.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * Update src/zenml/steps/external_artifact.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * Update src/zenml/models/model_models.py Co-authored-by: Alex Strick van Linschoten <[email protected]> * fix docstrings * Move UnmaterializedArtifact to zenml.artifacts * add fix of path in docs * split ExternalArtifact into user class and config for step * update template working branch * restrict pydantic * Revert "restrict pydantic" This reverts commit b94e01f. --------- Co-authored-by: Felix Altenberger <[email protected]> Co-authored-by: Alex Strick van Linschoten <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51d35cd - Browse repository at this point
Copy the full SHA 51d35cdView commit details -
[Model WatchTower] Extend client (#1849)
* extend client for Model WatchTower * resolve alembic branching
Configuration menu - View commit details
-
Copy full SHA for 4219cc1 - Browse repository at this point
Copy the full SHA 4219cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 067fe67 - Browse repository at this point
Copy the full SHA 067fe67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f4ab99 - Browse repository at this point
Copy the full SHA 8f4ab99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25a4eed - Browse repository at this point
Copy the full SHA 25a4eedView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b2e47 - Browse repository at this point
Copy the full SHA b1b2e47View commit details
Commits on Oct 4, 2023
-
[Model WatchTower] link runs to model versions (#1847)
* linkage of pipeline runs * add docstring * tricky bug * full linkage on consumption * lint * use client * Auto-update of E2E template * update outdated test * create new version if any step touching it is executed and it was requested elsewhere * refactor `_link_pipeline_run_to_model` * add few more tests --------- Co-authored-by: GitHub Actions <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72eab9c - Browse repository at this point
Copy the full SHA 72eab9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83572f7 - Browse repository at this point
Copy the full SHA 83572f7View commit details
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b670755 - Browse repository at this point
Copy the full SHA b670755View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86fbae3 - Browse repository at this point
Copy the full SHA 86fbae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87bde56 - Browse repository at this point
Copy the full SHA 87bde56View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc50010 - Browse repository at this point
Copy the full SHA cc50010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 585c913 - Browse repository at this point
Copy the full SHA 585c913View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6561fe7 - Browse repository at this point
Copy the full SHA 6561fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 863b495 - Browse repository at this point
Copy the full SHA 863b495View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8daa76 - Browse repository at this point
Copy the full SHA b8daa76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a860b5 - Browse repository at this point
Copy the full SHA 1a860b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f233757 - Browse repository at this point
Copy the full SHA f233757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5cb49 - Browse repository at this point
Copy the full SHA 8a5cb49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1391898 - Browse repository at this point
Copy the full SHA 1391898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f14fcb - Browse repository at this point
Copy the full SHA 9f14fcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66b1cee - Browse repository at this point
Copy the full SHA 66b1ceeView commit details -
Merge remote-tracking branch 'origin/bug/fix-ci-part-1969392' into fe…
…ature/OSS-2300-model-watch-tower-v0.1
Configuration menu - View commit details
-
Copy full SHA for 0793b14 - Browse repository at this point
Copy the full SHA 0793b14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f0c0c7 - Browse repository at this point
Copy the full SHA 7f0c0c7View commit details
Commits on Oct 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 34cae93 - Browse repository at this point
Copy the full SHA 34cae93View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4a9ecd - Browse repository at this point
Copy the full SHA f4a9ecdView commit details -
[Model Control Plane] parallel running versions support (#1859)
* linkage of pipeline runs * add docstring * tricky bug * full linkage on consumption * lint * use client * Auto-update of E2E template * update outdated test * create new version if any step touching it is executed and it was requested elsewhere * refactor `_link_pipeline_run_to_model` * add few more tests * parallel execution of model versions * add version number * improve readability * protect from misuse * extend `ArtifactConfig.model_version` * align model config docstrings * stabilize parallelized test * rework test as subprocess calls * skip subprocess test on windows * after merge mess * update tests flow based on develop * proper handle __latest__ mv in REST * fix get model version endpoint * simplify user-facing interface * fix test annotation --------- Co-authored-by: GitHub Actions <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e35cf1 - Browse repository at this point
Copy the full SHA 9e35cf1View commit details -
[Model Control Plane] Add CLI (#1861)
* linkage of pipeline runs * add docstring * tricky bug * full linkage on consumption * lint * use client * Auto-update of E2E template * update outdated test * create new version if any step touching it is executed and it was requested elsewhere * refactor `_link_pipeline_run_to_model` * add few more tests * parallel execution of model versions * add version number * improve readability * protect from misuse * extend `ArtifactConfig.model_version` * align model config docstrings * stabilize parallelized test * rename `model.py` * rename * add cli for model watchtower * rework test as subprocess calls * Apply suggestions from code review Co-authored-by: Alex Strick van Linschoten <[email protected]> * reshape tests * rebranding * skip subprocess test on windows * sort init * remove redundant param from `print_pydantic_models` * reduce redundant code * reduce too long line * add model update * after merge mess * lint * update tests flow based on develop * proper handle __latest__ mv in REST * fix get model version endpoint * calm down linter * restore proper name * typing import error * after merge mess --------- Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: Alex Strick van Linschoten <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 783525e - Browse repository at this point
Copy the full SHA 783525eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 162136f - Browse repository at this point
Copy the full SHA 162136fView commit details -
Merge branch 'feature/OSS-2300-model-watch-tower-v0.1' of https://git…
…hub.com/zenml-io/zenml into feature/OSS-2300-model-watch-tower-v0.1
Configuration menu - View commit details
-
Copy full SHA for e0c45ee - Browse repository at this point
Copy the full SHA e0c45eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 381cceb - Browse repository at this point
Copy the full SHA 381ccebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2d59ad - Browse repository at this point
Copy the full SHA d2d59adView commit details -
Merge branch 'feature/OSS-2300-model-watch-tower-v0.1' of https://git…
…hub.com/zenml-io/zenml into feature/OSS-2300-model-watch-tower-v0.1
Configuration menu - View commit details
-
Copy full SHA for 16d13c7 - Browse repository at this point
Copy the full SHA 16d13c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7494b12 - Browse repository at this point
Copy the full SHA 7494b12View commit details