-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: mlserver-mlflow integration (#161)
#133 Integration tests for mlsever-mlflow. Similar to other mlserver-* tests. Summary of changes: - Added integration tests files. - Updated tests. - Updated config map to point to published rock.
- Loading branch information
Showing
5 changed files
with
121 additions
and
39 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"parameters": {"content_type": "pd"}, | ||
"inputs": [ | ||
{ | ||
"name": "fixed acidity", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [7.4], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "volatile acidity", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [0.7000], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "citric acidity", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [0], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "residual sugar", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [1.9], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "chlorides", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [0.076], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "free sulfur dioxide", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [11], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "total sulfur dioxide", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [34], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "density", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [0.9978], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "pH", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [3.51], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "sulphates", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [0.56], | ||
"parameters": {"content_type": "np"} | ||
}, | ||
{ | ||
"name": "alcohol", | ||
"shape": [1], | ||
"datatype": "FP32", | ||
"data": [9.4], | ||
"parameters": {"content_type": "np"} | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"model_name": "classifier", | ||
"model_version": "v1", | ||
"id": "None", | ||
"parameters": { | ||
"content_type": "np" | ||
}, | ||
"outputs": [ | ||
{ | ||
"name": "output-1", | ||
"shape": [ | ||
1, | ||
1 | ||
], | ||
"datatype": "FP64", | ||
"parameters": { | ||
"content_type": "np" | ||
}, | ||
"data": [ | ||
6.016145744177844 | ||
] | ||
} | ||
] | ||
} |
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