-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ted chang <htchang@us.ibm.com>
- Loading branch information
1 parent
08b1ee7
commit cee8e3a
Showing
59 changed files
with
7,128 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2022 IBM Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
From quay.io/cloudservices/minio:RELEASE.2021-06-17T00-10-46Z.hotfix.35a0912ff | ||
EXPOSE 9000 | ||
RUN mkdir -p /data1/modelmesh-example-models | ||
COPY sklearn /data1/modelmesh-example-models/sklearn/ | ||
COPY lightgbm /data1/modelmesh-example-models/lightgbm/ | ||
COPY onnx /data1/modelmesh-example-models/onnx/ | ||
COPY pytorch /data1/modelmesh-example-models/pytorch/ | ||
COPY xgboost /data1/modelmesh-example-models/xgboost/ | ||
COPY tensorflow /data1/modelmesh-example-models/tensorflow/ | ||
COPY keras /data1/modelmesh-example-models/keras/ | ||
COPY fvt /data1/modelmesh-example-models/fvt/ |
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
Binary file not shown.
Empty file.
3 changes: 3 additions & 0 deletions
3
fvt/minio-examples-image/fvt/lightgbm/mushroom-dup/model-settings.json
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,3 @@ | ||
{ | ||
"implementation": "mlserver_lightgbm.LightGBMModel" | ||
} |
2,005 changes: 2,005 additions & 0 deletions
2,005
fvt/minio-examples-image/fvt/lightgbm/mushroom-dup/model.bst
Large diffs are not rendered by default.
Oops, something went wrong.
2,005 changes: 2,005 additions & 0 deletions
2,005
fvt/minio-examples-image/fvt/lightgbm/mushroom.bst
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
fvt/minio-examples-image/fvt/lightgbm/mushroom/model-settings.json
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,3 @@ | ||
{ | ||
"implementation": "mlserver_lightgbm.LightGBMModel" | ||
} |
2,005 changes: 2,005 additions & 0 deletions
2,005
fvt/minio-examples-image/fvt/lightgbm/mushroom/model.bst
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.26 MB
fvt/minio-examples-image/fvt/onnx/onnx-pytorch-converted/mnist_pytorch.tar.gz
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
fvt/minio-examples-image/fvt/onnx/onnx-test-model/config.pbtxt
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,23 @@ | ||
platform: "onnxruntime_onnx" | ||
max_batch_size: 32 | ||
input [ | ||
{ | ||
name: "input" | ||
data_type: TYPE_FP32 | ||
dims: [3, 224, 224] | ||
} | ||
] | ||
output [ | ||
{ | ||
name: "output" | ||
data_type: TYPE_FP32 | ||
dims: [3] | ||
label_filename: "test_labels.txt" | ||
} | ||
] | ||
instance_group [ | ||
{ | ||
kind: KIND_AUTO | ||
count: 1 | ||
} | ||
] |
3 changes: 3 additions & 0 deletions
3
fvt/minio-examples-image/fvt/onnx/onnx-test-model/test_labels.txt
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,3 @@ | ||
class1 | ||
class2 | ||
class3 |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
fvt/minio-examples-image/fvt/onnx/onnx-withschema-new/config.pbtxt
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,2 @@ | ||
backend: "onnxruntime" | ||
max_batch_size: 0 |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
fvt/minio-examples-image/fvt/onnx/onnx-withschema/config.pbtxt
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,2 @@ | ||
backend: "onnxruntime" | ||
max_batch_size: 0 |
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,12 @@ | ||
{ | ||
"inputs": [{ | ||
"name": "Input3", | ||
"datatype": "FP32", | ||
"shape": [1,1,28,28] | ||
}], | ||
"outputs": [{ | ||
"name": "Plus214_Output_0", | ||
"datatype": "FP32", | ||
"shape": [1,10] | ||
}] | ||
} |
Binary file not shown.
79 changes: 79 additions & 0 deletions
79
fvt/minio-examples-image/fvt/openvino/mnist-dup/mnist.mapping
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,79 @@ | ||
<?xml version="1.0"?> | ||
<mapping> | ||
<map> | ||
<framework name="Input3" output_port_id="Input3" /> | ||
<IR name="Input3" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Parameter5" output_port_id="Parameter5" /> | ||
<IR name="Parameter5" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Convolution28" output_port_id="Convolution28_Output_0" /> | ||
<IR name="Convolution28" output_port_id="2" /> | ||
</map> | ||
<map> | ||
<framework name="Parameter6" output_port_id="Parameter6" /> | ||
<IR name="Parameter6" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Plus30" output_port_id="Plus30_Output_0" /> | ||
<IR name="Plus30" output_port_id="2" /> | ||
</map> | ||
<map> | ||
<framework name="ReLU32" output_port_id="ReLU32_Output_0" /> | ||
<IR name="ReLU32" output_port_id="1" /> | ||
</map> | ||
<map> | ||
<framework name="Pooling66" output_port_id="Pooling66_Output_0" /> | ||
<IR name="Pooling66" output_port_id="1" /> | ||
</map> | ||
<map> | ||
<framework name="Parameter87" output_port_id="Parameter87" /> | ||
<IR name="Parameter87" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Convolution110" output_port_id="Convolution110_Output_0" /> | ||
<IR name="Convolution110" output_port_id="2" /> | ||
</map> | ||
<map> | ||
<framework name="Parameter88" output_port_id="Parameter88" /> | ||
<IR name="Parameter88" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Plus112" output_port_id="Plus112_Output_0" /> | ||
<IR name="Plus112" output_port_id="2" /> | ||
</map> | ||
<map> | ||
<framework name="ReLU114" output_port_id="ReLU114_Output_0" /> | ||
<IR name="ReLU114" output_port_id="1" /> | ||
</map> | ||
<map> | ||
<framework name="Pooling160" output_port_id="Pooling160_Output_0" /> | ||
<IR name="Pooling160" output_port_id="1" /> | ||
</map> | ||
<map> | ||
<framework name="Pooling160_Output_0_reshape0_shape" output_port_id="Pooling160_Output_0_reshape0_shape" /> | ||
<IR name="Pooling160_Output_0_reshape0_shape" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Times212_reshape0" output_port_id="Pooling160_Output_0_reshape0" /> | ||
<IR name="Times212_reshape0" output_port_id="2" /> | ||
</map> | ||
<map> | ||
<framework name="Times212_reshape1" output_port_id="Parameter193_reshape1" /> | ||
<IR name="Times212_reshape1" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Times212" output_port_id="Times212_Output_0" /> | ||
<IR name="Times212" output_port_id="2" /> | ||
</map> | ||
<map> | ||
<framework name="Parameter194" output_port_id="Parameter194" /> | ||
<IR name="Parameter194" output_port_id="0" /> | ||
</map> | ||
<map> | ||
<framework name="Plus214_Output_0" output_port_id="Plus214_Output_0" /> | ||
<IR name="Plus214_Output_0" output_port_id="2" /> | ||
</map> | ||
</mapping> |
Oops, something went wrong.