mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 19:09:45 +00:00
test automatic vk shader rebuilding
This commit is contained in:
parent
e75539e8cb
commit
2c9ade61fe
9 changed files with 34 additions and 4 deletions
|
@ -25,6 +25,12 @@ if [ -n "$NOAVX2" ]; then
|
|||
LLAMA_NOAVX2_FLAG="LLAMA_NOAVX2=1"
|
||||
fi
|
||||
|
||||
if [ -n "$REBUILD_VK_SHADERS" ]; then
|
||||
echo "Rebuilding Vulkan Shaders..."
|
||||
bin/micromamba run -r conda -p conda/envs/linux make vulkan-shaders-gen -j$(nproc) LLAMA_ADD_CONDA_PATHS=1
|
||||
echo "Vulkan Shaders Rebuilt."
|
||||
fi
|
||||
|
||||
bin/micromamba run -r conda -p conda/envs/linux make -j$(nproc) LLAMA_VULKAN=1 LLAMA_CLBLAST=1 LLAMA_CUBLAS=1 LLAMA_PORTABLE=1 LLAMA_ADD_CONDA_PATHS=1 $LLAMA_NOAVX2_FLAG
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: make failed."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue