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

Bug: broken sycl builds with IntelOneAPI #8665

Closed
mudler opened this issue Jul 24, 2024 · 1 comment
Closed

Bug: broken sycl builds with IntelOneAPI #8665

mudler opened this issue Jul 24, 2024 · 1 comment

Comments

@mudler
Copy link
Contributor

mudler commented Jul 24, 2024

Since #8644 it looks like is not possible to build anymore the rpc-server example with sycl enabled and Intel OneAPI:

#45 1217.2 gmake[6]: Entering directory '/build/backend/cpp/llama-grpc/llama.cpp/build'                                                                                                                                                       
#45 1217.2 [ 92%] Building CXX object examples/rpc/CMakeFiles/rpc-server.dir/rpc-server.cpp.o                                                                                                                                                 
#45 1217.5 [100%] Linking CXX executable ../../bin/rpc-server                                                                                                                                                                                 
#45 1217.7 /usr/bin/ld: ../../ggml/src/libggml.a(ggml-sycl.cpp.o): undefined reference to symbol '_ZN4sycl3_V15queue6memcpyEPvPKvmRKNS0_6detail13code_locationE'                                                                              
#45 1217.7 /usr/bin/ld: /opt/intel/oneapi/compiler/2024.2/lib/libsycl.so.7: error adding symbols: DSO missing from command line                                                                                                               
#45 1217.7 icpx: error: linker command failed with exit code 1 (use -v to see invocation)    

Originally posted by @mudler in #8644 (comment)

For more context, also: mudler/LocalAI#2997 mudler/LocalAI#2995

@joeatodd
Copy link
Contributor

Fixed by #8667

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