Skip to content

Commit

Permalink
Remove TRT model generation for V100
Browse files Browse the repository at this point in the history
  • Loading branch information
pvijayakrish committed Oct 16, 2024
1 parent 49f986d commit 6835fe7
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions qa/common/gen_qa_model_repository
Original file line number Diff line number Diff line change
Expand Up @@ -524,28 +524,28 @@ if [ $? -ne 0 ]; then
echo -e "Failed: chmod"
exit 1
fi

docker pull $TENSORRT_IMAGE
docker run $DOCKER_GPU_ARGS --rm --entrypoint $SRCDIR/$TRTSCRIPT \
--mount type=bind,source=$HOST_SRCDIR,target=$SRCDIR \
--mount type=bind,source=$HOST_DESTDIR,target=$DESTDIR \
--mount type=bind,source=$HOST_VARDESTDIR,target=$VARDESTDIR \
--mount type=bind,source=$HOST_IDENTITYDESTDIR,target=$IDENTITYDESTDIR \
--mount type=bind,source=$HOST_IDENTITYBIGDESTDIR,target=$IDENTITYBIGDESTDIR \
--mount type=bind,source=$HOST_SHAPEDESTDIR,target=$SHAPEDESTDIR \
--mount type=bind,source=$HOST_RESHAPEDESTDIR,target=$RESHAPEDESTDIR \
--mount type=bind,source=$HOST_SEQDESTDIR,target=$SEQDESTDIR \
--mount type=bind,source=$HOST_DYNASEQDESTDIR,target=$DYNASEQDESTDIR \
--mount type=bind,source=$HOST_VARSEQDESTDIR,target=$VARSEQDESTDIR \
--mount type=bind,source=$HOST_PLGDESTDIR,target=$PLGDESTDIR \
--mount type=bind,source=$HOST_RAGGEDDESTDIR,target=$RAGGEDDESTDIR \
--mount type=bind,source=$HOST_FORMATDESTDIR,target=$FORMATDESTDIR \
--mount type=bind,source=$HOST_DATADEPENDENTDIR,target=$DATADEPENDENTDIR \
--mount type=bind,source=$HOST_VARIMPLICITSEQDESTDIR,target=$VARIMPLICITSEQDESTDIR \
--mount type=bind,source=$HOST_DYNASEQIMPLICITDESTDIR,target=$DYNASEQIMPLICITDESTDIR \
--mount type=bind,source=$HOST_IMPLICITSEQDESTDIR,target=$IMPLICITSEQDESTDIR \
$TENSORRT_IMAGE

if [ -z "$MODEL_TYPE" ] || [ "$MODEL_TYPE" != "V100" ]; then
docker pull $TENSORRT_IMAGE
docker run $DOCKER_GPU_ARGS --rm --entrypoint $SRCDIR/$TRTSCRIPT \
--mount type=bind,source=$HOST_SRCDIR,target=$SRCDIR \
--mount type=bind,source=$HOST_DESTDIR,target=$DESTDIR \
--mount type=bind,source=$HOST_VARDESTDIR,target=$VARDESTDIR \
--mount type=bind,source=$HOST_IDENTITYDESTDIR,target=$IDENTITYDESTDIR \
--mount type=bind,source=$HOST_IDENTITYBIGDESTDIR,target=$IDENTITYBIGDESTDIR \
--mount type=bind,source=$HOST_SHAPEDESTDIR,target=$SHAPEDESTDIR \
--mount type=bind,source=$HOST_RESHAPEDESTDIR,target=$RESHAPEDESTDIR \
--mount type=bind,source=$HOST_SEQDESTDIR,target=$SEQDESTDIR \
--mount type=bind,source=$HOST_DYNASEQDESTDIR,target=$DYNASEQDESTDIR \
--mount type=bind,source=$HOST_VARSEQDESTDIR,target=$VARSEQDESTDIR \
--mount type=bind,source=$HOST_PLGDESTDIR,target=$PLGDESTDIR \
--mount type=bind,source=$HOST_RAGGEDDESTDIR,target=$RAGGEDDESTDIR \
--mount type=bind,source=$HOST_FORMATDESTDIR,target=$FORMATDESTDIR \
--mount type=bind,source=$HOST_DATADEPENDENTDIR,target=$DATADEPENDENTDIR \
--mount type=bind,source=$HOST_VARIMPLICITSEQDESTDIR,target=$VARIMPLICITSEQDESTDIR \
--mount type=bind,source=$HOST_DYNASEQIMPLICITDESTDIR,target=$DYNASEQIMPLICITDESTDIR \
--mount type=bind,source=$HOST_IMPLICITSEQDESTDIR,target=$IMPLICITSEQDESTDIR \
$TENSORRT_IMAGE
fi
if [ $? -ne 0 ]; then
echo -e "Failed"
exit 1
Expand Down

0 comments on commit 6835fe7

Please sign in to comment.