Skip to content

Commit

Permalink
Added FIL model GRPC protocol test on triton for Kserve (red-hat-data…
Browse files Browse the repository at this point in the history
  • Loading branch information
rpancham authored Dec 4, 2024
1 parent 4c346dd commit d273f6f
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"test1","model_name":"fil","model_version":"1","inputs":[{"name":"input__0","datatype":"FP32","shape":[1,393]}],"raw_input_contents":["/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAJQBBQMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAEAAIDBQYBBwj/xABHEAACAQMDAQYCBwYDBQYHAAABAgMABBEFEiExBhMiQVFhcYEHFDKRobHBFSNSYtHwQoLhFjNyktIkU2OisvElRHODk8LD/8QAGgEAAgMBAQAAAAAAAAAAAAAAAAIBAwQFBv/EAC0RAAIBBAECBQMDBQAAAAAAAAABAgMEERIhMUEFExQiUTJSYXGBoUJDU2KR/9oADAMBAAIRAxEAPwCoke1Vf98YI3yXbgs3n0+FWWm6c0DIMy7ZFBTvz9jP/pHTgVValfWFtLBGxFz3YP1eUDJHPRgego0X/ddnomR0ViRGFJGVyevxA9eleblGWqS7m+L9z+R19LLNMPrdz3duyHmIBi2c/fzUAmtHuxDDqAULgxo52F24wDnoPP1qr1bUY7qCCz0t3kC58ssxHv8AAZozSdPtL5kvbi37oQDDoW4JAJ6efkflTaKMcyKmtp4iFz93HiMRLM58TBc/azgrjz61W3d1ZnUGjaBG75QsuwnKYBwOPh+FFapqEVmqLbSxySPLnbGB+7B8hjpxnzqru7OdLk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QiVCDgr7jOazmpdjNOv2aVu8jcnkrjH3YrTopGDTm58qAMI30c2ZJxdSD/Itcb6ObUDw3c3/KtbsL7U8KMZ8qMsMI82l+jqYf7m+jK/zRkfrQzfR1qBbC3VqfizD9K9RCjJ9PKm7AW4qdmGEeVN9H2qgkB7Rsf+Iw/wD1ph+j7Vh5WxPtKf6V64oxkEDrXDgtgDoaNmRhHkB7Aaz/ANzB8pRTP9gtZH/y8Z/+8texlfbNc2gYyKndhhHj3+wOteUEK/GUV0fR/q46pb//AJf9K9gwCcYFd24PSjdhqeMv2F1hTxbBx/LIv60l7B60TkWpX4yKP1r2VgBy3SkAD0xUbMNTyFewOu46W6j0aQfpUi/RrrTN4p7JAf5mP5CvWyAUOR0NcOMA5IFGzJ1PMoPozvsfvdWhTP8ABAW/Mij7b6M7dD+/1K4cfyRqv9a3/AXmlwDj8aNmGEZa37C6RDt3ieTHq/8ATFWMPZrSYMEWSHH8QzVvSOf4qMthhA8VpBEP3MKR49EAzUmzPJp/iI61wgj0NQSM2qPPmujBPPFO8J8sUnGACKCBZA4xzSGM48q6OeTTlTIJ44oAaeabg5wOlP4AHOc+VdwBUgRsu48UqYd4JxSoAYKevWlSoAkxlT8KapLNg+QpUqAHKvh6mugYpUqgBFiD99dbhdvUe9KlQAlpf4qVKgkaxwwp54KnPUClSoIHkkcDoKY55FKlQA1+GGK7ExIOaVKoJE5wK6DlDSpUAdPp7UxueD0rlKpATE7fnTvUetKlQQMBp1KlQA6kelKlQAwdaegyxB9KVKgCNuGNdLEMgHnXKVSB2NiVc8Z3YrrcilSoAbnFKlSqAP/Z"]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"outputs":[{"shape":["1","2"],"parameters":{},"name":"output__0","datatype":"FP32","contents":null}],"raw_output_contents":["JmB8P4b2Zzw="],"parameters":{},"model_name":"fil","model_version":"1","id":"test1"}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ spec:
name: triton
priority: 1
version: "2"
- autoSelect: true
name: xgboost
version: "1"
- autoSelect: true
name: python
version: "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ ${KERAS_RUNTIME_NAME}= triton-keras-rest
${KERAS_RUNTIME_FILEPATH}= ${RESOURCES_DIRPATH}/triton_keras_rest_servingruntime.yaml
${INFERENCE_REST_INPUT_KERAS}= @tests/Resources/Files/triton/kserve-triton-keras-rest-input.json
${EXPECTED_INFERENCE_REST_OUTPUT_FILE_KERAS}= tests/Resources/Files/triton/kserve-triton-keras-rest-output.json
${INFERENCE_GRPC_INPUT_FIL}= tests/Resources/Files/triton/kserve-triton-fil-grpc-input.json
${EXPECTED_INFERENCE_GRPC_OUTPUT_FILE_FIL}= tests/Resources/Files/triton/kserve-triton-fil-grpc-output.json
${FIL_MODEL_NAME}= xgboost
${KERAS_RUNTIME_NAME_GRPC}= triton-keras-grpc
${KERAS_GRPC_RUNTIME_FILEPATH}= ${RESOURCES_DIRPATH}/triton_keras_gRPC_servingruntime.yaml
${INFERENCE_GRPC_INPUT_KERAS}= tests/Resources/Files/triton/kserve-triton-keras-gRPC-input.json
Expand Down Expand Up @@ -401,6 +404,50 @@ Test FIL Model Rest Inference Via UI (Triton on Kserve) # robocop: off=too-lo
... Clean All Models Of Current User
... AND
... Delete Serving Runtime Template From CLI displayed_name=triton-kserve-rest

Test FIL Model Grpc Inference Via UI (Triton on Kserve) # robocop: off=too-long-test-case
[Documentation] Test the deployment of an fil model in Kserve using Triton
[Tags] Sanity RHOAIENG-15823
Open Data Science Projects Home Page
Create Data Science Project title=${PRJ_TITLE} description=${PRJ_DESCRIPTION}
... existing_project=${FALSE}
Open Dashboard Settings settings_page=Serving runtimes
Upload Serving Runtime Template runtime_filepath=${ONNX_GRPC_RUNTIME_FILEPATH}
... serving_platform=single runtime_protocol=gRPC
Serving Runtime Template Should Be Listed displayed_name=${ONNX_GRPC_RUNTIME_NAME}
... serving_platform=single
Recreate S3 Data Connection project_title=${PRJ_TITLE} dc_name=model-serving-connection
... aws_access_key=${S3.AWS_ACCESS_KEY_ID} aws_secret_access=${S3.AWS_SECRET_ACCESS_KEY}
... aws_bucket_name=ods-ci-s3oject_title=${PRJ_TITLE}
Deploy Kserve Model Via UI model_name=${FIL_MODEL_NAME} serving_runtime=triton-kserve-grpc
... data_connection=model-serving-connection path=triton/model_repository/ model_framework=xgboost - 1
... token=${TRUE}
Wait For Pods To Be Ready label_selector=serving.kserve.io/inferenceservice=${FIL_MODEL_NAME}
... namespace=${PRJ_TITLE}
${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL}= Load Json File file_path=${EXPECTED_INFERENCE_GRPC_OUTPUT_FILE_FIL}
... as_string=${TRUE}
${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL}= Load Json String ${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL}
${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL}= Evaluate json.dumps(${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL})
Log ${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL}
Open Model Serving Home Page
${host_url}= Get Model Route Via UI model_name=${FIL_MODEL_NAME}
${host}= Evaluate re.search(r"${PATTERN}", r"${host_url}").group(1) re
Log ${host}
${token}= Get Access Token Via UI single_model=${TRUE} model_name=fil project_name=${PRJ_TITLE}
${inference_output}= Query Model With GRPCURL host=${host} port=443
... endpoint=inference.GRPCInferenceService/ModelInfer
... json_body=@ input_filepath=${INFERENCE_GRPC_INPUT_FIL}
... insecure=${True} protobuf_file=${PROTOBUFF_FILE} json_header="Authorization: Bearer ${token}"
Log ${inference_output}
${inference_output}= Evaluate json.dumps(${inference_output})
Log ${inference_output}
${result} ${list}= Inference Comparison ${EXPECTED_INFERENCE_GRPC_OUTPUT_FIL} ${inference_output}
[Teardown] Run Keywords Get Kserve Events And Logs model_name=${FIL_MODEL_NAME}
... project_title=${PRJ_TITLE}
... AND
... Clean All Models Of Current User
... AND
... Delete Serving Runtime Template From CLI displayed_name=triton-kserve-grpc

*** Keywords ***
Triton On Kserve Suite Setup
Expand Down

0 comments on commit d273f6f

Please sign in to comment.