启用集成显卡很有帮助,可以设置168960KV
.\hermeswork\llama.cpp\build\bin\Release\llama-server.exe -m D:\hermeswork\models\Qwen3.6-27B-uncensored-heretic-v2-Native-MTP-Preserved.i1-IQ4_XS.gguf `
-c 168960`
-ngl 99 `
-t 24 `
-tb 24 `
-b 2048 `
-ub 256 `
-np 1 `
--temp 0.15 `
--top-p 0.9 `
--top-k 40 `
--min-p 0.05 `
--presence-penalty 1.0 `
--repeat-penalty 1.05 `
--flash-attn on `
-ctk q4_0 `
-ctv q4_0 `
--reasoning off `
--kv-offload `
--spec-type draft-mtp `
--spec-draft-n-max 2 `
--checkpoint-every-n-tokens 16384 `
--ctx-checkpoints 64 `
--cache-reuse 4096 `
--no-context-shift `
--cache-ram 24576 `
--host 0.0.0.0 `
--port 11434 `
--mmap `
--mlock `