Skip to content

Commit 2f9142d

Browse files
committed
Upgrade protobuf version
1 parent 39ebf82 commit 2f9142d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qa/common/gen_qa_model_repository

+4
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ nvidia-smi -L || true
386386
nvidia-smi || true
387387
set -e
388388
set -x
389+
# Segmentation fault with protobuf 4.24.0 (https://github.com/tensorflow/tensorflow/issues/61551)
390+
# Upgrade protobuf version to fix the issue.
391+
pip3 install "protobuf>4.24.0"
392+
389393
python3 $SRCDIR/gen_qa_models.py --graphdef --savedmodel --models_dir=$DESTDIR
390394
chmod -R 777 $DESTDIR
391395
python3 $SRCDIR/gen_qa_models.py --graphdef --savedmodel --variable --models_dir=$VARDESTDIR

0 commit comments

Comments
 (0)