Comments (4)
The inconsistent type naming between the model deployer registration and the MLFlowDeploymentService
definition could also be contributing to this issue.
One thing you try is to register the MLFLow model deployer as
zenml model-deployer register mlflow --type=model-serving --flavor=mlflow
As it's defined in ServiceType as:
SERVICE_TYPE = ServiceType(
name="mlflow-deployment",
type="model-serving",
flavor="mlflow",
description="MLflow prediction service",
)
Or we can change the type in src\zenml\integrations\mlflow\services\mlflow_deployment.py on line 128 to just mlflow
rather than mlflow-serving
.
So that the service type name matches what is defined in the MLFlowDeploymentService
class.
This can contribute to the issue you are facing.
from zenml.
@Vishal-Padia thanks for your response.
zenml model-deployer register mlflow --type=model-serving --flavor=mlflow
this will not work as --type
is an extra field in model deployer registration as you can see in the error below. I tried it because I saw it in some old docs.
ValidationError: 1 validation error for MLFlowModelDeployerConfig
type
extra fields not permitted (type=value_error.extra)
for your 2nd solution, I tried it but it didn't work.
from zenml.
@PriyanshBhardwaj
okay, I got it.
I guess Alex will be able to zero-down on the issue!
from zenml.
Hello @PriyanshBhardwaj , sorry about the delay!
As I learned from the info provided you install mlflow
using pip directly, which might not work well with zenml due to version mismatch. Moreover mlflow
integration also pulls important components for model deployment, the full list is (for 0.53.1
version you used): 'mlflow>=2.1.1,<=2.9.2', 'mlserver>=1.3.3', 'mlserver-mlflow>=1.3.3'
.
Can you do the following and retest?
pip3 uninstall mlflow
zenml integration install mlflow -y
Moreover, forking on MacOS might not be working always smoothly, if OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
is not set, so also ensure that this ENV is properly set before rerunning.
from zenml.
Related Issues (20)
- [BUG]: Leaking secret experiment tracker URI HOT 3
- [BUG]: Race condition Bug HOT 3
- [BUG]: Importing `annotations` from `__future__` breaks pipeline compilation
- [BUG]: Rate limiting Vulnerability HOT 1
- [BUG]: Critical Vulnerability related to file access HOT 1
- [BUG]: Unable to open the quickstart colab notebook HOT 2
- [BUG]: Node Selector doesn"t work on job HOT 1
- Integrate `safetensors` for model serialization HOT 4
- [BUG]: Integration Materializers links not working (Documentation) HOT 5
- [BUG]: THIS RESULTED FROM USING ZENML WITH ML FLOW HOT 1
- [BUG]: File priviledge changing timing, potential TOCTOU HOT 3
- Check if Juypter is installed HOT 2
- [BUG]: {{date}} and {{time}} placeholders not being replaced HOT 2
- [BUG]: Cannot use `zenml init` with templates even after installing `zenml[templates]` HOT 3
- Add Argilla annotator stack component
- [BUG]: Unable to determine source root HOT 4
- [BUG]: GreatExpectations materializer not automatically selected
- [BUG]: Logs are not working HOT 1
- [BUG]: Switch to old version dashboard from 0.57.0 zenml-server HOT 4
- [BUG/Feature Request]: Reusing a step overwrites artifact names HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zenml.