Views
No views yet
llama.cpp, specifically tuned for maximum performance, minimal memory footprint, and high-quality generation on budget hardware:1llama-server.exe ^
2 -m "D:\LLMs\Qwen3.5-4B-MTP-Uncensored\model.gguf" ^
3 --mmproj "D:\LLMs\Qwen3.5-4B-MTP-Uncensored\mmproj.gguf" ^
4 --seed -1 ^
5 -np 1 ^
6 --image-min-tokens 4096 ^
7 --image-max-tokens 4096 ^
8 -t 6 --threads-batch 6 ^
9 -Cr 0-5 --cpu-strict 1 ^
10 --prio 2 --poll 100 ^
11 -b 4224 -ub 2048 --mtmd-batch-max-tokens 2048 ^
12 -ctk q4_0 -ctv q4_0 ^
13 -ctkd q4_0 -ctvd q4_0 ^
14 --cache-reuse 256 ^
15 --cache-prompt ^
16 --slot-prompt-similarity 0.0 ^
17 --swa-full ^
18 -lm mlock ^
19 -ngl 0 ^
20 --mmproj-offload ^
21 -fa on ^
22 -c 49152 ^
23 --temp 0.3 ^
24 --min-p 0.05 ^
25 --top-p 0.95 ^
26 --top-k 40 ^
27 --dry-multiplier 0.8 ^
28 --dry-base 1.75 ^
29 --dry-allowed-length 2 ^
30 --dry-penalty-last-n 256 ^
31 --presence-penalty 0.0 ^
32 --repeat-penalty 1.0 ^
33 --reasoning off ^
34 --jinja ^
35 --spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-p-min 0.20 ^
36 --metrics^
37 --host 127.0.0.1 --port 8080llama-server.exe (the server binary provided by llama.cpp) to host a local REST API / web interface for a vision-enabled Qwen3.5-4B on Windows:-m & --mmproj--image-min-tokens 4096 & --image-max-tokens 4096--mmproj-offload-t 6 & --threads-batch 6-Cr 0-5 --cpu-strict 1--prio 2 & --poll 1002) and lowers the polling interval (100 ms) for faster API responsiveness.-lm mlock--no-mmap arguments).-ngl 0-fa on-c 49152 & -np 1-np 1).-b 4224 & -ub 20484224 and micro-batch size to 2048, balancing RAM spikes and CPU load.--mtmd-batch-max-tokens 2048-ctk q4_0 -ctv q4_0 & -ctkd q4_0 -ctvd q4_0--cache-prompt, --cache-reuse 256, --slot-prompt-similarity 0.0--swa-full--temp 0.3, --top-p 0.95, --top-k 40, --min-p 0.05--seed -1--dry-multiplier 0.8, --dry-base 1.75, --dry-allowed-length 2, --dry-penalty-last-n 256--presence-penalty 0.0 & --repeat-penalty 1.0--spec-type draft-mtp--spec-draft-n-max 2 & --spec-draft-p-min 0.200.20). This prevents wasting CPU cycles on bad guesses, resulting in a smoother, faster generation rate.--reasoning off--jinja & --metrics