diff --git a/scripts/bert/setup.py b/scripts/bert/setup.py index 0ba33a85e6..04b285bc8d 100644 --- a/scripts/bert/setup.py +++ b/scripts/bert/setup.py @@ -30,9 +30,6 @@ def CompileBERTCustomPass(): lib_api_cc = os.path.join(pass_path, 'lib_api.cc') if (mxnet.__version__ > '1.7.0'): source = source + ' ' + str(lib_api_cc) - # print('MXNET ver: ', mxnet.__version__, 'source:', source, 'mxnet_include_path', - # mxnet_include_path) - # print('lib_api_cc Exist:' + str(os.path.exists(str(lib_api_cc)))) os.system('g++ -shared -fPIC -std=c++11 ' + str(source) + ' -o ' + str(target) + ' -I ' + str(mxnet_include_path))