got undefined symbol error

#4
by Muke88 - opened

i got this error during run the demo.py.
ImportError: /workspace/lyraChatGLM/faster_chat_glm/glm.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

my envirionment :
GPU Nvidia A100-40gb
torch 2.0.1
torchvision 0.15.2
ii libnvinfer-bin 8.6.0.12-1+cuda12.0 amd64 TensorRT binaries
ii libnvinfer-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT development libraries
ii libnvinfer-dispatch-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT development dispatch runtime libraries
ii libnvinfer-dispatch8 8.6.0.12-1+cuda12.0 amd64 TensorRT dispatch runtime library
ii libnvinfer-headers-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT development headers
ii libnvinfer-headers-plugin-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT plugin headers
ii libnvinfer-lean-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT lean runtime libraries
ii libnvinfer-lean8 8.6.0.12-1+cuda12.0 amd64 TensorRT lean runtime library
ii libnvinfer-plugin-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT plugin libraries
ii libnvinfer-plugin8 8.6.0.12-1+cuda12.0 amd64 TensorRT plugin libraries
ii libnvinfer-samples 8.6.0.12-1+cuda12.0 all TensorRT samples
ii libnvinfer-vc-plugin-dev 8.6.0.12-1+cuda12.0 amd64 TensorRT vc-plugin library
ii libnvinfer-vc-plugin8 8.6.0.12-1+cuda12.0 amd64 TensorRT vc-plugin library
ii libnvinfer8 8.6.0.12-1+cuda12.0 amd64 TensorRT runtime libraries
ii python3-libnvinfer 8.6.0.12-1+cuda12.0 amd64 Python 3 bindings for TensorRT standard runtime
ii python3-libnvinfer-dev 8.6.0.12-1+cuda12.0 amd64 Python 3 development package for TensorRT standard runtime
ii python3-libnvinfer-dispatch 8.6.0.12-1+cuda12.0 amd64 Python 3 bindings for TensorRT dispatch runtime
ii python3-libnvinfer-lean 8.6.0.12-1+cuda12.0 amd64 Python 3 bindings for TensorRT lean runtime

use nvcr.io/nvidia/pytorch:23.04-py3 images is ok to this issue.

Muke88 changed discussion status to closed
Tencent Music Entertainment Lyra Lab org

Thanks for the issue, we are working on the readme to make it clearer.

Sign up or log in to comment