Repository: mlcommons/inference
Issue: RNNT  setup fails with mlperf_loadgen import error:  ImportError:  mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Root cause: External Dependency Breakage

When just setting up the RNNT benchmark using the run.sh with the stage set to -1. It fails with python import error of the mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
This is the directory for the egg.
(base) root@vm8:~/inference/speech_recognition/rnnt# ls -ltr /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg
total 1700
drwxr-xr-x 2 root root    4096 Apr 18 01:55 __pycache__
-rw-r--r-- 1 root root     319 Apr 18 01:55 mlperf_loadgen.py
-rwxr-xr-x 1 root root 1726328 Apr 18 01:55 mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so
drwxr-xr-x 2 root root    4096 Apr 18 01:55 EGG-INFO

Any suggestions?

This all the errors:
Traceback (most recent call last):
  File "run.py", line 17, in <module>
    import mlperf_loadgen as lg
ImportError: /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Traceback (most recent call last):
  File "run.py", line 17, in <module>
Traceback (most recent call last):
  File "run.py", line 17, in <module>
    import mlperf_loadgen as lg
ImportError: /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
    import mlperf_loadgen as lg
ImportError: /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Traceback (most recent call last):
  File "run.py", line 17, in <module>
    import mlperf_loadgen as lg
ImportError: /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Traceback (most recent call last):
  File "run.py", line 17, in <module>
    import mlperf_loadgen as lg
ImportError: /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Traceback (most recent call last):
  File "run.py", line 17, in <module>
    import mlperf_loadgen as lg
ImportError: /root/miniconda3/envs/mlperf-rnnt/lib/python3.6/site-packages/mlperf_loadgen-4.0-py3.6-linux-x86_64.egg/mlperf_loadgen.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv


rnnt is now removed from MLPerf inference. Are you trying to reproduce any specific submission?

No just trying to get the rnnt workload to run.