Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuda build error #944

Open
hyaihjq opened this issue Jun 3, 2024 · 1 comment
Open

cuda build error #944

hyaihjq opened this issue Jun 3, 2024 · 1 comment

Comments

@hyaihjq
Copy link

hyaihjq commented Jun 3, 2024

/usr/bin/ld: /home/dentafilm/hongyang/workspace/openppl_code/ppl.nn/pplnn-build/install/lib/libpplnn_cuda_static.a(cuda_device.cc.o): in function ppl::nn::cuda::CudaDevice::Init(int, ppl::common::NcclParam*, bool)': cuda_device.cc:(.text._ZN3ppl2nn4cuda10CudaDevice4InitEiPNS_6common9NcclParamEb+0x215): undefined reference to cublasLtCreate'
/usr/bin/ld: /home/dentafilm/hongyang/workspace/openppl_code/ppl.nn/pplnn-build/install/lib/libpplnn_cuda_static.a(cuda_device.cc.o): in function ppl::nn::cuda::CudaDevice::~CudaDevice()': cuda_device.cc:(.text._ZN3ppl2nn4cuda10CudaDeviceD2Ev+0x38): undefined reference to cublasLtDestroy'
/usr/bin/ld: /home/dentafilm/hongyang/workspace/openppl_code/ppl.nn/pplnn-build/install/lib/libpplnn_cuda_static.a(cuda_device.cc.o): in function ppl::nn::cuda::CudaDevice::~CudaDevice()': cuda_device.cc:(.text._ZN3ppl2nn4cuda10CudaDeviceD0Ev+0x36): undefined reference to cublasLtDestroy'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/yolov8ClsInfer.dir/build.make:173: yolov8ClsInfer] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/yolov8ClsInfer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

@Puppas
Copy link

Puppas commented Jul 26, 2024

cublasLt 没有引入,cmake中要链接cublasLt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants