Name and Version
llama-cli --version
ggml_cuda_init: found 1 CUDA devices (Total VRAM: 97252 MiB):
Device 0: NVIDIA RTX PRO 6000 Blackwell Server Edition, compute capability 12.0, VMM: yes, VRAM: 97252 MiB
version: 0 ()
built with GNU 15.2.1 for Linux x86_64
Not sure why version is broken, built from commit b8502.r5.3fc6f1aed1
Operating systems
Linux
Which llama.cpp modules do you know to be affected?
No response
Command line
/usr/bin/llama-server --host 0.0.0.0 --port 10000 --models-dir /opt/models/ --models-max 1 --models-preset /opt/models/models.ini --jinja -to 1000 -np 8 --fit on --no-warmup -cram -1
Problem description & steps to reproduce
After a recent change, this now results in the following error upon startup:
main: failed to initialize router models: Failed to determine HF cache directory
Documentation mentioned a LLAMA_CACHE environment variable that was not relevant. Upon reviewing hf-cache.cpp, I set HF_HUB_CACHE which did make it start. I believe that this is related to user environment variables not being set since it's running as a service. If some new variable is somehow required, documentation should be updated, but I believe anyone using a service would not be using huggingface anyway and would not want this feature.
First Bad Commit
Last known working on b8495
Relevant log output
Logs
Mar 24 09:27:13 archdell systemd[1]: Started llama.cpp Server.
Mar 24 09:27:13 archdell llama-server[2760178]: ggml_cuda_init: found 1 CUDA devices (Total VRAM: 97252 MiB):
Mar 24 09:27:13 archdell llama-server[2760178]: Device 0: NVIDIA RTX PRO 6000 Blackwell Server Edition, compute capability 12.0, VMM: yes, VRAM: 97252 MiB
Mar 24 09:27:13 archdell llama-server[2760178]: build: 0 () with GNU 15.2.1 for Linux x86_64
Mar 24 09:27:13 archdell llama-server[2760178]: system info: n_threads = 128, n_threads_batch = 128, total_threads = 256
Mar 24 09:27:13 archdell llama-server[2760178]: system_info: n_threads = 128 (n_threads_batch = 128) / 256 | CUDA : ARCHS = 1200 | USE_GRAPHS = 1 | PEER_MAX_BATCH_SIZE = 128 | FA_ALL_QUANTS = 1 | BLACKWELL_NATIVE_FP4 = 1 | CPU : SSE3 =>
Mar 24 09:27:13 archdell llama-server[2760178]: Running without SSL
Mar 24 09:27:13 archdell llama-server[2760178]: init: api_keys: ****ikey
Mar 24 09:27:13 archdell llama-server[2760178]: init: using 255 threads for HTTP server
Mar 24 09:27:14 archdell llama-server[2760178]: main: failed to initialize router models: Failed to determine HF cache directory
Name and Version
llama-cli --version
ggml_cuda_init: found 1 CUDA devices (Total VRAM: 97252 MiB):
Device 0: NVIDIA RTX PRO 6000 Blackwell Server Edition, compute capability 12.0, VMM: yes, VRAM: 97252 MiB
version: 0 ()
built with GNU 15.2.1 for Linux x86_64
Not sure why version is broken, built from commit b8502.r5.3fc6f1aed1
Operating systems
Linux
Which llama.cpp modules do you know to be affected?
No response
Command line
Problem description & steps to reproduce
After a recent change, this now results in the following error upon startup:
Documentation mentioned a LLAMA_CACHE environment variable that was not relevant. Upon reviewing hf-cache.cpp, I set HF_HUB_CACHE which did make it start. I believe that this is related to user environment variables not being set since it's running as a service. If some new variable is somehow required, documentation should be updated, but I believe anyone using a service would not be using huggingface anyway and would not want this feature.
First Bad Commit
Last known working on b8495
Relevant log output
Logs
Mar 24 09:27:13 archdell systemd[1]: Started llama.cpp Server. Mar 24 09:27:13 archdell llama-server[2760178]: ggml_cuda_init: found 1 CUDA devices (Total VRAM: 97252 MiB): Mar 24 09:27:13 archdell llama-server[2760178]: Device 0: NVIDIA RTX PRO 6000 Blackwell Server Edition, compute capability 12.0, VMM: yes, VRAM: 97252 MiB Mar 24 09:27:13 archdell llama-server[2760178]: build: 0 () with GNU 15.2.1 for Linux x86_64 Mar 24 09:27:13 archdell llama-server[2760178]: system info: n_threads = 128, n_threads_batch = 128, total_threads = 256 Mar 24 09:27:13 archdell llama-server[2760178]: system_info: n_threads = 128 (n_threads_batch = 128) / 256 | CUDA : ARCHS = 1200 | USE_GRAPHS = 1 | PEER_MAX_BATCH_SIZE = 128 | FA_ALL_QUANTS = 1 | BLACKWELL_NATIVE_FP4 = 1 | CPU : SSE3 => Mar 24 09:27:13 archdell llama-server[2760178]: Running without SSL Mar 24 09:27:13 archdell llama-server[2760178]: init: api_keys: ****ikey Mar 24 09:27:13 archdell llama-server[2760178]: init: using 255 threads for HTTP server Mar 24 09:27:14 archdell llama-server[2760178]: main: failed to initialize router models: Failed to determine HF cache directory