r/LocalLLaMA · · 3 min read

poor man's way to local inference on the go

Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.

poor man's way to local inference on the go

Many bring egpu to game on laptop, yet here I am fiddling with llama cpp params for 1-time crappy HW configuration for Qwen3.6 35B A3B.

idk if I'm having fun or not, but running llama bench runs are surely a good way to kill some time, I guess

p.s. I really like recently added llama cpp's built in lightweight web ui, it's tool call aren't safe as already documented (no sandboxing) but is really fun to play with.

hw:

- 1360p, my arch nemesis on both perf & thermal for last 5 years

- 32GB LPDDR5 6400MT

‐ AXLE's 1slot 3050 6GB

- TH3P4 Lite + 120W DC brick

EDIT:

as someone asked for 64k ctx, here's llama-bench result for it:

Seems like egpu is hitting practical bandwidth limit (considering overhead), as nvtop shows 3050 maxing out bandwidth at 2.5GB/s consistently over 3.0 x4 connection which should give higher bandwidth in theory.

type_k type_v pp512 tg128
q4_0 q4_0 78.18 ± 0.52 (d65536) 15.68 ± 0.47 (d65536)
q4_0 q4_0 85.39 ± 1.27 24.24 ± 1.31
- - 85.59 ± 1.26 25.01 ± 1.18

Raw log:

./llama-bench -hf "unsloth/Qwen3.6-35B-A3B-GGUF:Q4_K_XL" -b 2048 -ub 1024 -ngl 99 -ctk q4_0 -ctv q4_0 -ncmoe 99 -mmp 0 -d 65536 ggml_cuda_init: found 1 CUDA devices (Total VRAM: 5803 MiB): Device 0: NVIDIA GeForce RTX 3050, compute capability 8.6, VMM: yes, VRAM: 5803 MiB ggml_vulkan: Found 2 Vulkan devices: ggml_vulkan: 0 = Intel(R) Iris(R) Xe Graphics (RPL-P) (Intel open-source Mesa driver) | uma: 1 | fp16: 1 | bf16: 0 | fp4: 0 | warp size: 32 | shared memory: 65536 | int dot: 1 | matrix cores: none ggml_vulkan: 1 = NVIDIA GeForce RTX 3050 (NVIDIA) | uma: 0 | fp16: 1 | bf16: 0 | fp4: 0 | warp size: 32 | shared memory: 49152 | int dot: 1 | matrix cores: NV_coopmat2 | model | size | params | backend | ngl | n_cpu_moe | n_ubatch | type_k | type_v | mmap | test | t/s | | ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | -------: | -----: | -----: | ---: | --------------: | -------------------: | | qwen35moe 35B.A3B Q4_K - Medium | 20.81 GiB | 34.66 B | CUDA,Vulkan | 99 | 99 | 1024 | q4_0 | q4_0 | 0 | pp512 @ d65536 | 78.18 ± 0.52 | | qwen35moe 35B.A3B Q4_K - Medium | 20.81 GiB | 34.66 B | CUDA,Vulkan | 99 | 99 | 1024 | q4_0 | q4_0 | 0 | tg128 @ d65536 | 15.68 ± 0.47 | build: 571d0d540 (10068) ./llama-bench -hf "unsloth/Qwen3.6-35B-A3B-GGUF:Q4_K_XL" -b 2048 -ub 1024 -ngl 99 -ctk q4_0 -ctv q4_0 -ncmoe 99 -mmp 0 ... | model | size | params | backend | ngl | n_cpu_moe | n_ubatch | type_k | type_v | mmap | test | t/s | | ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | -------: | -----: | -----: | ---: | --------------: | -------------------: | | qwen35moe 35B.A3B Q4_K - Medium | 20.81 GiB | 34.66 B | CUDA,Vulkan | 99 | 99 | 1024 | q4_0 | q4_0 | 0 | pp512 | 85.39 ± 1.27 | | qwen35moe 35B.A3B Q4_K - Medium | 20.81 GiB | 34.66 B | CUDA,Vulkan | 99 | 99 | 1024 | q4_0 | q4_0 | 0 | tg128 | 24.24 ± 1.31 | ./llama-bench -hf "unsloth/Qwen3.6-35B-A3B-GGUF:Q4_K_XL" -b 2048 -ub 1024 -ngl 99 -ncmoe 99 -mmp 0 ... | model | size | params | backend | ngl | n_cpu_moe | n_ubatch | mmap | test | t/s | | ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | -------: | ---: | --------------: | -------------------: | | qwen35moe 35B.A3B Q4_K - Medium | 20.81 GiB | 34.66 B | CUDA,Vulkan | 99 | 99 | 1024 | 0 | pp512 | 85.59 ± 1.26 | | qwen35moe 35B.A3B Q4_K - Medium | 20.81 GiB | 34.66 B | CUDA,Vulkan | 99 | 99 | 1024 | 0 | tg128 | 25.01 ± 1.18 | 
submitted by /u/jupiterbjy
[link] [comments]

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from r/LocalLLaMA