Skip to content

Commit

Permalink
Remove a test case that sanity checks input value of --shape CLI flag (
Browse files Browse the repository at this point in the history
…#6140)

* Remove test checking for --shape option

* Remove the entire test
  • Loading branch information
nv-hwoo authored Aug 10, 2023
1 parent 2265bb6 commit 4a8b716
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions qa/L0_perf_analyzer/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,6 @@ if [ $(cat $CLIENT_LOG | grep "input INPUT0 contains dynamic shape, provide sha
RET=1
fi

$PERF_ANALYZER -v -i $PROTOCOL -m graphdef_object_object_object -p2000 --shape INPUT0 -s ${STABILITY_THRESHOLD} >$CLIENT_LOG 2>&1
if [ $? -eq 0 ]; then
cat $CLIENT_LOG
echo -e "\n***\n*** Test Failed: Expected an error when using dynamic shapes with incorrect arguments\n***"
RET=1
fi
if [ $(cat $CLIENT_LOG | grep "failed to parse input shape. There must be a colon after input name." | wc -l) -eq 0 ]; then
cat $CLIENT_LOG
echo -e "\n***\n*** Test Failed: \n***"
RET=1
fi

# Testing with ensemble and sequential model variants
$PERF_ANALYZER -v -i grpc -m simple_savedmodel_sequence_object -p 2000 -t5 --streaming \
--input-data=$SEQ_JSONDATAFILE --input-data=$SEQ_JSONDATAFILE -s ${STABILITY_THRESHOLD} >$CLIENT_LOG 2>&1
Expand Down

0 comments on commit 4a8b716

Please sign in to comment.