Well I'm definitely a beginner, or rather I will be when I finally begin.Good software.
I mostly run llama.cpp now, but ollama is good for beginners and I still run it on FreeBSD.
Why? is llama.cpp better? Easier to setup / work with? Or something else?Good software.
I mostly run llama.cpp now, but ollama is good for beginners and I still run it on FreeBSD.
tingo@locaal:~ $ llama-server \
> --host `hostname` \
> --port 8080 \
> --ctx-size $((64 * 1024)) \
> --temp 0.6 \
> --top-p 0.95 \
> --top-k 20 \
> -hf bartowski/Qwen_Qwen3.5-27B-GGUF:Q6_K_L
Downloading mmproj-Qwen_Qwen3.5-27B-bf16.gguf ────────────────────── 100%
Downloading Qwen_Qwen3.5-27B-Q6_K_L.gguf ─────────────────────────── 100%
12.34.224.670 I log_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
12.34.224.674 I device_info:
12.34.225.223 I - Vulkan0 : NVIDIA GeForce RTX 5060 Ti (16557 MiB, 16071 MiB free)
12.34.225.244 I - CPU : CPU (32659 MiB, 32659 MiB free)
12.34.225.307 I system_info: n_threads = 6 (n_threads_batch = 6) / 12 | CPU : OPENMP = 1 | REPACK = 1 |
12.34.225.315 I srv llama_server: n_parallel is set to auto, using n_parallel = 4 and kv_unified = true
12.34.226.729 I srv init: running without SSL
12.34.226.755 I srv init: using 11 threads for HTTP server
12.34.227.973 I srv start: binding port with default address family
12.34.240.500 E srv start: couldn't bind HTTP server socket, hostname: locaal, port: 8080
12.34.240.503 I srv operator(): operator(): cleaning up before exit...
12.34.241.463 E srv llama_server: exiting due to HTTP server error
Maybe not? "tingo@locaal:" (first line). I don't know. Maybe it's a typo anyway. Just noticing it.Typo: "locaal"
tingo@locaal:~ $ llama-server \
--host `hostname`.local \
--port 8081 \
--ctx-size $((64 * 1024)) \
--temp 0.6 \
--top-p 0.95 \
--top-k 20 \
-hf bartowski/Qwen_Qwen3.5-27B-GGUF:Q6_K_L
0.00.659.799 I log_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
0.00.659.803 I device_info:
0.00.659.915 I - Vulkan0 : NVIDIA GeForce RTX 5060 Ti (16557 MiB, 16071 MiB free)
0.00.659.930 I - CPU : CPU (32659 MiB, 32659 MiB free)
0.00.659.994 I system_info: n_threads = 6 (n_threads_batch = 6) / 12 | CPU : OPENMP = 1 | REPACK = 1 |
0.00.660.000 I srv llama_server: n_parallel is set to auto, using n_parallel = 4 and kv_unified = true
0.00.660.023 I srv init: running without SSL
0.00.660.043 I srv init: using 11 threads for HTTP server
0.00.660.128 I srv start: binding port with default address family
0.00.883.847 I srv llama_server: loading model
0.00.883.856 I srv load_model: loading model '/home/tingo/.cache/huggingface/hub/models--bartowski--Qwen_Qwen3.5-27B-GGUF/snapshots/d7b113c40283f4d99f4eb0ec20d126ad653cc736/Qwen_Qwen3.5-27B-Q6_K_L.gguf'
0.02.907.520 I srv load_model: [mtmd] estimated worst-case memory usage of mmproj is 1161.02 MiB
0.02.907.560 I common_init_result: fitting params to device memory ...
0.02.907.561 I common_init_result: (for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on)
ggml_vulkan: Memory allocation of size 1350860800 failed.
ggml_vulkan: vk::Device::allocateMemory: ErrorOutOfDeviceMemory
0.12.337.483 E llama_model_load: error loading model: vk::Device::allocateMemory: ErrorOutOfDeviceMemory
0.12.337.495 E llama_model_load_from_file_impl: failed to load model
0.12.337.498 E common_init_from_params: failed to load model '/home/tingo/.cache/huggingface/hub/models--bartowski--Qwen_Qwen3.5-27B-GGUF/snapshots/d7b113c40283f4d99f4eb0ec20d126ad653cc736/Qwen_Qwen3.5-27B-Q6_K_L.gguf'
0.12.337.506 E srv load_model: failed to load model, '/home/tingo/.cache/huggingface/hub/models--bartowski--Qwen_Qwen3.5-27B-GGUF/snapshots/d7b113c40283f4d99f4eb0ec20d126ad653cc736/Qwen_Qwen3.5-27B-Q6_K_L.gguf'
0.12.337.508 I srv operator(): operator(): cleaning up before exit...
0.12.337.776 E srv llama_server: exiting due to model loading error
tingo@locaal:~ $
It was. the hostname command only gives that, I failed to add the domain (.local in this case) part. I know, very bad of me.Chances are that the hostname is the issue. Use the IP address instead of a test.
locaal.local ?It was. the hostname command only gives that, I failed to add the domain (.local in this case) part. I know, very bad of me.
tingo@locaal:~ $ llama-server \
--host `hostname`.local \
--port 8081 \
--ctx-size $((64 * 1024)) \
--temp 0.6 \
--top-p 0.95 \
--top-k 20 \
-fit off -hf bartowski/Qwen_Qwen3.5-27B-GGUF:Q3_K_L
0.00.704.983 I log_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
0.00.704.987 I device_info:
0.00.705.100 I - Vulkan0 : NVIDIA GeForce RTX 5060 Ti (16557 MiB, 16071 MiB free)
0.00.705.115 I - CPU : CPU (32659 MiB, 32659 MiB free)
0.00.705.178 I system_info: n_threads = 6 (n_threads_batch = 6) / 12 | CPU : OPENMP = 1 | REPACK = 1 |
0.00.705.184 I srv llama_server: n_parallel is set to auto, using n_parallel = 4 and kv_unified = true
0.00.705.208 I srv init: running without SSL
0.00.705.228 I srv init: using 11 threads for HTTP server
0.00.705.314 I srv start: binding port with default address family
0.00.706.762 I srv llama_server: loading model
0.00.706.770 I srv load_model: loading model '/home/tingo/.cache/huggingface/hub/models--bartowski--Qwen_Qwen3.5-27B-GGUF/snapshots/d7b113c40283f4d99f4eb0ec20d126ad653cc736/Qwen_Qwen3.5-27B-Q3_K_L.gguf'
ggml_vulkan: Memory allocation of size 1042944000 failed.
ggml_vulkan: vk::Device::allocateMemory: ErrorOutOfDeviceMemory
0.05.576.883 E llama_model_load: error loading model: vk::Device::allocateMemory: ErrorOutOfDeviceMemory
0.05.576.894 E llama_model_load_from_file_impl: failed to load model
0.05.576.900 E common_init_from_params: failed to load model '/home/tingo/.cache/huggingface/hub/models--bartowski--Qwen_Qwen3.5-27B-GGUF/snapshots/d7b113c40283f4d99f4eb0ec20d126ad653cc736/Qwen_Qwen3.5-27B-Q3_K_L.gguf'
0.05.576.906 E srv load_model: failed to load model, '/home/tingo/.cache/huggingface/hub/models--bartowski--Qwen_Qwen3.5-27B-GGUF/snapshots/d7b113c40283f4d99f4eb0ec20d126ad653cc736/Qwen_Qwen3.5-27B-Q3_K_L.gguf'
0.05.576.909 I srv operator(): operator(): cleaning up before exit...
0.05.577.746 E srv llama_server: exiting due to model loading error
Hmm, is there a quicker way of finding out if a given model fits into your GFX card
lamma.cpp is faster than olama + ollama is build on top of lamma.cpp so its a wrapper for lamma.cppWell I'm definitely a beginner, or rather I will be when I finally begin.
I use Ollama because it integrates nice with Home Assistant. Which is the ideal usage for it having mere 16GB of nVidia VRAM (bought on cheap a year ago, yey).
You are probably using a newer version of llam-server than me, mine does not ssuport lod-mode,. it seemsTake a look at my scripts as mentioned in #9.
/grandpa
tingo@locaal:~ $ sh bin/run_llama.sh
Pick an AI model to run:
1) 0.00G Qwen3.8-27B-IQ2_XS.gguf
2) 0.00G Qwen_Qwen3.5-27B-Q2_K_L.gguf
3) 0.00G Qwen_Qwen3.5-27B-Q3_K_L.gguf
4) 0.00G Qwen_Qwen3.5-27B-Q3_K_M.gguf
5) 0.00G Qwen_Qwen3.5-27B-Q3_K_S.gguf
6) 0.00G Qwen_Qwen3.5-27B-Q6_K_L.gguf
7) 0.00G TheDrummer_Orion-26B-A4B-v1.1-IQ3_XS.gguf
8) 0.00G mmproj-Qwen3.8-27B-bf16.gguf
9) 0.00G mmproj-Qwen_Qwen3.5-27B-bf16.gguf
a) 0.00G mmproj-TheDrummer_Orion-26B-A4B-v1.1-bf16.gguf
0) Exit
Your choice: 1
──────────────────────────────────────────────────────
📊 Analyzing Qwen3.8-27B-IQ2_XS.gguf (0.00 GB)...
🎮 Verifying NVIDIA GPU status...
✅ GPU Status: NVIDIA Graphics Driver (NVIDIA UNIX x86_64 Kernel Module 595.84 Wed Jun 10 21:13:57 UTC 2026) is active.
🧠 Reading model built-in metadata live...
ℹ Could not read trained context length. Using safe fallback: 32768
ℹ Could not read layer count. Using baseline fallback: 64 layers.
⚙️ Optimized profile: CTX=32768, NGL=69, BATCH=512, UBATCH=256, CACHE=f16, MODE=mlock
🔄 Context Shifting: Active (Infinite scrolling chat enabled)
💡 Safe Prompt Limit: Do not exceed 32256 tokens in a SINGLE prompt.
──────────────────────────────────────────────────────
error: invalid argument: --load-mode
Hmm, is there a quicker way of finding out if a given model fits into your GFX card memory than downloading and trying?
That's correct. I am using the very latest version since it is possible to do that when running llama-cpp in the linuxlator (with cuda support). It's all in my posts.You are probably using a newer version of llam-server than me, mine does not ssuport lod-mode,. it seems