-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
refactor: Organize vendor-specific headers into vendors directory #8746
Conversation
Signed-off-by: Xiaodong Ye <[email protected]>
…anov#8746) Signed-off-by: Xiaodong Ye <[email protected]>
Hello, I used the make GGML_MUSA=1 command to compile and got an error: I ccache found, compilation results will be cached. Disable with GGML_NO_CCACHE. /usr/bin/ccache mcc -std=c++11 -O3 -g -x musa -mtgpu --cuda-gpu-arch=mp_22 -arch=native -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DK_QUANTS_PER_ITERATION=2 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -Iggml/include -Iggml/src -Iinclude -Isrc -Icommon -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DNDEBUG -DGGML_USE_MUSA -DGGML_USE_OPENMP -I/usr/lib/llvm-10/include/openmp -DGGML_USE_LLAMAFILE -DGGML_USE_CUDA -I/usr/local/musa/include -c ggml/src/ggml-cuda/mmvq.cu -o ggml/src/ggml-cuda/mmvq.o What is the reason? |
Which version of MUSA Toolkits are you using? |
好的,已加您微信 |
As @slaren suggested in #8383, it is beneficial to organize vendor-specific headers separately. This PR creates a new
vendors
directory and addscuda.h
,hip.h
, andmusa.h
for the three supported vendors.Testing done
make GGML_MUSA=1
-> passed