LLM evaluator based on Vulkan
This project is mostly based on Georgi Gerganov's llama.cpp. It supports both using prebuilt SpirV shaders and building them at runtime. The latter option is disabled by default as it requires extra libraries and does not produce faster shaders.
Vulkan 1.2 is used and no extension is required.
- Tokenizer
- GGML parsing and mapping for q4_0, q8_0 models
- Evaluation of 7B models and 13B models
- Threading (for server mode) uses mutex and may deadlock
- Too many asserts can fire
Building prebuilt shaders:
./prebuild_shaders.pymkdir build && cd build
cmake .. && make -j
cd .. && ./build/vulkan_llama --help- AMD Ryzen 7 6800U with Radeon Graphics (AMD Radeon 680M)
- AMD Radeon RX 6900 XT