Skip to content

Commit

Permalink
Remove OpenVINO from mem leak whitelist (#4897)
Browse files Browse the repository at this point in the history
* Fix indentation

* Remove OpenVINO from mem leak whitelist
  • Loading branch information
kthui authored Sep 20, 2022
1 parent c8e1384 commit 7936f06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions qa/L0_client_memory_growth/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ for PROTOCOL in http grpc; do
else
python3 ../common/check_valgrind_log.py -f $LEAKCHECK_LOG
if [ $? -ne 0 ]; then
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
fi

set +e
Expand Down
4 changes: 2 additions & 2 deletions qa/L0_client_valgrind/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ for PROTOCOL in http grpc; do
else
python3 ../common/check_valgrind_log.py -f $LEAKCHECK_LOG
if [ $? -ne 0 ]; then
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
echo -e "\n***\n*** Memory leak detected\n***"
RET=1
fi
fi
done
Expand Down
6 changes: 1 addition & 5 deletions qa/common/check_valgrind_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,10 @@
# -> tensorflow::LibHDFS::LoadAndBind()::{lambda(char const*, void**)#1}::operator()(char const*, void**)
# -> tensorflow::internal::LoadLibrary
# -> dlerror
# * InferenceEngine::getAvailableCoresTypes() leak in OpenVINO could be due to
# https://github.com/openvinotoolkit/openvino/issues/6593. Should be fixed
# after version 2021.4(https://github.com/openvinotoolkit/openvino/issues/6593#issuecomment-878093502).
# Remove this after migrating to OpenVINO to 2022.1: DLIS-4055

LEAK_WHITE_LIST = [
'cnmem', 'tensorflow::NewSession', 'dl-init', 'dl-open', 'dlerror',
'libtorch', 'InferenceEngine::getAvailableCoresTypes()'
'libtorch'
]


Expand Down

0 comments on commit 7936f06

Please sign in to comment.