[GH-ISSUE #9059] Explain all OLLAMA_xxx Env. vars into FAQ #52409

Closed
opened 2026-04-28 23:10:41 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @LeisureLinux on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9059

We are seeing a lot questions in the issue board. I suggest to list all the related OLLAMA_xxx Env into FAQ doc. with some explanation.
I just put all the vars here, and let's find somewhere in the doc to explain these vars, and make it a complete list, then add into FAQ.

$ strings ~/.local/bin/ollama|grep OLLAMA|sed -e 's/OLLAMA/\nOLLAMA/g' -e 's/[a-z]//g' -e 's_/__g' -e 's/://g'|awk '/^OLLAMA/ {print $1}'|awk -F= '{print $1}'|sort|uniq

OLLAMA_DEBUG
OLLAMA_FLASH_ATTENTIONS
OLLAMA_GPU_OVERHEAD
OLLAMA_HOST
OLLAMA_INTEL_GPU
OLLAMA_KEEP_ALIVES
OLLAMA_KV_CACHE_TYPES
OLLAMA_LLM_LIBRARY
OLLAMA_LOAD_TIMEOUTS
OLLAMA_MAX_LOADED_MODELSU
OLLAMA_MAX_QUEUED
OLLAMA_MAX_VRAM
OLLAMA_MODELS
OLLAMA_MULTIUSER_CACHEE
OLLAMA_NOHISTORY
OLLAMA_NOPRUNE
OLLAMA_NUM_PARALLEL
OLLAMA_ORIGINS
OLLAMA_SCHED_SPREAD
OLLAMA_TMPDIR
Originally created by @LeisureLinux on GitHub (Feb 13, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9059 We are seeing a lot questions in the issue board. I suggest to list all the related OLLAMA_xxx Env into FAQ doc. with some explanation. I just put all the vars here, and let's find somewhere in the doc to explain these vars, and make it a complete list, then add into FAQ. `$ strings ~/.local/bin/ollama|grep OLLAMA|sed -e 's/OLLAMA/\nOLLAMA/g' -e 's/[a-z]//g' -e 's_/__g' -e 's/://g'|awk '/^OLLAMA/ {print $1}'|awk -F= '{print $1}'|sort|uniq ` ```shell OLLAMA_DEBUG OLLAMA_FLASH_ATTENTIONS OLLAMA_GPU_OVERHEAD OLLAMA_HOST OLLAMA_INTEL_GPU OLLAMA_KEEP_ALIVES OLLAMA_KV_CACHE_TYPES OLLAMA_LLM_LIBRARY OLLAMA_LOAD_TIMEOUTS OLLAMA_MAX_LOADED_MODELSU OLLAMA_MAX_QUEUED OLLAMA_MAX_VRAM OLLAMA_MODELS OLLAMA_MULTIUSER_CACHEE OLLAMA_NOHISTORY OLLAMA_NOPRUNE OLLAMA_NUM_PARALLEL OLLAMA_ORIGINS OLLAMA_SCHED_SPREAD OLLAMA_TMPDIR ```
GiteaMirror added the feature request label 2026-04-28 23:10:41 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 13, 2025):

82658c3eec/envconfig/config.go (L236)

<!-- gh-comment-id:2655268444 --> @rick-github commented on GitHub (Feb 13, 2025): https://github.com/ollama/ollama/blob/82658c3eec0cbb70ba558e5310fe3e68436aa583/envconfig/config.go#L236
Author
Owner

@LeisureLinux commented on GitHub (Feb 14, 2025):

I will re-open it in proper time.

<!-- gh-comment-id:2659802313 --> @LeisureLinux commented on GitHub (Feb 14, 2025): I will re-open it in proper time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52409