Skip to content

Commit

Permalink
Redirect test results CI fixes (follow up on triton-inference-server#…
Browse files Browse the repository at this point in the history
…3071) (triton-inference-server#3082)

* Redirect test results to another file

* CI
  • Loading branch information
Tabrizian authored Jul 2, 2021
1 parent 89cf7be commit ff501a9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions qa/L0_backend_python/lifecycle/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
CLIENT_PY=./lifecycle_test.py
CLIENT_LOG="./client.log"
EXPECTED_NUM_TESTS="2"
TEST_RESULT_FILE='test_results.txt'
source ../common.sh
source ../../common/util.sh

Expand Down
1 change: 1 addition & 0 deletions qa/L0_io/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ for trial in graphdef savedmodel onnx libtorch plan python; do
echo "max_batch_size: 64" >> config.pbtxt)
continue
fi

mkdir -p $MODELSDIR/${full}/1 && \
cp -r $DATADIR/${full}/1/* $MODELSDIR/${full}/1/. && \
cp $DATADIR/${full}/config.pbtxt $MODELSDIR/${full}/. && \
Expand Down
1 change: 1 addition & 0 deletions qa/L0_storage_S3/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export CUDA_VISIBLE_DEVICES=0
CLIENT_LOG_BASE="./client"
INFER_TEST=infer_test.py
EXPECTED_NUM_TESTS="3"
TEST_RESULT_FILE='test_results.txt'

# S3 credentials are necessary for this test. Pass via ENV variables
aws configure set default.region $AWS_DEFAULT_REGION && \
Expand Down
3 changes: 0 additions & 3 deletions qa/python_models/add_sub/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import numpy as np
import sys
import json

sys.path.append('../../')
import triton_python_backend_utils as pb_utils


Expand Down Expand Up @@ -56,7 +54,6 @@ def execute(self, requests):

responses = []
for request in requests:
input_tensors = request.inputs()
in_0 = pb_utils.get_input_tensor_by_name(request, "INPUT0")
in_1 = pb_utils.get_input_tensor_by_name(request, "INPUT1")
if in_0.as_numpy().dtype.type is np.bytes_ or in_0.as_numpy(
Expand Down

0 comments on commit ff501a9

Please sign in to comment.