mirror of
https://github.com/ollama/ollama.git
synced 2026-05-06 16:11:34 -05:00
Closed
opened 2026-04-28 04:53:40 -05:00 by GiteaMirror
·
26 comments
No Branch/Tag Specified
main
dhiltgen/ci
parth-launch-plan-gating
hoyyeva/anthropic-reference-images-path
parth-anthropic-reference-images-path
brucemacd/download-before-remove
hoyyeva/editor-config-repair
parth-mlx-decode-checkpoints
parth-launch-codex-app
hoyyeva/fix-codex-model-metadata-warning
hoyyeva/qwen
parth/hide-claude-desktop-till-release
hoyyeva/opencode-image-modality
parth-add-claude-code-autoinstall
release_v0.22.0
pdevine/manifest-list
codex/fix-codex-model-metadata-warning
pdevine/addressable-manifest
brucemacd/launch-fetch-reccomended
jmorganca/llama-compat
launch-copilot-cli
hoyyeva/opencode-thinking
release_v0.20.7
parth-auto-save-backup
parth-test
jmorganca/gemma4-audio-replacements
fix-manifest-digest-on-pull
hoyyeva/vscode-improve
brucemacd/install-server-wait
parth/update-claude-docs
brucemac/start-ap-install
pdevine/mlx-update
pdevine/qwen35_vision
drifkin/api-show-fallback
mintlify/image-generation-1773352582
hoyyeva/server-context-length-local-config
jmorganca/faster-reptition-penalties
jmorganca/convert-nemotron
parth-pi-thinking
pdevine/sampling-penalties
jmorganca/fix-create-quantization-memory
dongchen/resumable_transfer_fix
pdevine/sampling-cache-error
jessegross/mlx-usage
hoyyeva/openclaw-config
hoyyeva/app-html
pdevine/qwen3next
brucemacd/sign-sh-install
brucemacd/tui-update
brucemacd/usage-api
jmorganca/launch-empty
fix-app-dist-embed
mxyng/mlx-compile
mxyng/mlx-quant
mxyng/mlx-glm4.7
mxyng/mlx
brucemacd/simplify-model-picker
jmorganca/qwen3-concurrent
fix-glm-4.7-flash-mla-config
drifkin/qwen3-coder-opening-tag
brucemacd/usage-cli
fix-cuda12-fattn-shmem
ollama-imagegen-docs
parth/fix-multiline-inputs
brucemacd/config-docs
mxyng/model-files
mxyng/simple-execute
fix-imagegen-ollama-models
mxyng/async-upload
jmorganca/lazy-no-dtype-changes
imagegen-auto-detect-create
parth/decrease-concurrent-download-hf
fix-mlx-quantize-init
jmorganca/x-cleanup
usage
imagegen-readme
jmorganca/glm-image
mlx-gpu-cd
jmorganca/imagegen-modelfile
parth/agent-skills
parth/agent-allowlist
parth/signed-in-offline
parth/agents
parth/fix-context-chopping
improve-cloud-flow
parth/add-models-websearch
parth/prompt-renderer-mcp
jmorganca/native-settings
jmorganca/download-stream-hash
jmorganca/client2-rebased
brucemacd/oai-chat-req-multipart
jessegross/multi_chunk_reserve
grace/additional-omit-empty
grace/mistral-3-large
mxyng/tokenizer2
mxyng/tokenizer
jessegross/flash
hoyyeva/windows-nacked-app
mxyng/cleanup-attention
grace/deepseek-parser
hoyyeva/remember-unsent-prompt
parth/add-lfs-pointer-error-conversion
parth/olmo2-test2
hoyyeva/ollama-launchagent-plist
nicole/olmo-model
parth/olmo-test
mxyng/remove-embedded
parth/render-template
jmorganca/intellect-3
parth/remove-prealloc-linter
jmorganca/cmd-eval
nicole/nomic-embed-text-fix
mxyng/lint-2
hoyyeva/add-gemini-3-pro-preview
hoyyeva/load-model-list
mxyng/expand-path
mxyng/environ-2
hoyyeva/deeplink-json-encoding
parth/improve-tool-calling-tests
hoyyeva/conversation
hoyyeva/assistant-edit-response
hoyyeva/thinking
origin/brucemacd/invalid-char-i-err
parth/improve-tool-calling
jmorganca/required-omitempty
grace/qwen3-vl-tests
mxyng/iter-client
parth/docs-readme
nicole/embed-test
pdevine/integration-benchstat
parth/remove-generate-cmd
parth/add-toolcall-id
mxyng/server-tests
jmorganca/glm-4.6
jmorganca/gin-h-compat
drifkin/stable-tool-args
pdevine/qwen3-more-thinking
parth/add-websearch-client
nicole/websearch_local
jmorganca/qwen3-coder-updates
grace/deepseek-v3-migration-tests
mxyng/fix-create
jmorganca/cloud-errors
pdevine/parser-tidy
revert-12233-parth/simplify-entrypoints-runner
parth/enable-so-gpt-oss
brucemacd/qwen3vl
jmorganca/readme-simplify
parth/gpt-oss-structured-outputs
revert-12039-jmorganca/tools-braces
mxyng/embeddings
mxyng/gguf
mxyng/benchmark
mxyng/types-null
parth/move-parsing
mxyng/gemma2
jmorganca/docs
mxyng/16-bit
mxyng/create-stdin
pdevine/authorizedkeys
mxyng/quant
parth/opt-in-error-context-window
brucemacd/cache-models
brucemacd/runner-completion
jmorganca/llama-update-6
brucemacd/benchmark-list
brucemacd/partial-read-caps
parth/deepseek-r1-tools
mxyng/omit-array
parth/tool-prefix-temp
brucemacd/runner-test
jmorganca/qwen25vl
brucemacd/model-forward-test-ext
parth/python-function-parsing
jmorganca/cuda-compression-none
drifkin/num-parallel
drifkin/chat-truncation-fix
jmorganca/sync
parth/python-tools-calling
drifkin/array-head-count
brucemacd/create-no-loop
parth/server-enable-content-stream-with-tools
qwen25omni
mxyng/v3
brucemacd/ropeconfig
jmorganca/silence-tokenizer
parth/sample-so-test
parth/sampling-structured-outputs
brucemacd/doc-go-engine
parth/constrained-sampling-json
jmorganca/mistral-wip
brucemacd/mistral-small-convert
parth/sample-unmarshal-json-for-params
brucemacd/jomorganca/mistral
pdevine/bfloat16
jmorganca/mistral
brucemacd/mistral
pdevine/logging
parth/sample-correctness-fix
parth/sample-fix-sorting
jmorgan/sample-fix-sorting-extras
jmorganca/temp-0-images
brucemacd/parallel-embed-models
brucemacd/shim-grammar
jmorganca/fix-gguf-error
bmizerany/nameswork
jmorganca/faster-releases
bmizerany/validatenames
brucemacd/err-no-vocab
brucemacd/rope-config
brucemacd/err-hint
brucemacd/qwen2_5
brucemacd/logprobs
brucemacd/new_runner_graph_bench
progress-flicker
brucemacd/forward-test
brucemacd/go_qwen2
pdevine/gemma2
jmorganca/add-missing-symlink-eval
mxyng/next-debug
parth/set-context-size-openai
brucemacd/next-bpe-bench
brucemacd/next-bpe-test
brucemacd/new_runner_e2e
brucemacd/new_runner_qwen2
pdevine/convert-cohere2
brucemacd/convert-cli
parth/log-probs
mxyng/next-mlx
mxyng/cmd-history
parth/templating
parth/tokenize-detokenize
brucemacd/check-key-register
bmizerany/grammar
jmorganca/vendor-081b29bd
mxyng/func-checks
jmorganca/fix-null-format
parth/fix-default-to-warn-json
jmorganca/qwen2vl
jmorganca/no-concat
parth/cmd-cleanup-SO
brucemacd/check-key-register-structured-err
parth/openai-stream-usage
parth/fix-referencing-so
stream-tools-stop
jmorganca/degin-1
brucemacd/install-path-clean
brucemacd/push-name-validation
brucemacd/browser-key-register
jmorganca/openai-fix-first-message
jmorganca/fix-proxy
jessegross/sample
parth/disallow-streaming-tools
dhiltgen/remove_submodule
jmorganca/ga
jmorganca/mllama
pdevine/newlines
pdevine/geems-2b
jmorganca/llama-bump
mxyng/modelname-7
mxyng/gin-slog
mxyng/modelname-6
jyan/convert-prog
jyan/quant5
paligemma-support
pdevine/import-docs
jmorganca/openai-context
jyan/paligemma
jyan/p2
jyan/palitest
bmizerany/embedspeedup
jmorganca/llama-vit
brucemacd/allow-ollama
royh/ep-methods
royh/whisper
mxyng/api-models
mxyng/fix-memory
jyan/q4_4/8
jyan/ollama-v
royh/stream-tools
roy-embed-parallel
bmizerany/hrm
revert-5963-revert-5924-mxyng/llama3.1-rope
royh/embed-viz
jyan/local2
jyan/auth
jyan/local
jyan/parse-temp
jmorganca/template-mistral
jyan/reord-g
royh-openai-suffixdocs
royh-imgembed
royh-embed-parallel
jyan/quant4
royh-precision
jyan/progress
pdevine/fix-template
jyan/quant3
pdevine/ggla
mxyng/update-registry-domain
jmorganca/ggml-static
mxyng/create-context
jyan/v0.146
mxyng/layers-from-files
build_dist
bmizerany/noseek
royh-ls
royh-name
timeout
mxyng/server-timestamp
bmizerany/nosillyggufslurps
royh-params
jmorganca/llama-cpp-7c26775
royh-openai-delete
royh-show-rigid
jmorganca/enable-fa
jmorganca/no-error-template
jyan/format
royh-testdelete
bmizerany/fastverify
language_support
pdevine/ps-glitches
brucemacd/tokenize
bruce/iq-quants
bmizerany/filepathwithcoloninhost
mxyng/split-bin
bmizerany/client-registry
jmorganca/if-none-match
native
jmorganca/native
jmorganca/batch-embeddings
jmorganca/initcmake
jmorganca/mm
pdevine/showggmlinfo
modenameenforcealphanum
bmizerany/modenameenforcealphanum
jmorganca/done-reason
jmorganca/llama-cpp-8960fe8
ollama.com
bmizerany/filepathnobuild
bmizerany/types/model/defaultfix
rmdisplaylong
nogogen
bmizerany/x
modelfile-readme
bmizerany/replacecolon
jmorganca/limit
jmorganca/execstack
jmorganca/replace-assets
mxyng/tune-concurrency
jmorganca/testing
whitespace-detection
jmorganca/options
upgrade-all
scratch
cuda-search
mattw/airenamer
mattw/allmodelsonhuggingface
mattw/quantcontext
mattw/whatneedstorun
brucemacd/llama-mem-calc
mattw/faq-context
mattw/communitylinks
mattw/noprune
mattw/python-functioncalling
rename
mxyng/install
pulse
remove-first
editor
mattw/selfqueryingretrieval
cgo
mattw/howtoquant
api
matt/streamingapi
format-config
mxyng/extra-args
shell
update-nous-hermes
cp-model
upload-progress
fix-unknown-model
fix-model-names
delete-fix
insecure-registry
ls
deletemodels
progressbar
readme-updates
license-layers
skip-list
list-models
modelpath
matt/examplemodelfiles
distribution
go-opts
v0.23.1
v0.23.1-rc0
v0.23.0
v0.23.0-rc0
v0.22.1
v0.22.1-rc1
v0.22.1-rc0
v0.22.0
v0.22.0-rc1
v0.21.3-rc0
v0.21.2-rc1
v0.21.2
v0.21.2-rc0
v0.21.1
v0.21.1-rc1
v0.21.1-rc0
v0.21.0
v0.21.0-rc1
v0.21.0-rc0
v0.20.8-rc0
v0.20.7
v0.20.7-rc1
v0.20.7-rc0
v0.20.6
v0.20.6-rc1
v0.20.6-rc0
v0.20.5
v0.20.5-rc2
v0.20.5-rc1
v0.20.5-rc0
v0.20.4
v0.20.4-rc2
v0.20.4-rc1
v0.20.4-rc0
v0.20.3
v0.20.3-rc0
v0.20.2
v0.20.1
v0.20.1-rc2
v0.20.1-rc1
v0.20.1-rc0
v0.20.0
v0.20.0-rc1
v0.20.0-rc0
v0.19.0
v0.19.0-rc2
v0.19.0-rc1
v0.19.0-rc0
v0.18.4-rc1
v0.18.4-rc0
v0.18.3
v0.18.3-rc2
v0.18.3-rc1
v0.18.3-rc0
v0.18.2
v0.18.2-rc1
v0.18.2-rc0
v0.18.1
v0.18.1-rc1
v0.18.1-rc0
v0.18.0
v0.18.0-rc2
v0.18.0-rc1
v0.18.0-rc0
v0.17.8-rc4
v0.17.8-rc3
v0.17.8-rc2
v0.17.8-rc1
v0.17.8-rc0
v0.17.7
v0.17.7-rc2
v0.17.7-rc1
v0.17.7-rc0
v0.17.6
v0.17.5
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.1-rc2
v0.17.1-rc1
v0.17.1-rc0
v0.17.0
v0.17.0-rc2
v0.17.0-rc1
v0.17.0-rc0
v0.16.3
v0.16.3-rc2
v0.16.3-rc1
v0.16.3-rc0
v0.16.2
v0.16.2-rc0
v0.16.1
v0.16.0
v0.16.0-rc2
v0.16.0-rc0
v0.16.0-rc1
v0.15.6
v0.15.5
v0.15.5-rc5
v0.15.5-rc4
v0.15.5-rc3
v0.15.5-rc2
v0.15.5-rc1
v0.15.5-rc0
v0.15.4
v0.15.3
v0.15.2
v0.15.1
v0.15.1-rc1
v0.15.1-rc0
v0.15.0-rc6
v0.15.0
v0.15.0-rc5
v0.15.0-rc4
v0.15.0-rc3
v0.15.0-rc2
v0.15.0-rc1
v0.15.0-rc0
v0.14.3
v0.14.3-rc3
v0.14.3-rc2
v0.14.3-rc1
v0.14.3-rc0
v0.14.2
v0.14.2-rc1
v0.14.2-rc0
v0.14.1
v0.14.0-rc11
v0.14.0
v0.14.0-rc10
v0.14.0-rc9
v0.14.0-rc8
v0.14.0-rc7
v0.14.0-rc6
v0.14.0-rc5
v0.14.0-rc4
v0.14.0-rc3
v0.14.0-rc2
v0.14.0-rc1
v0.14.0-rc0
v0.13.5
v0.13.5-rc1
v0.13.5-rc0
v0.13.4-rc2
v0.13.4
v0.13.4-rc1
v0.13.4-rc0
v0.13.3
v0.13.3-rc1
v0.13.3-rc0
v0.13.2
v0.13.2-rc2
v0.13.2-rc1
v0.13.2-rc0
v0.13.1
v0.13.1-rc2
v0.13.1-rc1
v0.13.1-rc0
v0.13.0
v0.13.0-rc0
v0.12.11
v0.12.11-rc1
v0.12.11-rc0
v0.12.10
v0.12.10-rc1
v0.12.10-rc0
v0.12.9-rc0
v0.12.9
v0.12.8
v0.12.8-rc0
v0.12.7
v0.12.7-rc1
v0.12.7-rc0
v0.12.7-citest0
v0.12.6
v0.12.6-rc1
v0.12.6-rc0
v0.12.5
v0.12.5-rc0
v0.12.4
v0.12.4-rc7
v0.12.4-rc6
v0.12.4-rc5
v0.12.4-rc4
v0.12.4-rc3
v0.12.4-rc2
v0.12.4-rc1
v0.12.4-rc0
v0.12.3
v0.12.2
v0.12.2-rc0
v0.12.1
v0.12.1-rc1
v0.12.1-rc2
v0.12.1-rc0
v0.12.0
v0.12.0-rc1
v0.12.0-rc0
v0.11.11
v0.11.11-rc3
v0.11.11-rc2
v0.11.11-rc1
v0.11.11-rc0
v0.11.10
v0.11.9
v0.11.9-rc0
v0.11.8
v0.11.8-rc0
v0.11.7-rc1
v0.11.7-rc0
v0.11.7
v0.11.6
v0.11.6-rc0
v0.11.5-rc4
v0.11.5-rc3
v0.11.5
v0.11.5-rc5
v0.11.5-rc2
v0.11.5-rc1
v0.11.5-rc0
v0.11.4
v0.11.4-rc0
v0.11.3
v0.11.3-rc0
v0.11.2
v0.11.1
v0.11.0-rc0
v0.11.0-rc1
v0.11.0-rc2
v0.11.0
v0.10.2-int1
v0.10.1
v0.10.0
v0.10.0-rc4
v0.10.0-rc3
v0.10.0-rc2
v0.10.0-rc1
v0.10.0-rc0
v0.9.7-rc1
v0.9.7-rc0
v0.9.6
v0.9.6-rc0
v0.9.6-ci0
v0.9.5
v0.9.4-rc5
v0.9.4-rc6
v0.9.4
v0.9.4-rc3
v0.9.4-rc4
v0.9.4-rc1
v0.9.4-rc2
v0.9.4-rc0
v0.9.3
v0.9.3-rc5
v0.9.4-citest0
v0.9.3-rc4
v0.9.3-rc3
v0.9.3-rc2
v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1.21
v0.1.20
v0.1.19
v0.1.18
v0.1.17
v0.1.16
v0.1.15
v0.1.14
v0.1.13
v0.1.12
v0.1.11
v0.1.10
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.21
v0.0.20
v0.0.19
v0.0.18
v0.0.17
v0.0.16
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Labels
Clear labels
amd
api
app
bug
build
cli
cloud
compatibility
context-length
create
docker
documentation
embeddings
feature request
feedback wanted
good first issue
gpt-oss
gpu
harmony
help wanted
image
install
intel
js
launch
linux
macos
memory
mlx
model
needs more info
networking
nvidia
ollama.com
performance
pull-request
python
question
registry
rendering
thinking
tools
top
vulkan
windows
wsl
Mirrored from GitHub Pull Request
No Label
nvidia
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ollama#47676
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Motzumoto on GitHub (Jan 16, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2012
Originally assigned to: @dhiltgen on GitHub.
I do have cuda drivers installed:

@DragonBtc93 commented on GitHub (Jan 17, 2024):
I'm having the same issue
@Rushmore75 commented on GitHub (Jan 19, 2024):
same issue (but on "pure" linux (not wsl))
@mzhadigerov commented on GitHub (Jan 22, 2024):
Hi! Could you figure out why?
@Rushmore75 commented on GitHub (Jan 24, 2024):
not yet, but I'm tracking my adventure in issue #2065
@dhiltgen commented on GitHub (Jan 27, 2024):
@Motzumoto can you share the server log so we can see why it's not running on the GPU?
https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues
@Motzumoto commented on GitHub (Jan 29, 2024):
heres my log:
log.txt
@BrujitoOz commented on GitHub (Jan 30, 2024):
I think I have a similar issue. I decided to run Ollama building from source on my WSL 2 to test my Nvidia MX130 GPU, which has compatibility 5.0.
The text generation is superior on speed compared to when I had Ollama installed with curl https://ollama.ai/install.sh | sh (which only accepted compatibility from 6.0). However, in my task manager, I don't see my Nvidia GPU being used; it always stays at 0%.
My device is a laptop with two GPUs: Intel(R) UHD Graphics 620 and Nvidia MX130. It's possible that it's using the Intel card.
In the logs, I saw this:
I think the "Unable to load CUDA management library" might have something to do with it.
@dhiltgen commented on GitHub (Jan 30, 2024):
@Motzumoto those logs are for 0.1.17 which is quite old (we're up to 0.1.22). That said, I do see it is running on your GPU, yet due to limited VRAM, is only able to load a very small percentage of the model, so most of the LLM is running on your CPU. If you run a smaller model that fits all or mostly in the VRAM, then you should see much better performance.
@dhiltgen commented on GitHub (Jan 30, 2024):
@BrujitoOz support for CC 5.0+ cards will come in 0.1.23 (not yet shipped)
@BrujitoOz commented on GitHub (Jan 30, 2024):
Nice. Do you know if the message:
"INFO Unable to load CUDA management library /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.525.147.05: nvml vram init failure: 9"
would be solved on 0.1.23 then? or is another problem that has nothing to do with ollama not using GPU?
@remy415 commented on GitHub (Jan 31, 2024):
@BrujitoOz The library loader attempts to load every detected library and will continue with the first one. As long as you have a valid libnvidia-ml.so* file in your LD_LIBRARY_PATH, it will load correctly. Try running 'export LD_LIBRARY_PATH="/usr/lib/wsl/lib/:$LD_LIBRARY_PATH" and see if you still get that error message. If it works, then you can add the export line to the bottom of your ~/.bashrc file for it to be loaded every time you log in.
That being said, the MX130 is an older card and the models I found had only 2GB of VRAM. If your laptop also has 2GB of VRAM, you will need a very small model to be able to use the GPU for acceleration.
@manzonif commented on GitHub (Feb 2, 2024):
Hi, I'm running ollama build on Windows . All seems to work, but my 4090 GPU it is completely ignored and all is processed by the CPU.
Heres my server log:
time=2024-02-02T04:35:58.549+01:00 level=INFO source=routes.go:983 msg="Listening on 127.0.0.1:11434 (version 0.0.0)"
time=2024-02-02T04:35:58.549+01:00 level=INFO source=payload_common.go:106 msg="Extracting dynamic libraries..."
time=2024-02-02T04:35:58.565+01:00 level=INFO source=payload_common.go:145 msg="Dynamic LLM libraries [cpu_avx2 cpu_avx cpu]"
[GIN] 2024/02/02 - 04:38:40 | 400 | 553µs | 127.0.0.1 | POST "/api/pull"
[GIN] 2024/02/02 - 04:38:55 | 200 | 3.4939971s | 127.0.0.1 | POST "/api/pull"
[GIN] 2024/02/02 - 04:46:46 | 200 | 503.6µs | 127.0.0.1 | HEAD "/"
[GIN] 2024/02/02 - 04:46:46 | 200 | 3.316ms | 127.0.0.1 | POST "/api/show"
[GIN] 2024/02/02 - 04:46:46 | 200 | 594.4µs | 127.0.0.1 | POST "/api/show"
time=2024-02-02T04:46:46.460+01:00 level=INFO source=gpu.go:94 msg="Detecting GPU type"
time=2024-02-02T04:46:46.461+01:00 level=INFO source=gpu.go:242 msg="Searching for GPU management library nvml.dll"
time=2024-02-02T04:46:46.468+01:00 level=INFO source=gpu.go:288 msg="Discovered GPU libraries: [c:\Windows\System32\nvml.dll c:\windows\system32\nvml.dll]"
time=2024-02-02T04:46:46.481+01:00 level=INFO source=gpu.go:99 msg="Nvidia GPU detected"
time=2024-02-02T04:46:46.481+01:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
time=2024-02-02T04:46:46.499+01:00 level=INFO source=gpu.go:146 msg="CUDA Compute Capability detected: 8.9"
time=2024-02-02T04:46:46.499+01:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
time=2024-02-02T04:46:46.500+01:00 level=INFO source=gpu.go:146 msg="CUDA Compute Capability detected: 8.9"
time=2024-02-02T04:46:46.501+01:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
...
...
llm_load_print_meta: model size = 3.56 GiB (4.54 BPW)
llm_load_print_meta: general.name = LLaMA v2
llm_load_print_meta: BOS token = 1 '
''llm_load_print_meta: EOS token = 2 '
llm_load_print_meta: UNK token = 0 ''
llm_load_print_meta: LF token = 13 '<0x0A>'
llm_load_tensors: ggml ctx size = 0.11 MiB
llm_load_tensors: offloading 32 repeating layers to GPU
llm_load_tensors: offloading non-repeating layers to GPU
llm_load_tensors: offloaded 33/33 layers to GPU
llm_load_tensors: CPU buffer size = 3647.87 MiB
..................................................................................................
llama_new_context_with_model: n_ctx = 2048
llama_new_context_with_model: freq_base = 10000.0
llama_new_context_with_model: freq_scale = 1
llama_kv_cache_init: CPU KV buffer size = 1024.00 MiB
llama_new_context_with_model: KV self size = 1024.00 MiB, K (f16): 512.00 MiB, V (f16): 512.00 MiB
llama_new_context_with_model: CPU input buffer size = 12.01 MiB
llama_new_context_with_model: CPU compute buffer size = 167.20 MiB
llama_new_context_with_model: graph splits (measure): 1
time=2024-02-02T04:46:48.303+01:00 level=INFO source=dyn_ext_server.go:156 msg="Starting llama main loop"
[GIN] 2024/02/02 - 04:46:48 | 200 | 2.2425064s | 127.0.0.1 | POST "/api/chat"
time=2024-02-02T04:49:11.006+01:00 level=INFO source=dyn_ext_server.go:170 msg="loaded 0 images"
[GIN] 2024/02/02 - 04:49:33 | 200 | 22.3927047s | 127.0.0.1 | POST "/api/chat"
@dhiltgen commented on GitHub (Feb 2, 2024):
@manzonif it looks like it's not detecting the CUDA libraries, and only building for CPU usage. We try to find where CUDA is installed, but that requires
nvcc.exeto be in your path - here's where that logic lives - https://github.com/ollama/ollama/blob/main/llm/generate/gen_windows.ps1#L17We're still refining things, but the dev guide for windows is here - https://github.com/ollama/ollama/blob/main/docs/development.md#windows
@remy415 commented on GitHub (Feb 2, 2024):
@manzonif that’s weird, It detects your GPU and even says loading layers into GPU, then loads it onto cpu. Not seeing CUDA listed in llama.cpp
@remy415 commented on GitHub (Feb 2, 2024):
@dhiltgen gpu.go detected nvml.dll, payload_common.go didn’t
@manzonif commented on GitHub (Feb 2, 2024):
@dhiltgen Thanks for reply, I followed your dev guide, it is linked in my previous post.
Actually nvcc.exe is in the CUDA toolkit folder: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin
As @remy415 pointed out, it seems to be recognized in my log. Should I perhaps copy nvcc.exe to the ollama directory?
time=2024-02-02T07:32:57.232+01:00 level=INFO source=dyn_ext_server.go:383 msg="Updating PATH to C:\Users\Fausto\AppData\Local\Temp\ollama2003462564\cpu_avx2;C:\Users\Fausto\anaconda3\condabin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\libnvvp;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\libnvvp;c:\program files\nvidia gpu computing toolkit\cuda\v11.3\bin;c:\program files\nvidia gpu computing toolkit\cuda\v11.3\libnvvp;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\windows\system32\openssh\;c:\program files\nvidia corporation\nvidia nvdlisr;c:\users\fausto\appdata\roaming\nvm;c:\program files\microsoft\web platform installer\;c:\program files\git\cmd;c:\program files\docker\docker\resources\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\dotnet\;C:\Users\Fausto\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1\;C:\Users\Fausto\go\bin;C:\Users\Fausto\scoop\apps\gcc\current\bin;C:\Users\Fausto\scoop\shims;C:\Users\Fausto\.cargo\bin;C:\Users\Fausto\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\Fausto\AppData\Local\Programs\Python\Python310\;C:\Users\Fausto\AppData\Local\Microsoft\WindowsApps;C:\Users\Fausto\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Fausto\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\ffmpeg\ffmpeg.exe;C:\Users\Fausto\.dotnet\tools;C:\Users\Fausto\AppData\Local\Android\Sdk\tools;C:\Users\Fausto\AppData\Local\Android\Sdk\platform-tools;C:\gradle-8.3\bin;C:\Program Files\Java\jdk-17\bin;C:\Users\Fausto\anaconda3\Scripts"
loading library C:\Users\Fausto\AppData\Local\Temp\ollama2003462564\cpu_avx2\ext_server.dll
time=2024-02-02T07:32:57.262+01:00 level=INFO source=dyn_ext_server.go:90 msg="Loading Dynamic llm server: C:\Users\Fausto\AppData\Local\Temp\ollama2003462564\cpu_avx2\ext_server.dll"
@manzonif commented on GitHub (Feb 2, 2024):
Resolved! I set the CUDA_LIB_DIR and CUDACXX environment variables in the corresponding toolkit directories, recompiled, and now it works perfectly.
The only thing is that I have to start the server separately, otherwise I get:
Error: Head "http://127.0.0.1:11434/": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it.
@BrujitoOz commented on GitHub (Feb 2, 2024):
I just uninstalled libnvidia-ml.so.525.147.05 to have libnvidia-ml.so.1 as the first option
so the "INFO Unable to load CUDA management library ... nvml vram init failure: 9" is no more
although I've enabled debug mode with export OLLAMA_DEBUG=1 and rebuild again to see what happen and found this:
what nvmlDeviceGetBoardPartNumber and nvmlDeviceGetSerial means? task manager still shows 0% usage on GPU, even with small models like tinyllama
@remy415 commented on GitHub (Feb 2, 2024):
Yes, the Ollama binary does both the serving and the front end, this is expected behavior.
nvmlDeviceGetBoardPartNumber and nvmlDeviceGetSerial are informational messages only and don't otherwise affect the application. You can ignore them.
tinyllama looks cool, I'll have to check it out. Can you paste the rest of the log? Tinyllama is only supposed to take ~600-700MB of memory but it looks like something else is occupying ~2GB of your VRAM, do you have any other applications running GPU-intensive tasks?
@BrujitoOz commented on GitHub (Feb 4, 2024):
I downloaded version v0.1.23 of Olama, and now the GPU is used, thanks for all the help everyone.
@HyperUpscale commented on GitHub (Feb 17, 2024):
How did you install version v0.1.23?
Do you have a link ...
@remy415 commented on GitHub (Feb 17, 2024):
https://www.ollama.com
@HyperUpscale commented on GitHub (Feb 17, 2024):
WOW, You are way too smart, my mind can't comprehend the brilliance of the solution provided.
Still looking for a simple way to get a previous version and a way to install so I can test.
@remy415 commented on GitHub (Feb 17, 2024):
You asked for a link, I gave you a link. v0.1.23 was the current version ~2 weeks ago when they posted that message. They likely downloaded it from https://www.ollama.com, as I said. There isn’t a versioned download that I could find, which makes sense given the “in development” status indicated by the version being below 1.0.
There’s generally no reason to downgrade your version unless the current version is giving you issues when the older one didn’t, which you haven’t indicated is the situation. If you want an older version, you’ll need to download a previous commit and build it yourself locally. There’s instructions in the developers guide. Good luck.
@Motzumoto commented on GitHub (Feb 20, 2024):
Are there any LLM's you can suggest that are good for coding support? Im planning on integrating this into a discord bot to assist people with their programming issues. I went with mixtral because it says on hugging face that its "exceptionally good" at coding.
@dhiltgen commented on GitHub (Mar 11, 2024):
It sounds like the original issue has been resolved. @Motzumoto folks on our Discord channel might have suggestions for smaller coding models, but in general most of the coding models I've used are larger.