Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a test case that sanity checks input value of --shape CLI flag #6140

Merged
merged 2 commits into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
nv-hwoo marked this conversation as resolved.
Show resolved Hide resolved
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
Loading