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
Trying to compile for hipblas/ROCm with cmake
causes ggml.h not found
error
#2055
Comments
Manually editing the generated
Makes it build again, but then I get:
|
The first bug (where After installing the dependencies (
And it fails with the |
cmake
causes ggml.h not found
error
Okay, it builds now. There's an issue, however, with running the (
|
It seems that using the |
I have the latest commit at time of writing (8f253ef), and am trying to use cmake to compile it instead of make, because I'm trying to debug an issue with building Rust bindings for it (which uses cmake).
I've been able to reproduce the issue with cmake only, so I believe it's not related to what I'm trying to do, but rather an issue in how this project builds itself.
System info:
The reproduction process is as follows:
mkdir build && cd build
cmake -GNinja -DWHISPER_HIPBLAS=on -DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ ..
ninja
And the output that produces on my machine:
Setting
DAMDGPU_TARGETS=gfx1100
produces the same error, so I doubt it's related.Edit: I'll also add that building with
make WHISPER_HIPBLAS=1
doesn't cause any errors.The text was updated successfully, but these errors were encountered: