-
Notifications
You must be signed in to change notification settings - Fork 137
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
Unable to compile for ROCM on Ubuntu 22.04 #134
Comments
the below command worked well! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the command
$ CC="/opt/rocm/llvm/bin/clang" CXX="/opt/rocm/llvm/bin/clang++" CT_HIPBLAS=1 pip install ctransformers --no-binary ctransformers
I am unable to compile ctransformers for ROCM. I've tried with ROCM 5.5.3 as well as 5.6.1, and for ctransformers versions 0.2.26 and 0.2.27.Each time I get an error:
/models/ggml/ggml-cuda-ggllm.h:15:37: error: array has incomplete element type 'struct cudaDeviceProp'
Full error (2799 lines...) attached.
Am I doing something wrong or missing some dependencies? I've tried without the CC and CXX variables set, but that fails even earlier as it tries to compile with the standard gcc utilities.
ctransformers-error.txt
The text was updated successfully, but these errors were encountered: