Skip to content
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 compatibility #12

Merged
merged 4 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ jobs:
with:
stack-name: ${{ matrix.stack-name }}
python-version: ${{ matrix.python-version }}
ref-zenml: feature/OSS-2300-model-watch-tower-v0.1
2 changes: 1 addition & 1 deletion template/pipelines/batch_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
mlflow_model_registry_deployer_step,
)
from zenml.logger import get_logger
from zenml.steps.external_artifact import ExternalArtifact
from zenml.artifacts.external_artifact import ExternalArtifact

logger = get_logger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion template/pipelines/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
)
from zenml.integrations.mlflow.steps.mlflow_registry import mlflow_register_model_step
from zenml.logger import get_logger
from zenml.steps.external_artifact import ExternalArtifact
from zenml.artifacts.external_artifact import ExternalArtifact


logger = get_logger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions template/run.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# {% include 'template/license_header' %}


from zenml.steps.external_artifact import ExternalArtifact
from zenml.artifacts.external_artifact import ExternalArtifact
from zenml.logger import get_logger
from pipelines import {{product_name}}_batch_inference, {{product_name}}_training
from config import MetaConfig
Expand Down Expand Up @@ -177,7 +177,7 @@ def main(
logger.info(
"Batch inference pipeline finished successfully! "
"You can find predictions in Artifact Store using ID: "
f"`{str(artifact.upload_if_necessary())}`."
f"`{str(artifact.id)}`."
)


Expand Down
Loading