LM/Qwen 3.8 27B: Difference between revisions
< LM
Jump to navigation
Jump to search
| Line 216: | Line 216: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# search | # search | ||
hf models ls --search "Qwen3.8-27B" --apps llama.cpp --expand "downloads,likes,lastModified" --sort downloads --no-truncate --limit 10 | hf models ls --search "Qwen3.8-27B" --apps llama.cpp --expand "downloads,likes,lastModified" --sort downloads --no-truncate --limit 10 | ||
# unsloth | # unsloth | ||
hf models ls --tree -R -h unsloth/Qwen3.8-27B-GGUF | hf models ls --tree -R -h unsloth/Qwen3.8-27B-GGUF | ||
| Line 240: | Line 238: | ||
tree -h ~/.cache/huggingface/hub/models--unsloth--Qwen3.8-27B-GGUF | tree -h ~/.cache/huggingface/hub/models--unsloth--Qwen3.8-27B-GGUF | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 06:32, 31 August 2026
llama.cpp
Running
# works
./llama.cpp/sycl/bin/llama-server \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q6_K_M \
--spec-type draft-mtp --spec-draft-n-max 2 -ngld 99 \
-c 64000 -ctk q8_0 -ctv q8_0 \
-fa on -ngl 99 --load-mode mlock -np 1 --jinja --reasoning-preserve -t 8
# with turboquant
./llama.cpp/vulkan/bin/llama-server \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q6_K_M \
--spec-type draft-mtp --spec-draft-n-max 2 -ngld 99 \
-c 64000 -ctk q8_0 -ctv turbo4 \
-fa on -ngl 99 --load-mode mlock -np 1 --jinja --reasoning-preserve -t 8
Benchmark for me
# control group
./llama.cpp/sycl/bin/llama-bench \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL \
-fa on -ctk q8_0 -ctv q8_0 -ngl 99
| model | size | params | backend | ngl | type_k | type_v | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | -----: | -----: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | 99 | q8_0 | q8_0 | 1 | pp512 | 951.05 ± 7.72 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | 99 | q8_0 | q8_0 | 1 | tg128 | 22.17 ± 0.06 |
# Test -ctv
./llama.cpp/sycl/bin/llama-bench \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL \
-fa on -ctk q8_0 -ctv q4_0 -ngl 99
# Test -ub
./llama.cpp/sycl/bin/llama-bench \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL \
-fa on -ctk q8_0 -ctv q8_0 -ngl 99 -ub 2048
# Test -fa off
./llama.cpp/sycl/bin/llama-bench \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL \
-fa off -ngl 99
# Test bartowski
./llama.cpp/sycl/bin/llama-bench \
-hf bartowski/Qwen3.8-27B-GGUF:Q5_K_L \
-fa on -ctk q8_0 -ctv q8_0 -ngl 99
| model | size | params | backend | ngl | type_k | type_v | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | -----: | -----: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 20.05 GiB | 27.32 B | SYCL | 99 | q8_0 | q8_0 | 1 | pp512 | 997.64 ± 2.90 |
| qwen35 27B Q5_K - Medium | 20.05 GiB | 27.32 B | SYCL | 99 | q8_0 | q8_0 | 1 | tg128 | 22.08 ± 0.06 |
# Test OpenVINO
GGML_OPENVINO_DEVICE=GPU GGML_OPENVINO_STATEFUL_EXECUTION=1 ./llama.cpp/openvino/bin/llama-bench \
-hf unsloth/Qwen3.8-27B-GGUF:Q4_0 \
-fa on -ngl 99
Benchmark for community
./llama.cpp/sycl/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q6_K -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q6_K | 20.46 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 893.36 ± 2.22 |
| qwen35 27B Q6_K | 20.46 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 21.12 ± 0.06 |
| qwen35 27B Q6_K | 20.46 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 716.76 ± 2.47 |
| qwen35 27B Q6_K | 20.46 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 20.96 ± 0.03 |
build: 9723942ad (10711)
./llama.cpp/sycl/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 949.54 ± 4.56 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 22.39 ± 0.02 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 790.84 ± 1.98 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 22.23 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_M -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 931.53 ± 5.06 |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 22.57 ± 0.05 |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 790.66 ± 2.38 |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 22.42 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q4_K - Medium | 16.34 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 792.31 ± 1.05 |
| qwen35 27B Q4_K - Medium | 16.34 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 21.48 ± 0.06 |
| qwen35 27B Q4_K - Medium | 16.34 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 736.32 ± 1.59 |
| qwen35 27B Q4_K - Medium | 16.34 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 21.34 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:Q4_0 -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 795.55 ± 1.07 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 27.54 ± 0.01 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 354.45 ± 0.58 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 27.34 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-IQ4_XS -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 572.54 ± 0.55 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 16.48 ± 0.03 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 560.65 ± 0.54 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 16.40 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl-dnn/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 977.15 ± 4.89 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 22.29 ± 0.04 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 844.13 ± 1.13 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 22.18 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl-dnn/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_M -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 961.63 ± 7.87 |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 22.60 ± 0.03 |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 844.61 ± 2.75 |
| qwen35 27B Q5_K - Medium | 18.40 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 22.43 ± 0.05 |
build: 9723942ad (10711)
./llama.cpp/sycl-dnn/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:Q4_0 -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 725.59 ± 0.62 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 27.31 ± 0.02 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 338.80 ± 0.31 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 27.21 ± 0.03 |
build: 9723942ad (10711)
./llama.cpp/sycl-dnn/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-IQ4_XS -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 583.43 ± 0.61 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 16.44 ± 0.03 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 587.23 ± 0.62 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 16.37 ± 0.03 |
build: 9723942ad (10711)
./llama.cpp/sycl-f32/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_XL -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 311.30 ± 0.44 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 22.31 ± 0.02 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 301.45 ± 0.08 |
| qwen35 27B Q5_K - Medium | 19.43 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 22.18 ± 0.02 |
build: 9723942ad (10711)
./llama.cpp/sycl-f32/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:Q4_0 -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 249.00 ± 1.07 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 27.45 ± 0.01 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 272.30 ± 0.06 |
| qwen35 27B Q4_0 | 14.94 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 27.25 ± 0.00 |
build: 9723942ad (10711)
./llama.cpp/sycl-f32/bin/llama-bench -hf unsloth/Qwen3.8-27B-GGUF:UD-IQ4_XS -fa 0,1
| model | size | params | backend | ngl | fa | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --: | --------------: | -------------------: |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 0 | pp512 | 272.43 ± 0.60 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 0 | tg128 | 16.45 ± 0.04 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 1 | pp512 | 268.76 ± 0.04 |
| qwen35 27B IQ4_XS - 4.25 bpw | 13.26 GiB | 27.32 B | SYCL | -1 | 1 | tg128 | 16.39 ± 0.03 |
build: 9723942ad (10711)
Experiment
# search
hf models ls --search "Qwen3.8-27B" --apps llama.cpp --expand "downloads,likes,lastModified" --sort downloads --no-truncate --limit 10
# unsloth
hf models ls --tree -R -h unsloth/Qwen3.8-27B-GGUF
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-IQ4_XS*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q4_K_XL*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q5_K_XL*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q6_K.gguf"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q6_K_M*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q6_K_L*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q6_K_XL*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*UD-Q8_K_L*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*Q4_0*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*Q8_0*"
hf download unsloth/Qwen3.8-27B-GGUF --include "mmproj-BF16*"
hf download unsloth/Qwen3.8-27B-GGUF --include "*mtp-Qwen3.8-27B-Q4_0.gguf"
find ~/.cache/huggingface/hub -name "*Qwen3.8-27B-UD-Q8_K_L.gguf"
find ~/.cache/huggingface/hub -name "*Qwen3.8-27B-UD-Q8_K_L.gguf" -exec sh -c 'rm -f "$1" "$(readlink -f "$1")"' _ {} \;
tree -h ~/.cache/huggingface/hub/models--unsloth--Qwen3.8-27B-GGUF