Image-Text-to-Text
Transformers
GGUF
llama.cpp
vision
multimodal
text-generation-inference
unsloth
conversational
qwen3_6
reasoning
chain-of-thought
lora
sft
agent
tool-use
function-calling
coder

需要llama.cpp的编译方法和启动参数

#7
by traddo - opened

Model Card中洋洋洒洒写一大堆,就不写怎么编译,怎么启动是吧 ?

jackrong做了很多模型,但是量化的q5基本都有输出突然中断的问题,这个也不例外。你需要不停的提示“continue”,才能勉强继续。还是感谢他的尝试。

This Model Card is just a model manual. The rest falls under llama.cpp's scope. The author already provided the context tuning parameters in the card, so you can find the general compilation and usage guide anywhere (e.g., on their GitHub).

git pull https://github.com/TheTom/llama-cpp-turboquant.git
cd  llama-cpp-turboquant

#RTX3090 CPU :i9-9900
rm -rf build

export CC="ccache gcc"
export CXX="ccache g++"

cmake -B build \
  -DGGML_CUDA=ON \
  -DCMAKE_CUDA_ARCHITECTURES=86 \
  -DCMAKE_BUILD_TYPE=Release \
  -DGGML_NATIVE=ON \
  -DGGML_LTO=ON \
  -DBUILD_SHARED_LIBS=OFF

cmake --build build --config Release -j$(($(nproc) - 1))

/home/hyzx86/ai/TheTom/llama-cpp-turboquant/build/bin/llama-server
-m /home/hyzx86/ai/models/Jackrong/Qwopus3.6-27B-Coder-MTP-GGUF/Qwopus3.6-27B-Coder-MTP-Q5_K_M.gguf
--mmproj /home/hyzx86/ai/models/Jackrong/Qwopus3.6-27B-Coder-MTP-GGUF/mmproj-F32.gguf
-a "Qwopus3.6-27B-Coder-text"
--host 0.0.0.0 --port 8088
-t 8 --parallel 1 -fa on -ngl 999 --jinja
--spec-type draft-mtp --spec-draft-n-max 2
--temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0
--reasoning on
--chat-template-kwargs '{"preserve_thinking":true}'
--cache-type-k q8_0 --cache-type-v turbo3
-b 256-c 122000

https://github.com/BoFan-tunning/llama.cpp-MTP-TurboQuant
You can use this project to run mtp with TurboQuan。

Sign up or log in to comment