Replies: 4 comments
-
|
The frontend is probably not the main thing to optimize first. On a laptop from that era, most of the time will be spent in the local inference backend and memory subsystem, so I would first take Jan out of the test and measure a direct Use the smallest quantized GGUF you are comfortable with, keep the prompt/context small, and cap the generated output while testing. For example: llama-cli -m /path/to/Qwen3-0.6B-....gguf -t 1 -c 1024 -n 128 --perf -p "Write a short reply about..."Then repeat with The other useful checks are:
If the direct |
Beta Was this translation helpful? Give feedback.
-
|
How much ram do you have and what backend are you trying to use? You're going to have a bad time with anything but the CPU back. I'd suggest compiling on that system if possible, too. If you have the stock 4gb, I think you're already getting what you'll be able to get. I doubt LM Studio is helping. Here's a few models that might work out for you; compile with $ llama-bench -hf Tralalabs/OpenClaude-1.7B-Merged-Q3_K_M-GGUF
| model | size | params | backend | threads | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
| qwen3 1.7B Q3_K - Medium | 890.34 MiB | 1.72 B | CPU | 6 | pp512 | 149.23 ± 3.87 |
| qwen3 1.7B Q3_K - Medium | 890.34 MiB | 1.72 B | CPU | 6 | tg128 | 38.55 ± 0.63 |llama-bench -hf x1nx3r/Llama-3.2-3B-thinking-100K-Q3_K_M-GGUF
Downloading checkpoint-11500-Q3_K_M.gguf ─────────────────────────── 100%
| model | size | params | backend | threads | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
| llama 3B Q3_K - Medium | 1.56 GiB | 3.21 B | CPU | 6 | pp512 | 78.64 ± 0.17 |
| llama 3B Q3_K - Medium | 1.56 GiB | 3.21 B | CPU | 6 | tg128 | 22.42 ± 0.16 |llama-bench -hf x1nx3r/Llama-3.2-3B-thinking-100K-Q2_K-GGUF
Downloading checkpoint-11500-Q2_K.gguf ───────────────────────────── 100%
| model | size | params | backend | threads | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
| llama 3B Q2_K - Medium | 1.26 GiB | 3.21 B | CPU | 6 | pp512 | 86.09 ± 0.59 |
| llama 3B Q2_K - Medium | 1.26 GiB | 3.21 B | CPU | 6 | tg128 | 26.81 ± 0.37 |llama-bench -hf Anonyme843/Ternary_Bonsai_1.7b_Multi-GGUF:Q2_K
Downloading ternary-bonsai-1.7b-q2_k.gguf ────────────────────────── 100%
| model | size | params | backend | threads | test | t/s |
| ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
| qwen3 1.7B Q2_K - Medium | 735.66 MiB | 1.72 B | CPU | 6 | pp512 | 168.99 ± 4.46 |
| qwen3 1.7B Q2_K - Medium | 735.66 MiB | 1.72 B | CPU | 6 | tg128 | 45.43 ± 0.23 |Those should all fit in the stock ram on your computer. If you can get 8gb or 16gb in there, that would help a lot for quality, but these are all good for speed and size. A small model with a higher quantized gguf, in my experience, is better than a large on with a lower quant, depending on the model I'd gather. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the replies. I really appreciate it. I had recently installed Linux on the spare laptop, of which I am a beginner user of Linux as well. The memory on it is of 4GB while the swap is of 4 as well. I did the cmake for the cpu build. I used the 4-bit IQ4_XS variant of the model. I used the |
Beta Was this translation helpful? Give feedback.
-
|
On that class of laptop the frontend is probably not the main bottleneck. The HP Compaq 6910p is much older than 2013-era hardware and is usually a Core 2 Duo class machine, so llama.cpp will be running with very limited SIMD and memory bandwidth. A 0.6B model can fit, but long generations will still be slow. Things I would try first: # Test the raw llama.cpp path without Jan/LM Studio overhead
./llama-cli \
-m Qwen3-0.6B-GGUF-file.gguf \
-t 2 \
-c 512 \
-b 16 \
-ub 16 \
-n 96 \
-p "Answer briefly: what is llama.cpp?"Then compare with: ./llama-bench -m Qwen3-0.6B-GGUF-file.gguf -t 1,2 -p 64 -n 64The settings that matter most on that machine are:
If the model currently takes 15 minutes with default frontend settings, getting under 5 minutes may require all three: smaller quantization, shorter context, and a hard output cap. If |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an old HP Compaq 6910p laptop (I think from 2013?) and I am looking to just toy around with it and see if it could run a small model. I ran this model: https://huggingface.co/unsloth/Qwen3-0.6B-GGUF on it with the Jan AI frontend. I did not tweak the settings and just ran it with the default settings. It struggles to run, but it gives a response after about 15 minutes. I am not familiar with LLMs, so was wondering if someone could help me in optimizing the llama.cpp settings to get the response time to under 5 minutes. And I am not sure if the choice of frontend is causing a slowdown. I had seen a post somewhere that LMStudio ran better than Jan AI.
Beta Was this translation helpful? Give feedback.
All reactions