mirror of
https://github.com/ollama/ollama.git
synced 2026-05-06 16:11:34 -05:00
Closed
opened 2026-04-22 04:26:12 -05:00 by GiteaMirror
·
40 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
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#27257
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 @saamerm on GitHub (Feb 17, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2555
Originally assigned to: @dhiltgen on GitHub.
ollama run dolphin-phion a Linux (works fine on Mac), I get this errorError: Post "http://127.0.0.1:11434/api/chat": EOF.I have a feeling that the error is originating from the Chat function of api/client.go which gets called by loadModel in cmd/interactive.go which gets called by
generateInteractive()in the same file which itself is called by the RunHandler in cmd/cmd.go.Within that Chat() function, I'm guessing that the issue is coming from the
stream()function in the same file, but I can't tell what line it might be originating from@remy415 commented on GitHub (Feb 20, 2024):
"ollama -v" just prints the version information. If you want verbose output,
export OLLAMA_DEBUG="1"is what you want.Without logs, there isn't much to do since the message
http://127.0.0.1:11434/api/chat: EOFjust means the server had an issue. In my case, I was seeing that message when I was developing and had a segfault due to a typo. Try running it again with the above environment variable set and if you get the same issue, the more verbose log should help pinpoint.@tincore commented on GitHub (Feb 21, 2024):
Thanks for all the hard work.
I'm running on 0.1.25 and this error just happened to me when trying to run the 'gemma' models.
ollama.log
Other models that I downloaded recently are working fine (including dolphin-phi)
@remy415 commented on GitHub (Feb 21, 2024):
Could you set
export OLLAMA_DEBUG="1"and run it again please?Though if it's just for dolphin-phi, maybe the model was compiled incorrectly or in a new way that isn't quite supported
@tincore commented on GitHub (Feb 21, 2024):
Thanks for the quick reply.
Actually I've just realized that you released 0.1.26.
I've upgraded and now it's working fine ;)
@musab commented on GitHub (Feb 22, 2024):
[MacOS]
I closed the "Ollama" app from the Mac menu bar. Reopened it and after a minute or so, I had the option to "Update" from the menu bar icon. This fixed the issue OP is reporting.
@wszme commented on GitHub (Feb 22, 2024):
Have you solved this problem?
sudo ollama run gemma:7b
Error: Post "http://127.0.0.1:11434/api/chat": EOF
@tincore commented on GitHub (Feb 22, 2024):
@wszme For me it was fixed after updating to latest version.
As a side note (there is another issue about this [https://github.com/ollama/ollama/issues/2650]) Gemma:7b is not running great atm.
@wszme commented on GitHub (Feb 22, 2024):
@tincore how to run at latest version ?
@jafarzzz commented on GitHub (Feb 22, 2024):
I fixed it by upgrading the ollama to 0.1.26. You wont be able to do it from the application. Uninstall the ollama and download the latest one from: https://ollama.com/
gemma:7b worked after this fix.
@wszme commented on GitHub (Feb 22, 2024):
@jafarzzz so thanks, I have taken care of it through your method.
@andreaganduglia commented on GitHub (Feb 22, 2024):
I can confirm that version
0.1.26resolves this issue.@wszme commented on GitHub (Feb 22, 2024):
@andreaganduglia yes
$ollama -v
ollama version is 0.1.26
@Jamaludiin commented on GitHub (Feb 24, 2024):
Install the latest version of ollama
ollama version is 0.1.27
because the gemma was just released in ollama repo
@ketsapiwiq commented on GitHub (Feb 24, 2024):
Hi!
I have the same error on 0.1.27 and no debug output sadly.
I'm on ROCm which may be linked? But I can use llama.cpp with CPU or with my ROCm GPU.
@Jamaludiin commented on GitHub (Feb 24, 2024):
@ketsapiwiq I am only using the default ollama run gemma not the ollama run gemma:2b . May be other steps can help.
@remy415 commented on GitHub (Feb 24, 2024):
@ketsapiwiq theres a different syntax to get debug enabled when running as a service.
First edit the ollama service file
sudo nano /etc/systemd/system/ollama.serviceAdd the environment variable to it
Then restart the service. Daemon-reload has the service reload their configuration files.
Now when you view your logs it will be with debug enabled. Note that if you are running ollama serve from the command line, you would do it the way you quoted
OLLAMA_DEBUG=“1” ollama serveOr export the variable so it stays enabled on your current terminal session
export OLLAMA_DEBUG=“1”@ketsapiwiq commented on GitHub (Feb 25, 2024):
Thank you!
Sorry I could have guessed / tried.
So here's what I get, a
free (): invalid pointer.I'm open to try to recompile ollama, normally I use options such as
make HIP_VISIBLE_DEVICES="0" LLAMA_HIPBLAS=1to get llama stuff working with my GPU (RX 6750 XT).@remy415 commented on GitHub (Feb 25, 2024):
I don’t know a lot about amd gpus, I haven’t used one in a very long time. But I see two errant things going on: it looks as though amd.go isn’t finding the expected item at /sys/module/gpu/version. Then something in the background C code is attempting to free a null pointer, possibly a pointer assigned by that item.
Perhaps something was incorrect during the installation process or an incorrect version. You could always try to reinstall the AMD driver https://www.amd.com/en/support/kb/faq/amdgpu-installation. Again, have to stress I don’t know much about AMD gpus so I’m just kinda brainstorming ideas. If you installed the Open version, try installing the Pro version and vice versa.
Sorry, wish I had more ideas for you. I know ollama is in the process of changing some of the AMD driver loading, but I don’t have an AMD gpu to test anything so I can’t really debug it. They may have a bug fix coming soon
@remy415 commented on GitHub (Feb 25, 2024):
@ketsapiwiq I have some theories. I've tried to implement a fix in a fork of Ollama, if you'd like to test it out I can help you with that.
First, ensure you have the proper go runtime, cmake, and gcc compilers.
Then:
git clone https://github.com/remy415/ollama.gitcd ollamago generate ./... && go build .OLLAMA_DEBUG=1 ./ollama serveIf I'm right, then I'll submit a bug fix to clean that up.
@remy415 commented on GitHub (Feb 25, 2024):
@ketsapiwiq Nevermind, I played around with it some more and determined that my fix isn't relevant to this problem. I'll poke around some more and update if I find anything.
@remy415 commented on GitHub (Feb 25, 2024):
The only way I was able to replicate the error message
free(): invalid pointerin C was to callfree(test);withchar test;(int, char, float...anything that isn't a pointer assignment). Even if I didfree(&test), it still reported invalid pointer.If I initialize it with malloc, even if the pointer is null it doesn't error.
In Go, I was unable to replicate the error, even by calling cgo calls. The Go compiler will properly identify that it is not an "unsafe pointer" (i.e. something that has been heap-allocated with
malloc(),calloc(), etc). I formatted the example code to be almost exactly the same as the code seen in dyn_ext_server.go:I'm still relatively new to C/C++/Golang programming, so I may have missed something -- if so, someone please correct me. But as it stands, my logical assumption is that somewhere in the C-code being imported into ollama is calling a
free()on a memory address that isn't heap-allocated memory.Side note: can anyone confirm this error still presents in the updated Ollama? I'm not finding it with the NVidia GPU systems I've run it on.
@remy415 commented on GitHub (Feb 26, 2024):
@ketsapiwiq have you tried installing rocm_v6 as per #2411 ?
@saamerm commented on GitHub (Feb 28, 2024):
Tried to update but that didn't help. I was able to follow instructions and do the
OLLAMA_DEBUG=1 ollama run dolphin-phiand then did asudo journalctl --no-pager -u ollamato get these logs: https://pastebin.com/9ZQVkuh1Still not sure what the problem is though
@ketsapiwiq commented on GitHub (Feb 28, 2024):
Thank you, doing that at the moment. That's probably it, I had not seen the specific ROCm instructions in https://github.com/ollama/ollama/blob/main/docs/development.md#linux-rocm-amd
There's also a nice
aur/ollama-rocm-gitpackage in Arch that looks interesting.@remy415 commented on GitHub (Feb 28, 2024):
@saamerm
Since you are running it as a service according to your logs, you need to add the env variable to your service file.
@ketsapiwiq Awesome, hope rocm_v6 helps. Let me know please
@ketsapiwiq commented on GitHub (Feb 28, 2024):
@remy415
Thank you so much, it works!!!
EDIT: apparently nothing except the CLBlast_DIR and ROCM_PATH wars were useful
List of env vars I included:
For the record, I don't know if those had an effect:
amdgpu-dkms(which seemed to fail previously), although I didn't even reboot and I still don't have/sys/module/amdgpu/version@remy415 commented on GitHub (Feb 28, 2024):
@ketsapiwiq If you're interested in figuring out if those had an effect, simply remove them and add them one by one (singularly) until it works. Conversely you could remove them one at a time until it doesn't work.
Anyway congrats I'm glad you got it working!
@cinnamon17 commented on GitHub (Mar 10, 2024):
Hi i'm having the same error: Error: Post "http://127.0.0.1:11434/api/chat": EOF | Error: exception std::bad_alloc
model: gemma:2b
ollama version: 0.1.28
Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_ctx_train = 8192Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_embd = 2048Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_head = 8Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_head_kv = 1Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_layer = 18Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_rot = 256Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_embd_head_k = 256Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_embd_head_v = 256Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_gqa = 8Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_embd_k_gqa = 256Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_embd_v_gqa = 256Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: f_norm_eps = 0.0e+00Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: f_norm_rms_eps = 1.0e-06Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: f_clamp_kqv = 0.0e+00Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: f_max_alibi_bias = 0.0e+00Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_ff = 16384Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_expert = 0Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_expert_used = 0Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: pooling type = 0Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: rope type = 2Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: rope scaling = linearMar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: freq_base_train = 10000.0Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: freq_scale_train = 1Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: n_yarn_orig_ctx = 8192Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: rope_finetuned = unknownMar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: model type = 2BMar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: model ftype = Q4_0Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: model params = 2.51 BMar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: model size = 1.56 GiB (5.34 BPW)Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: general.name = gemma-2b-itMar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: BOS token = 2 '<bos>'Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: EOS token = 1 '<eos>'Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: UNK token = 3 '<unk>'Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: PAD token = 0 '<pad>'Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_print_meta: LF token = 227 '<0x0A>'Mar 10 13:02:27 ip-172-26-15-150 ollama[3649052]: llm_load_tensors: ggml ctx size = 0.06 MiBMar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: llm_load_tensors: CPU buffer size = 1594.93 MiBMar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: .....................................................Mar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: llama_new_context_with_model: n_ctx = 2048Mar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: llama_new_context_with_model: freq_base = 10000.0Mar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: llama_new_context_with_model: freq_scale = 1Mar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: llama_kv_cache_init: CPU KV buffer size = 36.00 MiBMar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: llama_new_context_with_model: KV self size = 36.00 MiB, K (f16): 18.00 MiB, V (f16): 18.00 MiBMar 10 13:02:53 ip-172-26-15-150 ollama[3649052]: time=2024-03-10T13:02:53.818Z level=WARN source=llm.go:162 msg="Failed to load dynamic library /tmp/ollama3814554119/cpu_avx2/libext_server.so exception std::bad_alloc"@remy415 commented on GitHub (Mar 10, 2024):
@cinnamon17 Hello, could you please provide more information?
Needed:
OS, CPU, GPU, driver version number, and the rest of the server log. It would appear you are currently running the avx_2 build as displayed with
/tmp/ollama3814554119/cpu_avx2/libext_server.so exception std::bad_alloc. If you're running a CPU that doesn't have AVX2 (Intel prior to Haswell circa ~2013 or so) or any ARM processor (Mac M1/2/3, Jetson devices), that build will fail as it's trying to access CPU extensions that aren't present.@cinnamon17 commented on GitHub (Mar 10, 2024):
@remy415 Hi!
CPU: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
OS: Debian GNU/Linux 11 (bullseye) x86_64
GPU: 00:02.0 Cirrus Logic GD 5446 - I don't have one, is a hosting server but this is what it prints
Extended log:
ollama.log
@remy415 commented on GitHub (Mar 10, 2024):
@cinnamon17 Thank you! How much RAM is available to your hosted server? The log is reporting ~1.5 Gb available to the CPU, maybe the model is too large for the amount of free memory? Try
ollama run tinyllamaand see if that works correctly -- that only occupies ~700Mb of RAM.I may have been wrong about the AVX2 being the issue, if so I apologize. If you enter
cat /proc/cpuinfo | grep -i avx, can you confirm the presence ofavx2in the list anywhere? That would rule that out as an issue.@cinnamon17 commented on GitHub (Mar 10, 2024):
It worked! how much memory requires large models? I have 2 GB of ram available
The result of running
cat /proc/cpuinfo | grep -i avxis:flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt@remy415 commented on GitHub (Mar 10, 2024):
With 2GB of RAM, you won't be able to run much. Most 7b LLMs eat 4-8GB of RAM. The gemma:2b you tried to run is ~1.5GB in size (your system reported ~1.5GB free). Ollama automatically sets 10% or 1GB of buffer space, whichever is lower; this would limit your model size on your system to <1GB.
@cinnamon17 commented on GitHub (Mar 10, 2024):
@remy415 I see, I'll upgrade the RAM memory. Thank you for your time; I really appreciate that.
@remy415 commented on GitHub (Mar 10, 2024):
Not a problem, good luck!
@dhiltgen commented on GitHub (Mar 11, 2024):
@saamerm are you still having trouble running dolphin-phi on a linux system?
If so, can you try upgrading to the latest release and share your server log?
(I just tried to repro on 0.1.29 with a Nvidia GT 1030 GPU (4G) and the model loads and works properly for me)
@pjbrunet commented on GitHub (Mar 12, 2024):
I just get this error with starcoder2
And same error if I do this...
ollama rm starcoder2:15b
ollama run starcoder2
No problem with other models.
ollama version is 0.1.28
@miharekar commented on GitHub (Mar 12, 2024):
@pjbrunet that's the issue we discussed in #2953. I got it to run by building ollama myself.
@dhiltgen commented on GitHub (Mar 13, 2024):
There may be multiple different topics in this issue. @saamerm can you clarify what GPU you have, or is this a CPU only system? Your log earlier showed no GPU being detected, but other commenters on this ticket are on Radeon systems with iGPUs. I just fixed an iGPU discovery bug yesterday which will make its way into the final 0.1.29 release. (updated builds with the fix should be posted later today)
@dhiltgen commented on GitHub (Apr 15, 2024):
It sounds like @saamerm is no longer having his original problem.
If folks who commented on this PR are still having problems, please open a new issue describing your problem, and share your server log so we can try to understand what went wrong.