[GH-ISSUE #11673] ollama run gpt-oss:20b Error: template: :3: function "currentDate" not defined #69779

Closed
opened 2026-05-04 19:11:18 -05:00 by GiteaMirror · 53 comments
Owner

Originally created by @LaptopDev on GitHub (Aug 5, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11673

What is the issue?

ollama run gpt-oss:20b
Error: template: :3: function "currentDate" not defined

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @LaptopDev on GitHub (Aug 5, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11673 ### What is the issue? `ollama run gpt-oss:20b` `Error: template: :3: function "currentDate" not defined` ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-05-04 19:11:18 -05:00
Author
Owner

@SplittyDev commented on GitHub (Aug 5, 2025):

Getting the same here on macOS, compiled from source.
Running with OLLAMA_DEBUG=1 doesn't show anything either.

Update 1: A few people have suggested using the official dmg published as part of the release.
This works when used via the UI, but does not work when using the CLI.

Update 2: Someone mentioned building locally from the gpt-oss branch works.
This works! Just run go build, and then use ./ollama for all your commands.

<!-- gh-comment-id:3156042742 --> @SplittyDev commented on GitHub (Aug 5, 2025): Getting the same here on macOS, compiled from source. Running with `OLLAMA_DEBUG=1` doesn't show anything either. **Update 1**: A few people have suggested __using the official dmg__ published as part of the release. This __works__ when used via the UI, but does not work when using the CLI. **Update 2**: Someone mentioned building locally from the `gpt-oss` branch works. This **works**! Just run `go build`, and then use `./ollama` for all your commands.
Author
Owner

@isdennu commented on GitHub (Aug 5, 2025):

Similar problem.
OS
Arch linux (docker)

GPU
RX 7800

CPU
7900x

Ollama version
0.11.0

<!-- gh-comment-id:3156120510 --> @isdennu commented on GitHub (Aug 5, 2025): Similar problem. OS Arch linux (docker) GPU RX 7800 CPU 7900x Ollama version 0.11.0
Author
Owner

@HuChundong commented on GitHub (Aug 5, 2025):

13900KF + 4090GPU,same error
ubuntu in wsl2

<!-- gh-comment-id:3156131058 --> @HuChundong commented on GitHub (Aug 5, 2025): 13900KF + 4090GPU,same error ubuntu in wsl2
Author
Owner

@boriitoo commented on GitHub (Aug 5, 2025):

Same error here, m4 pro.

<!-- gh-comment-id:3156131731 --> @boriitoo commented on GitHub (Aug 5, 2025): Same error here, m4 pro.
Author
Owner

@labrat97 commented on GitHub (Aug 5, 2025):

It seems that the modelfile is using templates which rely on functions that aren't present. I don't think it is a hardware issue; it looks like it's time for another version increase.

<!-- gh-comment-id:3156138152 --> @labrat97 commented on GitHub (Aug 5, 2025): It seems that the modelfile is using templates which rely on functions that aren't present. I don't think it is a hardware issue; it looks like it's time for another version increase.
Author
Owner

@oOPa commented on GitHub (Aug 5, 2025):

Same here on 9800X3D + RTX 5090 on Ubuntu 24.04.2 LTS

<!-- gh-comment-id:3156139203 --> @oOPa commented on GitHub (Aug 5, 2025): Same here on 9800X3D + RTX 5090 on Ubuntu 24.04.2 LTS
Author
Owner

@HuChundong commented on GitHub (Aug 5, 2025):

and other question, if 120b can run on 4x2080ti 22gb? i do not know if MXFP4 can support sm75 nvidia gpu.

<!-- gh-comment-id:3156141561 --> @HuChundong commented on GitHub (Aug 5, 2025): and other question, if 120b can run on 4x2080ti 22gb? i do not know if MXFP4 can support sm75 nvidia gpu.
Author
Owner

@xxnuo commented on GitHub (Aug 5, 2025):

Same error, m4

<!-- gh-comment-id:3156148812 --> @xxnuo commented on GitHub (Aug 5, 2025): Same error, m4
Author
Owner

@adam91holt commented on GitHub (Aug 5, 2025):

Same m4

<!-- gh-comment-id:3156167515 --> @adam91holt commented on GitHub (Aug 5, 2025): Same m4
Author
Owner

@Jotschi commented on GitHub (Aug 5, 2025):

I patched the chat template but it still does not work. I got:

gguf_init_from_file_impl: tensor 'blk.0.ffn_down_exps.weight' of type 4 (DEPRECATED) has 2880 elements per row, not a multiple of block size (0)
gguf_init_from_file_impl: failed to read tensor info

I'm on Driver Version: 570.144 - CUDA Version: 12.8 (Linux)

<!-- gh-comment-id:3156168631 --> @Jotschi commented on GitHub (Aug 5, 2025): I patched the chat template but it still does not work. I got: ``` gguf_init_from_file_impl: tensor 'blk.0.ffn_down_exps.weight' of type 4 (DEPRECATED) has 2880 elements per row, not a multiple of block size (0) gguf_init_from_file_impl: failed to read tensor info ``` I'm on Driver Version: 570.144 - CUDA Version: 12.8 (Linux)
Author
Owner

@Anon33M00se commented on GitHub (Aug 5, 2025):

ditto

<!-- gh-comment-id:3156168968 --> @Anon33M00se commented on GitHub (Aug 5, 2025): ditto
Author
Owner

@Expro commented on GitHub (Aug 5, 2025):

What's best that the same error prevents Ollama from... deleting the model. Spaghetti code?

<!-- gh-comment-id:3156169344 --> @Expro commented on GitHub (Aug 5, 2025): What's best that the same error prevents Ollama from... deleting the model. Spaghetti code?
Author
Owner

@DoiiarX commented on GitHub (Aug 5, 2025):

Same 3090Ti GPU

<!-- gh-comment-id:3156178659 --> @DoiiarX commented on GitHub (Aug 5, 2025): Same 3090Ti GPU
Author
Owner

@prafmathur commented on GitHub (Aug 5, 2025):

Same issue M4 pro - its not working in the app either

<!-- gh-comment-id:3156179511 --> @prafmathur commented on GitHub (Aug 5, 2025): Same issue M4 pro - its not working in the app either
Author
Owner

@TrisShare commented on GitHub (Aug 5, 2025):

same issue - WSL Ubuntu (gpt-oss:20b)

<!-- gh-comment-id:3156183993 --> @TrisShare commented on GitHub (Aug 5, 2025): same issue - WSL Ubuntu (gpt-oss:20b)
Author
Owner

@Keartland commented on GitHub (Aug 5, 2025):

root@keart:~# curl -fsSL https://ollama.com/install.sh | sh
>>> Cleaning up old version at /usr/local/lib/ollama
>>> Installing ollama to /usr/local
>>> Downloading Linux amd64 bundle
######################################################################## 100.0%
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
>>> The Ollama API is now available at 127.0.0.1:11434.
>>> Install complete. Run "ollama" from the command line.
WARNING: No NVIDIA/AMD GPU detected. Ollama will run in CPU-only mode.

root@keart:~# ollama run gpt-oss:20b
Error: template: :3: function "currentDate" not defined

root@keart:~# ollama rm gpt-oss:20b
Error: unable to stop existing running model "gpt-oss:20b": 500 Internal Server Error: template: :3: function "currentDate" not defined

root@keart:~# uname -a
Linux keart 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Same error on Ubuntu 24.04

<!-- gh-comment-id:3156186230 --> @Keartland commented on GitHub (Aug 5, 2025): ``` root@keart:~# curl -fsSL https://ollama.com/install.sh | sh >>> Cleaning up old version at /usr/local/lib/ollama >>> Installing ollama to /usr/local >>> Downloading Linux amd64 bundle ######################################################################## 100.0% >>> Adding ollama user to render group... >>> Adding ollama user to video group... >>> Adding current user to ollama group... >>> Creating ollama systemd service... >>> Enabling and starting ollama service... >>> The Ollama API is now available at 127.0.0.1:11434. >>> Install complete. Run "ollama" from the command line. WARNING: No NVIDIA/AMD GPU detected. Ollama will run in CPU-only mode. root@keart:~# ollama run gpt-oss:20b Error: template: :3: function "currentDate" not defined root@keart:~# ollama rm gpt-oss:20b Error: unable to stop existing running model "gpt-oss:20b": 500 Internal Server Error: template: :3: function "currentDate" not defined root@keart:~# uname -a Linux keart 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ``` Same error on Ubuntu 24.04
Author
Owner

@jhodges10 commented on GitHub (Aug 5, 2025):

Same issue here with M4. I just manually erased the model and then re-installed via the app and that didn't work either. Still getting the currentDate not defined issue.

time=2025-08-05T11:30:40.661-07:00 level=ERROR source=ui.go:613 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b
time=2025-08-05T11:30:40.661-07:00 level=INFO source=.:0 msg="http: superfluous response.WriteHeader call from github.com/ollama/app/ui.(*statusRecorder).WriteHeader (ui.go:51)"
time=2025-08-05T11:30:40.661-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP panic="runtime error: invalid memory address or nil pointer dereference" request_id=1754418640092944000 http.method=POST http.path=/api/v1/chat/new http.pattern="POST /api/v1/chat/{id}" http.status=500 http.d=568.8125ms request_id=1754418640092944000 version=0.11.0
time=2025-08-05T11:30:40.661-07:00 level=INFO source=.:0 msg="http: panic serving 127.0.0.1:50754: runtime error: invalid memory address or nil pointer dereference\ngoroutine 262 [running]:\nnet/http.(*conn).serve.func1()\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:1947 +0xb0\npanic({0x102c43180?, 0x102f77580?})\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/runtime/panic.go:792 +0x124\ngithub.com/ollama/app/ui.(*Server).Handler.(*Server).Handler.func1.func6.1()\n\t/Users/runner/work/app/app/ui/ui.go:178 +0x37c\npanic({0x102c43180?, 0x102f77580?})\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/runtime/panic.go:792 +0x124\ngithub.com/ollama/app/ui.(*Server).handlePostApiChat(0x1400024c150, {0x102cc5ca8, 0x1400021b038}, 0x140002ccf00)\n\t/Users/runner/work/app/app/ui/ui.go:615 +0x1168\ngithub.com/ollama/app/ui.(*Server).Handler.(*Server).Handler.func1.func6({0x102cc5be8, 0x140005a37a0}, 0x140002ccf00)\n\t/Users/runner/work/app/app/ui/ui.go:187 +0x400\nnet/http.HandlerFunc.ServeHTTP(0x140001c4180?, {0x102cc5be8?, 0x140005a37a0?}, 0x140000c3b10?)\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:2294 +0x38\nnet/http.(*ServeMux).ServeHTTP(0x10?, {0x102cc5be8, 0x140005a37a0}, 0x140002ccf00)\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:2822 +0x1b4\nnet/http.serverHandler.ServeHTTP({0x102cc41c8?}, {0x102cc5be8?, 0x140005a37a0?}, 0x6?)\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:3301 +0xbc\nnet/http.(*conn).serve(0x14000279560, {0x102cc61d0, 0x140001165d0})\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:2102 +0x52c\ncreated by net/http.(*Server).Serve in goroutine 22\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:3454 +0x3d8"
time=2025-08-05T11:30:40.741-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=77.267125ms request_id=1754418640664228000 version=0.11.0
time=2025-08-05T11:30:41.116-07:00 level=ERROR source=ui.go:1202 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b
time=2025-08-05T11:30:41.116-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=500 http.d=3.000334ms request_id=1754418641113191000 version=0.11.0
time=2025-08-05T11:30:43.125-07:00 level=ERROR source=ui.go:1202 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b
time=2025-08-05T11:30:43.125-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=500 http.d=4.034708ms request_id=1754418643121487000 version=0.11.0
time=2025-08-05T11:30:47.134-07:00 level=ERROR source=ui.go:1202 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b
time=2025-08-05T11:30:47.134-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=500 http.d=3.708458ms request_id=1754418647131155000 version=0.11.0
<!-- gh-comment-id:3156188974 --> @jhodges10 commented on GitHub (Aug 5, 2025): Same issue here with M4. I just manually erased the model and then re-installed via the app and that didn't work either. Still getting the currentDate not defined issue. ``` time=2025-08-05T11:30:40.661-07:00 level=ERROR source=ui.go:613 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b time=2025-08-05T11:30:40.661-07:00 level=INFO source=.:0 msg="http: superfluous response.WriteHeader call from github.com/ollama/app/ui.(*statusRecorder).WriteHeader (ui.go:51)" time=2025-08-05T11:30:40.661-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP panic="runtime error: invalid memory address or nil pointer dereference" request_id=1754418640092944000 http.method=POST http.path=/api/v1/chat/new http.pattern="POST /api/v1/chat/{id}" http.status=500 http.d=568.8125ms request_id=1754418640092944000 version=0.11.0 time=2025-08-05T11:30:40.661-07:00 level=INFO source=.:0 msg="http: panic serving 127.0.0.1:50754: runtime error: invalid memory address or nil pointer dereference\ngoroutine 262 [running]:\nnet/http.(*conn).serve.func1()\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:1947 +0xb0\npanic({0x102c43180?, 0x102f77580?})\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/runtime/panic.go:792 +0x124\ngithub.com/ollama/app/ui.(*Server).Handler.(*Server).Handler.func1.func6.1()\n\t/Users/runner/work/app/app/ui/ui.go:178 +0x37c\npanic({0x102c43180?, 0x102f77580?})\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/runtime/panic.go:792 +0x124\ngithub.com/ollama/app/ui.(*Server).handlePostApiChat(0x1400024c150, {0x102cc5ca8, 0x1400021b038}, 0x140002ccf00)\n\t/Users/runner/work/app/app/ui/ui.go:615 +0x1168\ngithub.com/ollama/app/ui.(*Server).Handler.(*Server).Handler.func1.func6({0x102cc5be8, 0x140005a37a0}, 0x140002ccf00)\n\t/Users/runner/work/app/app/ui/ui.go:187 +0x400\nnet/http.HandlerFunc.ServeHTTP(0x140001c4180?, {0x102cc5be8?, 0x140005a37a0?}, 0x140000c3b10?)\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:2294 +0x38\nnet/http.(*ServeMux).ServeHTTP(0x10?, {0x102cc5be8, 0x140005a37a0}, 0x140002ccf00)\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:2822 +0x1b4\nnet/http.serverHandler.ServeHTTP({0x102cc41c8?}, {0x102cc5be8?, 0x140005a37a0?}, 0x6?)\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:3301 +0xbc\nnet/http.(*conn).serve(0x14000279560, {0x102cc61d0, 0x140001165d0})\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:2102 +0x52c\ncreated by net/http.(*Server).Serve in goroutine 22\n\t/Users/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.3.darwin-arm64/src/net/http/server.go:3454 +0x3d8" time=2025-08-05T11:30:40.741-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=77.267125ms request_id=1754418640664228000 version=0.11.0 time=2025-08-05T11:30:41.116-07:00 level=ERROR source=ui.go:1202 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b time=2025-08-05T11:30:41.116-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=500 http.d=3.000334ms request_id=1754418641113191000 version=0.11.0 time=2025-08-05T11:30:43.125-07:00 level=ERROR source=ui.go:1202 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b time=2025-08-05T11:30:43.125-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=500 http.d=4.034708ms request_id=1754418643121487000 version=0.11.0 time=2025-08-05T11:30:47.134-07:00 level=ERROR source=ui.go:1202 msg="failed to show model details" error="template: :3: function \"currentDate\" not defined" model=gpt-oss:20b time=2025-08-05T11:30:47.134-07:00 level=ERROR source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=500 http.d=3.708458ms request_id=1754418647131155000 version=0.11.0 ```
Author
Owner

@boriitoo commented on GitHub (Aug 5, 2025):

Do not use the command-line version. Models downloaded via the command line will not work properly in the Ollama app, too. You must delete the models downloaded in ~/.ollama/models, then use the latest version of the Ollama app. Simply open a conversation with gpt-oss:20b and wait for the automatic download to complete, after which it will work normally.

This does not work for me. Im on OSX M4 Pro

<!-- gh-comment-id:3156189448 --> @boriitoo commented on GitHub (Aug 5, 2025): > **Do not use the command-line version.** Models downloaded via the command line will not work properly in the Ollama app, too. You must delete the models downloaded in `~/.ollama/models`, then use the latest version of the Ollama app. Simply open a conversation with gpt-oss:20b and wait for the automatic download to complete, after which it will work normally. This does not work for me. Im on OSX M4 Pro
Author
Owner

@itinance commented on GitHub (Aug 5, 2025):

With Ollama 0.11.0, running on M1 Pro using MacOS 14.7.2 (23H311), it works fine. On my Hetzner GPU with Ubuntu 12 and RTX 4000 I get the same bug as described in this issue

<!-- gh-comment-id:3156195672 --> @itinance commented on GitHub (Aug 5, 2025): With Ollama 0.11.0, running on M1 Pro using MacOS 14.7.2 (23H311), it works fine. On my Hetzner GPU with Ubuntu 12 and RTX 4000 I get the same bug as described in this issue
Author
Owner

@jbstavers commented on GitHub (Aug 5, 2025):

downloaded model via gui app, same error, MacBook M1 Pro

<!-- gh-comment-id:3156196406 --> @jbstavers commented on GitHub (Aug 5, 2025): downloaded model via gui app, same error, MacBook M1 Pro
Author
Owner

@sanjay3290 commented on GitHub (Aug 5, 2025):

same error, m4 pro

<!-- gh-comment-id:3156207077 --> @sanjay3290 commented on GitHub (Aug 5, 2025): same error, m4 pro
Author
Owner

@jsphbtst commented on GitHub (Aug 5, 2025):

Getting the same error on an M1 max macbook pro

❯ ollama run gpt-oss:20b --verbose
Error: template: :3: function "currentDate" not defined
<!-- gh-comment-id:3156207744 --> @jsphbtst commented on GitHub (Aug 5, 2025): Getting the same error on an M1 max macbook pro ``` ❯ ollama run gpt-oss:20b --verbose Error: template: :3: function "currentDate" not defined ```
Author
Owner

@tcsenpai commented on GitHub (Aug 5, 2025):

Same error, Linux 6.12.10-76061203-generic Pop-Os! , Ollama 0.11.0 , 4070 super ti

<!-- gh-comment-id:3156209768 --> @tcsenpai commented on GitHub (Aug 5, 2025): Same error, Linux 6.12.10-76061203-generic Pop-Os! , Ollama 0.11.0 , 4070 super ti
Author
Owner

@Meshwa428 commented on GitHub (Aug 5, 2025):

Same on Arch Linux here:

❯ ollama run gpt-oss:20b
Error: template: :3: function "currentDate" not defined
<!-- gh-comment-id:3156210302 --> @Meshwa428 commented on GitHub (Aug 5, 2025): Same on Arch Linux here: ``` ❯ ollama run gpt-oss:20b Error: template: :3: function "currentDate" not defined ```
Author
Owner

@xazqe commented on GitHub (Aug 5, 2025):

Can confirm the same error with the gpt-oss:120b model on M4 Max 128 GB 😿

<!-- gh-comment-id:3156212858 --> @xazqe commented on GitHub (Aug 5, 2025): Can confirm the same error with the gpt-oss:120b model on M4 Max 128 GB 😿
Author
Owner

@i0ntempest commented on GitHub (Aug 5, 2025):

Getting this in the server log with MacPorts build:

time=2025-08-06T04:23:23.174+10:00 level=INFO source=routes.go:1297 msg="server config" env="map[HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:8192 OLLAMA_DEBUG:INFO OLLAMA_FLASH_ATTENTION:true OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_KEEP_ALIVE:15m0s OLLAMA_KV_CACHE_TYPE:q8_0 OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/Volumes/WD SN850X/Ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NO_MMAP:true OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_SCHED_SPREAD:false http_proxy: https_proxy: no_proxy:]"
time=2025-08-06T04:23:23.177+10:00 level=INFO source=images.go:477 msg="total blobs: 87"
time=2025-08-06T04:23:23.178+10:00 level=INFO source=images.go:484 msg="total unused blobs removed: 0"
time=2025-08-06T04:23:23.179+10:00 level=INFO source=routes.go:1350 msg="Listening on 127.0.0.1:11434 (version 0.11.0)"
time=2025-08-06T04:23:23.206+10:00 level=INFO source=types.go:130 msg="inference compute" id=0 library=metal variant="" compute="" driver=0.0 name="" total="48.0 GiB" available="48.0 GiB"
[GIN] 2025/08/06 - 04:23:29 | 200 |      46.125µs |       127.0.0.1 | HEAD     "/"
[GIN] 2025/08/06 - 04:23:29 | 200 |   58.281792ms |       127.0.0.1 | POST     "/api/show"
time=2025-08-06T04:23:29.660+10:00 level=INFO source=sched.go:786 msg="new model will fit in available VRAM in single GPU, loading" model="/Volumes/WD SN850X/Ollama/models/blobs/sha256-b112e727c6f18875636c56a779790a590d705aec9e1c0eb5a97d51fc2a778583" gpu=0 parallel=1 available=51539607552 required="13.8 GiB"
time=2025-08-06T04:23:29.660+10:00 level=INFO source=server.go:135 msg="system memory" total="64.0 GiB" free="34.1 GiB" free_swap="0 B"
time=2025-08-06T04:23:29.660+10:00 level=INFO source=server.go:175 msg=offload library=metal layers.requested=-1 layers.model=25 layers.offload=25 layers.split="" memory.available="[48.0 GiB]" memory.gpu_overhead="0 B" memory.required.full="13.8 GiB" memory.required.partial="13.8 GiB" memory.required.kv="150.0 MiB" memory.required.allocations="[13.8 GiB]" memory.weights.total="11.7 GiB" memory.weights.repeating="10.7 GiB" memory.weights.nonrepeating="1.1 GiB" memory.graph.full="1.0 GiB" memory.graph.partial="1.0 GiB"
time=2025-08-06T04:23:29.660+10:00 level=INFO source=server.go:218 msg="enabling flash attention"
time=2025-08-06T04:23:29.688+10:00 level=INFO source=server.go:439 msg="starting llama server" cmd="/opt/local/bin/ollama runner --ollama-engine --model /Volumes/WD SN850X/Ollama/models/blobs/sha256-b112e727c6f18875636c56a779790a590d705aec9e1c0eb5a97d51fc2a778583 --ctx-size 8192 --batch-size 512 --n-gpu-layers 25 --threads 12 --flash-attn --kv-cache-type q8_0 --no-mmap --parallel 1 --port 61211"
time=2025-08-06T04:23:29.689+10:00 level=INFO source=sched.go:481 msg="loaded runners" count=1
time=2025-08-06T04:23:29.689+10:00 level=INFO source=server.go:599 msg="waiting for llama runner to start responding"
time=2025-08-06T04:23:29.690+10:00 level=INFO source=server.go:633 msg="waiting for server to become available" status="llm server not responding"
time=2025-08-06T04:23:29.699+10:00 level=INFO source=runner.go:925 msg="starting ollama engine"
time=2025-08-06T04:23:29.699+10:00 level=INFO source=runner.go:983 msg="Server listening on 127.0.0.1:61211"
time=2025-08-06T04:23:29.723+10:00 level=INFO source=ggml.go:92 msg="" architecture=gptoss file_type=MXFP4 name="" description="" num_tensors=315 num_key_values=30
time=2025-08-06T04:23:29.782+10:00 level=INFO source=ggml.go:104 msg=system Metal.0.EMBED_LIBRARY=1 Metal.0.BF16=1 CPU.0.ARM_FMA=1 CPU.0.FP16_VA=1 CPU.0.DOTPROD=1 CPU.0.LLAMAFILE=1 CPU.0.ACCELERATE=1 compiler=cgo(clang)
time=2025-08-06T04:23:29.941+10:00 level=INFO source=server.go:633 msg="waiting for server to become available" status="llm server loading model"
time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:367 msg="offloading 24 repeating layers to GPU"
time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:373 msg="offloading output layer to GPU"
time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:378 msg="offloaded 25/25 layers to GPU"
time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:381 msg="model weights" buffer=Metal size="11.7 GiB"
time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:381 msg="model weights" buffer=CPU size="1.1 GiB"
ggml_metal_init: allocating
ggml_metal_init: picking default device: Apple M4 Max
ggml_metal_load_library: using embedded metal library
ggml_metal_init: GPU name:   Apple M4 Max
ggml_metal_init: GPU family: MTLGPUFamilyApple9  (1009)
ggml_metal_init: GPU family: MTLGPUFamilyCommon3 (3003)
ggml_metal_init: GPU family: MTLGPUFamilyMetal3  (5001)
ggml_metal_init: simdgroup reduction   = true
ggml_metal_init: simdgroup matrix mul. = true
ggml_metal_init: has residency sets    = true
ggml_metal_init: has bfloat            = true
ggml_metal_init: use bfloat            = true
ggml_metal_init: hasUnifiedMemory      = true
ggml_metal_init: recommendedMaxWorkingSetSize  = 51539.61 MB
time=2025-08-06T04:23:30.229+10:00 level=INFO source=ggml.go:672 msg="compute graph" backend=Metal buffer_type=Metal size="2.1 GiB"
time=2025-08-06T04:23:30.229+10:00 level=INFO source=ggml.go:672 msg="compute graph" backend=BLAS buffer_type=CPU size="5.6 MiB"
time=2025-08-06T04:23:30.229+10:00 level=INFO source=ggml.go:672 msg="compute graph" backend=CPU buffer_type=CPU size="0 B"
time=2025-08-06T04:23:30.950+10:00 level=INFO source=server.go:638 msg="llama runner started in 1.26 seconds"
[GIN] 2025/08/06 - 04:23:30 | 200 |  1.367513334s |       127.0.0.1 | POST     "/api/generate"
ggml_metal_get_buffer: error: tensor 'leaf_7 (view)' buffer is nil
ggml_metal_get_buffer: error: tensor 'leaf_7 (view) (copy of  (view) (permuted))' buffer is nil
ggml-metal.m:4848: GGML_ASSERT(ne0 % ggml_blck_size(dst->type) == 0) failed
SIGABRT: abort
PC=0x192c71388 m=7 sigcode=0
signal arrived during cgo execution

goroutine 6 gp=0x140001036c0 m=7 mp=0x14000390008 [syscall]:
runtime.cgocall(0x10336f758, 0x14000117a38)
	/opt/local/lib/go/src/runtime/cgocall.go:167 +0x44 fp=0x140001179f0 sp=0x140001179b0 pc=0x102860d34
github.com/ollama/ollama/ml/backend/ggml._Cfunc_ggml_backend_sched_graph_compute_async(0x15397c400, 0x1317c9890)
	_cgo_gotypes.go:876 +0x34 fp=0x14000117a30 sp=0x140001179f0 pc=0x102c2d864
github.com/ollama/ollama/ml/backend/ggml.(*Context).Compute.func1(...)
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/ml/backend/ggml/ggml.go:631
github.com/ollama/ollama/ml/backend/ggml.(*Context).Compute(0x14001536000, {0x14000042740, 0x1, 0x0?})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/ml/backend/ggml/ggml.go:631 +0x90 fp=0x14000117ae0 sp=0x14000117a30 pc=0x102c35930
github.com/ollama/ollama/model.Forward({0x1039c60d0, 0x14001536000}, {0x1039bc870, 0x140001cf6b0}, {0x140001e8400, 0x51, 0x80}, {{0x1039d0e48, 0x140015563f0}, {0x0, ...}, ...})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/model/model.go:305 +0x1f4 fp=0x14000117bd0 sp=0x14000117ae0 pc=0x102c414d4
github.com/ollama/ollama/runner/ollamarunner.(*Server).processBatch(0x1400061c6c0)
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:480 +0x3f0 fp=0x14000117f80 sp=0x14000117bd0 pc=0x102cbdd20
github.com/ollama/ollama/runner/ollamarunner.(*Server).run(0x1400061c6c0, {0x1039bdd50, 0x140000e8460})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:362 +0x54 fp=0x14000117fa0 sp=0x14000117f80 pc=0x102cbd8f4
github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap2()
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:960 +0x30 fp=0x14000117fd0 sp=0x14000117fa0 pc=0x102cc20a0
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000117fd0 sp=0x14000117fd0 pc=0x10286c614
created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:960 +0x898

goroutine 1 gp=0x140000021c0 m=nil [IO wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x140001195e0 sp=0x140001195c0 pc=0x102864258
runtime.netpollblock(0x14000119678?, 0x28e8b30?, 0x1?)
	/opt/local/lib/go/src/runtime/netpoll.go:575 +0x158 fp=0x14000119620 sp=0x140001195e0 pc=0x102829e48
internal/poll.runtime_pollWait(0x12af855c0, 0x72)
	/opt/local/lib/go/src/runtime/netpoll.go:351 +0xa0 fp=0x14000119650 sp=0x14000119620 pc=0x102863410
internal/poll.(*pollDesc).wait(0x1400004fc00?, 0x1028ead98?, 0x0)
	/opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x14000119680 sp=0x14000119650 pc=0x1028e4348
internal/poll.(*pollDesc).waitRead(...)
	/opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0x1400004fc00)
	/opt/local/lib/go/src/internal/poll/fd_unix.go:620 +0x24c fp=0x14000119730 sp=0x14000119680 pc=0x1028e8c1c
net.(*netFD).accept(0x1400004fc00)
	/opt/local/lib/go/src/net/fd_unix.go:172 +0x28 fp=0x140001197f0 sp=0x14000119730 pc=0x102957f58
net.(*TCPListener).accept(0x1400037b340)
	/opt/local/lib/go/src/net/tcpsock_posix.go:159 +0x24 fp=0x14000119840 sp=0x140001197f0 pc=0x10296c1b4
net.(*TCPListener).Accept(0x1400037b340)
	/opt/local/lib/go/src/net/tcpsock.go:380 +0x2c fp=0x14000119880 sp=0x14000119840 pc=0x10296b19c
net/http.(*onceCloseListener).Accept(0x140000fc3f0?)
	<autogenerated>:1 +0x30 fp=0x140001198a0 sp=0x14000119880 pc=0x102b46c80
net/http.(*Server).Serve(0x14000114100, {0x1039bb8a8, 0x1400037b340})
	/opt/local/lib/go/src/net/http/server.go:3424 +0x290 fp=0x140001199d0 sp=0x140001198a0 pc=0x102b20320
github.com/ollama/ollama/runner/ollamarunner.Execute({0x140001b4030, 0x12, 0x13})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:984 +0xb78 fp=0x14000119ce0 sp=0x140001199d0 pc=0x102cc1e38
github.com/ollama/ollama/runner.Execute({0x140001b4010?, 0x0?, 0x0?})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/runner.go:20 +0x120 fp=0x14000119d10 sp=0x14000119ce0 pc=0x102cc26e0
github.com/ollama/ollama/cmd.NewCLI.func2(0x1400026f400?, {0x10353bf11?, 0x4?, 0x10353bf15?})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/cmd/cmd.go:1583 +0x54 fp=0x14000119d40 sp=0x14000119d10 pc=0x103320d34
github.com/spf13/cobra.(*Command).execute(0x140000fef08, {0x140000e3e00, 0x13, 0x14})
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x680 fp=0x14000119e60 sp=0x14000119d40 pc=0x1029c6750
github.com/spf13/cobra.(*Command).ExecuteC(0x1400017e908)
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320 fp=0x14000119f20 sp=0x14000119e60 pc=0x1029c6ea0
github.com/spf13/cobra.(*Command).Execute(...)
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/main.go:12 +0x54 fp=0x14000119f40 sp=0x14000119f20 pc=0x103321884
runtime.main()
	/opt/local/lib/go/src/runtime/proc.go:283 +0x284 fp=0x14000119fd0 sp=0x14000119f40 pc=0x1028309f4
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000119fd0 sp=0x14000119fd0 pc=0x10286c614

goroutine 2 gp=0x14000002c40 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000084f90 sp=0x14000084f70 pc=0x102864258
runtime.goparkunlock(...)
	/opt/local/lib/go/src/runtime/proc.go:441
runtime.forcegchelper()
	/opt/local/lib/go/src/runtime/proc.go:348 +0xb8 fp=0x14000084fd0 sp=0x14000084f90 pc=0x102830d48
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000084fd0 sp=0x14000084fd0 pc=0x10286c614
created by runtime.init.7 in goroutine 1
	/opt/local/lib/go/src/runtime/proc.go:336 +0x24

goroutine 3 gp=0x14000003500 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000085760 sp=0x14000085740 pc=0x102864258
runtime.goparkunlock(...)
	/opt/local/lib/go/src/runtime/proc.go:441
runtime.bgsweep(0x140000aa000)
	/opt/local/lib/go/src/runtime/mgcsweep.go:316 +0x108 fp=0x140000857b0 sp=0x14000085760 pc=0x10281bdb8
runtime.gcenable.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:204 +0x28 fp=0x140000857d0 sp=0x140000857b0 pc=0x10280fbb8
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000857d0 sp=0x140000857d0 pc=0x10286c614
created by runtime.gcenable in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:204 +0x6c

goroutine 4 gp=0x140000036c0 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x1036f2758?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000085f60 sp=0x14000085f40 pc=0x102864258
runtime.goparkunlock(...)
	/opt/local/lib/go/src/runtime/proc.go:441
runtime.(*scavengerState).park(0x10427dfc0)
	/opt/local/lib/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000085f90 sp=0x14000085f60 pc=0x10281984c
runtime.bgscavenge(0x140000aa000)
	/opt/local/lib/go/src/runtime/mgcscavenge.go:658 +0xac fp=0x14000085fb0 sp=0x14000085f90 pc=0x102819dec
runtime.gcenable.gowrap2()
	/opt/local/lib/go/src/runtime/mgc.go:205 +0x28 fp=0x14000085fd0 sp=0x14000085fb0 pc=0x10280fb58
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x10286c614
created by runtime.gcenable in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:205 +0xac

goroutine 18 gp=0x14000186380 m=nil [finalizer wait]:
runtime.gopark(0x18000845c8?, 0x1000000000000?, 0xf8?, 0x45?, 0x102b495ec?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000084590 sp=0x14000084570 pc=0x102864258
runtime.runfinq()
	/opt/local/lib/go/src/runtime/mfinal.go:196 +0x108 fp=0x140000847d0 sp=0x14000084590 pc=0x10280ebb8
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000847d0 sp=0x140000847d0 pc=0x10286c614
created by runtime.createfing in goroutine 1
	/opt/local/lib/go/src/runtime/mfinal.go:166 +0x80

goroutine 19 gp=0x14000186e00 m=nil [chan receive]:
runtime.gopark(0x140002a1900?, 0x14002e20018?, 0x48?, 0x7?, 0x10292c128?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x140000806f0 sp=0x140000806d0 pc=0x102864258
runtime.chanrecv(0x14000182310, 0x0, 0x1)
	/opt/local/lib/go/src/runtime/chan.go:664 +0x42c fp=0x14000080770 sp=0x140000806f0 pc=0x102800e8c
runtime.chanrecv1(0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/chan.go:506 +0x14 fp=0x140000807a0 sp=0x14000080770 pc=0x102800a24
runtime.unique_runtime_registerUniqueMapCleanup.func2(...)
	/opt/local/lib/go/src/runtime/mgc.go:1797
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1800 +0x3c fp=0x140000807d0 sp=0x140000807a0 pc=0x102812ddc
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000807d0 sp=0x140000807d0 pc=0x10286c614
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1795 +0x78

goroutine 20 gp=0x14000187180 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000080f10 sp=0x14000080ef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000080fb0 sp=0x14000080f10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000080fd0 sp=0x14000080fb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000080fd0 sp=0x14000080fd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 21 gp=0x14000187340 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000081710 sp=0x140000816f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140000817b0 sp=0x14000081710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140000817d0 sp=0x140000817b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000817d0 sp=0x140000817d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 34 gp=0x14000386000 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038c710 sp=0x1400038c6f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038c7b0 sp=0x1400038c710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038c7d0 sp=0x1400038c7b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038c7d0 sp=0x1400038c7d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 50 gp=0x14000102380 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000388710 sp=0x140003886f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140003887b0 sp=0x14000388710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140003887d0 sp=0x140003887b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140003887d0 sp=0x140003887d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 22 gp=0x14000187500 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000081f10 sp=0x14000081ef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000081fb0 sp=0x14000081f10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000081fd0 sp=0x14000081fb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000081fd0 sp=0x14000081fd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 23 gp=0x140001876c0 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb7834a8d68?, 0x1?, 0x46?, 0x59?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000082710 sp=0x140000826f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140000827b0 sp=0x14000082710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140000827d0 sp=0x140000827b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000827d0 sp=0x140000827d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 35 gp=0x140003861c0 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb7834a9dd8?, 0x3?, 0x7d?, 0xed?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038cf10 sp=0x1400038cef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038cfb0 sp=0x1400038cf10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038cfd0 sp=0x1400038cfb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038cfd0 sp=0x1400038cfd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 51 gp=0x14000102540 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb7834a91a3?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000388f10 sp=0x14000388ef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000388fb0 sp=0x14000388f10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000388fd0 sp=0x14000388fb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000388fd0 sp=0x14000388fd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 24 gp=0x14000187880 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb78356fdd0?, 0x1?, 0x91?, 0xb8?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000082f10 sp=0x14000082ef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000082fb0 sp=0x14000082f10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000082fd0 sp=0x14000082fb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000082fd0 sp=0x14000082fd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 52 gp=0x14000102700 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb7834a8de5?, 0x3?, 0xf3?, 0x93?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400050ff10 sp=0x1400050fef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400050ffb0 sp=0x1400050ff10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400050ffd0 sp=0x1400050ffb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400050ffd0 sp=0x1400050ffd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 25 gp=0x14000187a40 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb78358be0e?, 0x3?, 0x5?, 0x7?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000083710 sp=0x140000836f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140000837b0 sp=0x14000083710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140000837d0 sp=0x140000837b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000837d0 sp=0x140000837d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 36 gp=0x14000386380 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb7834a9aea?, 0x1?, 0xb5?, 0xc2?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038d710 sp=0x1400038d6f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038d7b0 sp=0x1400038d710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038d7d0 sp=0x1400038d7b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038d7d0 sp=0x1400038d7d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 37 gp=0x14000386540 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb783574a79?, 0x3?, 0x9a?, 0x81?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038df10 sp=0x1400038def0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038dfb0 sp=0x1400038df10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038dfd0 sp=0x1400038dfb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038dfd0 sp=0x1400038dfd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 26 gp=0x14000187c00 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb783572c87?, 0x1?, 0x15?, 0xa5?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000083f10 sp=0x14000083ef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000083fb0 sp=0x14000083f10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000083fd0 sp=0x14000083fb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000083fd0 sp=0x14000083fd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 53 gp=0x140001028c0 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb7833a27fa?, 0x1?, 0x28?, 0x31?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000389f10 sp=0x14000389ef0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000389fb0 sp=0x14000389f10 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000389fd0 sp=0x14000389fb0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000389fd0 sp=0x14000389fd0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 38 gp=0x14000386700 m=nil [GC worker (idle)]:
runtime.gopark(0x17cb78357fdac?, 0x3?, 0x58?, 0x2c?, 0x0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038e710 sp=0x1400038e6f0 pc=0x102864258
runtime.gcBgMarkWorker(0x14000183730)
	/opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038e7b0 sp=0x1400038e710 pc=0x10281204c
runtime.gcBgMarkStartWorkers.gowrap1()
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038e7d0 sp=0x1400038e7b0 pc=0x102811f38
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038e7d0 sp=0x1400038e7d0 pc=0x10286c614
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/opt/local/lib/go/src/runtime/mgc.go:1339 +0x140

goroutine 377 gp=0x14000103500 m=nil [IO wait]:
runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x1028880f0?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038ed80 sp=0x1400038ed60 pc=0x102864258
runtime.netpollblock(0x0?, 0x0?, 0x0?)
	/opt/local/lib/go/src/runtime/netpoll.go:575 +0x158 fp=0x1400038edc0 sp=0x1400038ed80 pc=0x102829e48
internal/poll.runtime_pollWait(0x12af854a8, 0x72)
	/opt/local/lib/go/src/runtime/netpoll.go:351 +0xa0 fp=0x1400038edf0 sp=0x1400038edc0 pc=0x102863410
internal/poll.(*pollDesc).wait(0x1400004e200?, 0x140003bda81?, 0x0)
	/opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x1400038ee20 sp=0x1400038edf0 pc=0x1028e4348
internal/poll.(*pollDesc).waitRead(...)
	/opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x1400004e200, {0x140003bda81, 0x1, 0x1})
	/opt/local/lib/go/src/internal/poll/fd_unix.go:165 +0x1fc fp=0x1400038eec0 sp=0x1400038ee20 pc=0x1028e55fc
net.(*netFD).Read(0x1400004e200, {0x140003bda81?, 0x1400038ef58?, 0x102b15f64?})
	/opt/local/lib/go/src/net/fd_posix.go:55 +0x28 fp=0x1400038ef10 sp=0x1400038eec0 pc=0x102956528
net.(*conn).Read(0x1400016a0f8, {0x140003bda81?, 0x1400038ef98?, 0x102cc20a0?})
	/opt/local/lib/go/src/net/net.go:194 +0x34 fp=0x1400038ef60 sp=0x1400038ef10 pc=0x1029633f4
net/http.(*connReader).backgroundRead(0x140003bda70)
	/opt/local/lib/go/src/net/http/server.go:690 +0x40 fp=0x1400038efb0 sp=0x1400038ef60 pc=0x102b15e60
net/http.(*connReader).startBackgroundRead.gowrap2()
	/opt/local/lib/go/src/net/http/server.go:686 +0x28 fp=0x1400038efd0 sp=0x1400038efb0 pc=0x102b15d48
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038efd0 sp=0x1400038efd0 pc=0x10286c614
created by net/http.(*connReader).startBackgroundRead in goroutine 7
	/opt/local/lib/go/src/net/http/server.go:686 +0xc4

goroutine 7 gp=0x14000103a40 m=nil [select]:
runtime.gopark(0x14000047a50?, 0x2?, 0x78?, 0x77?, 0x1400004781c?)
	/opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000047650 sp=0x14000047630 pc=0x102864258
runtime.selectgo(0x14000047a50, 0x14000047818, 0x51?, 0x0, 0x0?, 0x1)
	/opt/local/lib/go/src/runtime/select.go:351 +0x6c4 fp=0x14000047780 sp=0x14000047650 pc=0x102844034
github.com/ollama/ollama/runner/ollamarunner.(*Server).completion(0x1400061c6c0, {0x1039bba88, 0x140016280e0}, 0x140002bc3c0)
	/opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:680 +0x9d8 fp=0x14000047aa0 sp=0x14000047780 pc=0x102cbfa08
github.com/ollama/ollama/runner/ollamarunner.(*Server).completion-fm({0x1039bba88?, 0x140016280e0?}, 0x1400011bb28?)
	<autogenerated>:1 +0x40 fp=0x14000047ad0 sp=0x14000047aa0 pc=0x102cc24e0
net/http.HandlerFunc.ServeHTTP(0x14000622840?, {0x1039bba88?, 0x140016280e0?}, 0x1400011bb10?)
	/opt/local/lib/go/src/net/http/server.go:2294 +0x38 fp=0x14000047b00 sp=0x14000047ad0 pc=0x102b1cd48
net/http.(*ServeMux).ServeHTTP(0x10?, {0x1039bba88, 0x140016280e0}, 0x140002bc3c0)
	/opt/local/lib/go/src/net/http/server.go:2822 +0x1b4 fp=0x14000047b50 sp=0x14000047b00 pc=0x102b1e8d4
net/http.serverHandler.ServeHTTP({0x1039b80b0?}, {0x1039bba88?, 0x140016280e0?}, 0x1?)
	/opt/local/lib/go/src/net/http/server.go:3301 +0xbc fp=0x14000047b80 sp=0x14000047b50 pc=0x102b3a65c
net/http.(*conn).serve(0x140000fc3f0, {0x1039bdd18, 0x140003bc210})
	/opt/local/lib/go/src/net/http/server.go:2102 +0x52c fp=0x14000047fa0 sp=0x14000047b80 pc=0x102b1b4ec
net/http.(*Server).Serve.gowrap3()
	/opt/local/lib/go/src/net/http/server.go:3454 +0x30 fp=0x14000047fd0 sp=0x14000047fa0 pc=0x102b206b0
runtime.goexit({})
	/opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000047fd0 sp=0x14000047fd0 pc=0x10286c614
created by net/http.(*Server).Serve in goroutine 1
	/opt/local/lib/go/src/net/http/server.go:3454 +0x3d8

r0      0x0
r1      0x0
r2      0x0
r3      0x0
r4      0x10370d90a
r5      0x170646960
r6      0x64656c6961662029
r7      0x14000196038
r8      0x5b9cbc20004f4405
r9      0x5b9cbc21702b3405
r10     0x2
r11     0x10000000000
r12     0xfffffffd
r13     0x0
r14     0x0
r15     0x0
r16     0x148
r17     0x201e09fa8
r18     0x0
r19     0x6
r20     0x1303
r21     0x1706470e0
r22     0x1fe7abe68
r23     0x13180a4c0
r24     0x1445000
r25     0x131e0f6c0
r26     0x40
r27     0x8
r28     0x13180a350
r29     0x1706468c0
lr      0x192caa88c
sp      0x1706468a0
pc      0x192c71388
fault   0x192c71388
time=2025-08-06T04:23:35.077+10:00 level=ERROR source=server.go:808 msg="post predict" error="Post \"http://127.0.0.1:61211/completion\": EOF"
time=2025-08-06T04:23:35.077+10:00 level=ERROR source=server.go:465 msg="llama runner terminated" error="exit status 2"
[GIN] 2025/08/06 - 04:23:35 | 200 |     256.973ms |       127.0.0.1 | POST     "/api/chat"
<!-- gh-comment-id:3156213409 --> @i0ntempest commented on GitHub (Aug 5, 2025): Getting this in the server log with MacPorts build: ``` time=2025-08-06T04:23:23.174+10:00 level=INFO source=routes.go:1297 msg="server config" env="map[HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:8192 OLLAMA_DEBUG:INFO OLLAMA_FLASH_ATTENTION:true OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_KEEP_ALIVE:15m0s OLLAMA_KV_CACHE_TYPE:q8_0 OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/Volumes/WD SN850X/Ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NO_MMAP:true OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_SCHED_SPREAD:false http_proxy: https_proxy: no_proxy:]" time=2025-08-06T04:23:23.177+10:00 level=INFO source=images.go:477 msg="total blobs: 87" time=2025-08-06T04:23:23.178+10:00 level=INFO source=images.go:484 msg="total unused blobs removed: 0" time=2025-08-06T04:23:23.179+10:00 level=INFO source=routes.go:1350 msg="Listening on 127.0.0.1:11434 (version 0.11.0)" time=2025-08-06T04:23:23.206+10:00 level=INFO source=types.go:130 msg="inference compute" id=0 library=metal variant="" compute="" driver=0.0 name="" total="48.0 GiB" available="48.0 GiB" [GIN] 2025/08/06 - 04:23:29 | 200 | 46.125µs | 127.0.0.1 | HEAD "/" [GIN] 2025/08/06 - 04:23:29 | 200 | 58.281792ms | 127.0.0.1 | POST "/api/show" time=2025-08-06T04:23:29.660+10:00 level=INFO source=sched.go:786 msg="new model will fit in available VRAM in single GPU, loading" model="/Volumes/WD SN850X/Ollama/models/blobs/sha256-b112e727c6f18875636c56a779790a590d705aec9e1c0eb5a97d51fc2a778583" gpu=0 parallel=1 available=51539607552 required="13.8 GiB" time=2025-08-06T04:23:29.660+10:00 level=INFO source=server.go:135 msg="system memory" total="64.0 GiB" free="34.1 GiB" free_swap="0 B" time=2025-08-06T04:23:29.660+10:00 level=INFO source=server.go:175 msg=offload library=metal layers.requested=-1 layers.model=25 layers.offload=25 layers.split="" memory.available="[48.0 GiB]" memory.gpu_overhead="0 B" memory.required.full="13.8 GiB" memory.required.partial="13.8 GiB" memory.required.kv="150.0 MiB" memory.required.allocations="[13.8 GiB]" memory.weights.total="11.7 GiB" memory.weights.repeating="10.7 GiB" memory.weights.nonrepeating="1.1 GiB" memory.graph.full="1.0 GiB" memory.graph.partial="1.0 GiB" time=2025-08-06T04:23:29.660+10:00 level=INFO source=server.go:218 msg="enabling flash attention" time=2025-08-06T04:23:29.688+10:00 level=INFO source=server.go:439 msg="starting llama server" cmd="/opt/local/bin/ollama runner --ollama-engine --model /Volumes/WD SN850X/Ollama/models/blobs/sha256-b112e727c6f18875636c56a779790a590d705aec9e1c0eb5a97d51fc2a778583 --ctx-size 8192 --batch-size 512 --n-gpu-layers 25 --threads 12 --flash-attn --kv-cache-type q8_0 --no-mmap --parallel 1 --port 61211" time=2025-08-06T04:23:29.689+10:00 level=INFO source=sched.go:481 msg="loaded runners" count=1 time=2025-08-06T04:23:29.689+10:00 level=INFO source=server.go:599 msg="waiting for llama runner to start responding" time=2025-08-06T04:23:29.690+10:00 level=INFO source=server.go:633 msg="waiting for server to become available" status="llm server not responding" time=2025-08-06T04:23:29.699+10:00 level=INFO source=runner.go:925 msg="starting ollama engine" time=2025-08-06T04:23:29.699+10:00 level=INFO source=runner.go:983 msg="Server listening on 127.0.0.1:61211" time=2025-08-06T04:23:29.723+10:00 level=INFO source=ggml.go:92 msg="" architecture=gptoss file_type=MXFP4 name="" description="" num_tensors=315 num_key_values=30 time=2025-08-06T04:23:29.782+10:00 level=INFO source=ggml.go:104 msg=system Metal.0.EMBED_LIBRARY=1 Metal.0.BF16=1 CPU.0.ARM_FMA=1 CPU.0.FP16_VA=1 CPU.0.DOTPROD=1 CPU.0.LLAMAFILE=1 CPU.0.ACCELERATE=1 compiler=cgo(clang) time=2025-08-06T04:23:29.941+10:00 level=INFO source=server.go:633 msg="waiting for server to become available" status="llm server loading model" time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:367 msg="offloading 24 repeating layers to GPU" time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:373 msg="offloading output layer to GPU" time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:378 msg="offloaded 25/25 layers to GPU" time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:381 msg="model weights" buffer=Metal size="11.7 GiB" time=2025-08-06T04:23:30.136+10:00 level=INFO source=ggml.go:381 msg="model weights" buffer=CPU size="1.1 GiB" ggml_metal_init: allocating ggml_metal_init: picking default device: Apple M4 Max ggml_metal_load_library: using embedded metal library ggml_metal_init: GPU name: Apple M4 Max ggml_metal_init: GPU family: MTLGPUFamilyApple9 (1009) ggml_metal_init: GPU family: MTLGPUFamilyCommon3 (3003) ggml_metal_init: GPU family: MTLGPUFamilyMetal3 (5001) ggml_metal_init: simdgroup reduction = true ggml_metal_init: simdgroup matrix mul. = true ggml_metal_init: has residency sets = true ggml_metal_init: has bfloat = true ggml_metal_init: use bfloat = true ggml_metal_init: hasUnifiedMemory = true ggml_metal_init: recommendedMaxWorkingSetSize = 51539.61 MB time=2025-08-06T04:23:30.229+10:00 level=INFO source=ggml.go:672 msg="compute graph" backend=Metal buffer_type=Metal size="2.1 GiB" time=2025-08-06T04:23:30.229+10:00 level=INFO source=ggml.go:672 msg="compute graph" backend=BLAS buffer_type=CPU size="5.6 MiB" time=2025-08-06T04:23:30.229+10:00 level=INFO source=ggml.go:672 msg="compute graph" backend=CPU buffer_type=CPU size="0 B" time=2025-08-06T04:23:30.950+10:00 level=INFO source=server.go:638 msg="llama runner started in 1.26 seconds" [GIN] 2025/08/06 - 04:23:30 | 200 | 1.367513334s | 127.0.0.1 | POST "/api/generate" ggml_metal_get_buffer: error: tensor 'leaf_7 (view)' buffer is nil ggml_metal_get_buffer: error: tensor 'leaf_7 (view) (copy of (view) (permuted))' buffer is nil ggml-metal.m:4848: GGML_ASSERT(ne0 % ggml_blck_size(dst->type) == 0) failed SIGABRT: abort PC=0x192c71388 m=7 sigcode=0 signal arrived during cgo execution goroutine 6 gp=0x140001036c0 m=7 mp=0x14000390008 [syscall]: runtime.cgocall(0x10336f758, 0x14000117a38) /opt/local/lib/go/src/runtime/cgocall.go:167 +0x44 fp=0x140001179f0 sp=0x140001179b0 pc=0x102860d34 github.com/ollama/ollama/ml/backend/ggml._Cfunc_ggml_backend_sched_graph_compute_async(0x15397c400, 0x1317c9890) _cgo_gotypes.go:876 +0x34 fp=0x14000117a30 sp=0x140001179f0 pc=0x102c2d864 github.com/ollama/ollama/ml/backend/ggml.(*Context).Compute.func1(...) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/ml/backend/ggml/ggml.go:631 github.com/ollama/ollama/ml/backend/ggml.(*Context).Compute(0x14001536000, {0x14000042740, 0x1, 0x0?}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/ml/backend/ggml/ggml.go:631 +0x90 fp=0x14000117ae0 sp=0x14000117a30 pc=0x102c35930 github.com/ollama/ollama/model.Forward({0x1039c60d0, 0x14001536000}, {0x1039bc870, 0x140001cf6b0}, {0x140001e8400, 0x51, 0x80}, {{0x1039d0e48, 0x140015563f0}, {0x0, ...}, ...}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/model/model.go:305 +0x1f4 fp=0x14000117bd0 sp=0x14000117ae0 pc=0x102c414d4 github.com/ollama/ollama/runner/ollamarunner.(*Server).processBatch(0x1400061c6c0) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:480 +0x3f0 fp=0x14000117f80 sp=0x14000117bd0 pc=0x102cbdd20 github.com/ollama/ollama/runner/ollamarunner.(*Server).run(0x1400061c6c0, {0x1039bdd50, 0x140000e8460}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:362 +0x54 fp=0x14000117fa0 sp=0x14000117f80 pc=0x102cbd8f4 github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap2() /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:960 +0x30 fp=0x14000117fd0 sp=0x14000117fa0 pc=0x102cc20a0 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000117fd0 sp=0x14000117fd0 pc=0x10286c614 created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1 /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:960 +0x898 goroutine 1 gp=0x140000021c0 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x140001195e0 sp=0x140001195c0 pc=0x102864258 runtime.netpollblock(0x14000119678?, 0x28e8b30?, 0x1?) /opt/local/lib/go/src/runtime/netpoll.go:575 +0x158 fp=0x14000119620 sp=0x140001195e0 pc=0x102829e48 internal/poll.runtime_pollWait(0x12af855c0, 0x72) /opt/local/lib/go/src/runtime/netpoll.go:351 +0xa0 fp=0x14000119650 sp=0x14000119620 pc=0x102863410 internal/poll.(*pollDesc).wait(0x1400004fc00?, 0x1028ead98?, 0x0) /opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x14000119680 sp=0x14000119650 pc=0x1028e4348 internal/poll.(*pollDesc).waitRead(...) /opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x1400004fc00) /opt/local/lib/go/src/internal/poll/fd_unix.go:620 +0x24c fp=0x14000119730 sp=0x14000119680 pc=0x1028e8c1c net.(*netFD).accept(0x1400004fc00) /opt/local/lib/go/src/net/fd_unix.go:172 +0x28 fp=0x140001197f0 sp=0x14000119730 pc=0x102957f58 net.(*TCPListener).accept(0x1400037b340) /opt/local/lib/go/src/net/tcpsock_posix.go:159 +0x24 fp=0x14000119840 sp=0x140001197f0 pc=0x10296c1b4 net.(*TCPListener).Accept(0x1400037b340) /opt/local/lib/go/src/net/tcpsock.go:380 +0x2c fp=0x14000119880 sp=0x14000119840 pc=0x10296b19c net/http.(*onceCloseListener).Accept(0x140000fc3f0?) <autogenerated>:1 +0x30 fp=0x140001198a0 sp=0x14000119880 pc=0x102b46c80 net/http.(*Server).Serve(0x14000114100, {0x1039bb8a8, 0x1400037b340}) /opt/local/lib/go/src/net/http/server.go:3424 +0x290 fp=0x140001199d0 sp=0x140001198a0 pc=0x102b20320 github.com/ollama/ollama/runner/ollamarunner.Execute({0x140001b4030, 0x12, 0x13}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:984 +0xb78 fp=0x14000119ce0 sp=0x140001199d0 pc=0x102cc1e38 github.com/ollama/ollama/runner.Execute({0x140001b4010?, 0x0?, 0x0?}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/runner.go:20 +0x120 fp=0x14000119d10 sp=0x14000119ce0 pc=0x102cc26e0 github.com/ollama/ollama/cmd.NewCLI.func2(0x1400026f400?, {0x10353bf11?, 0x4?, 0x10353bf15?}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/cmd/cmd.go:1583 +0x54 fp=0x14000119d40 sp=0x14000119d10 pc=0x103320d34 github.com/spf13/cobra.(*Command).execute(0x140000fef08, {0x140000e3e00, 0x13, 0x14}) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x680 fp=0x14000119e60 sp=0x14000119d40 pc=0x1029c6750 github.com/spf13/cobra.(*Command).ExecuteC(0x1400017e908) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320 fp=0x14000119f20 sp=0x14000119e60 pc=0x1029c6ea0 github.com/spf13/cobra.(*Command).Execute(...) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985 main.main() /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/main.go:12 +0x54 fp=0x14000119f40 sp=0x14000119f20 pc=0x103321884 runtime.main() /opt/local/lib/go/src/runtime/proc.go:283 +0x284 fp=0x14000119fd0 sp=0x14000119f40 pc=0x1028309f4 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000119fd0 sp=0x14000119fd0 pc=0x10286c614 goroutine 2 gp=0x14000002c40 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000084f90 sp=0x14000084f70 pc=0x102864258 runtime.goparkunlock(...) /opt/local/lib/go/src/runtime/proc.go:441 runtime.forcegchelper() /opt/local/lib/go/src/runtime/proc.go:348 +0xb8 fp=0x14000084fd0 sp=0x14000084f90 pc=0x102830d48 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000084fd0 sp=0x14000084fd0 pc=0x10286c614 created by runtime.init.7 in goroutine 1 /opt/local/lib/go/src/runtime/proc.go:336 +0x24 goroutine 3 gp=0x14000003500 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000085760 sp=0x14000085740 pc=0x102864258 runtime.goparkunlock(...) /opt/local/lib/go/src/runtime/proc.go:441 runtime.bgsweep(0x140000aa000) /opt/local/lib/go/src/runtime/mgcsweep.go:316 +0x108 fp=0x140000857b0 sp=0x14000085760 pc=0x10281bdb8 runtime.gcenable.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:204 +0x28 fp=0x140000857d0 sp=0x140000857b0 pc=0x10280fbb8 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000857d0 sp=0x140000857d0 pc=0x10286c614 created by runtime.gcenable in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:204 +0x6c goroutine 4 gp=0x140000036c0 m=nil [GC scavenge wait]: runtime.gopark(0x10000?, 0x1036f2758?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000085f60 sp=0x14000085f40 pc=0x102864258 runtime.goparkunlock(...) /opt/local/lib/go/src/runtime/proc.go:441 runtime.(*scavengerState).park(0x10427dfc0) /opt/local/lib/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000085f90 sp=0x14000085f60 pc=0x10281984c runtime.bgscavenge(0x140000aa000) /opt/local/lib/go/src/runtime/mgcscavenge.go:658 +0xac fp=0x14000085fb0 sp=0x14000085f90 pc=0x102819dec runtime.gcenable.gowrap2() /opt/local/lib/go/src/runtime/mgc.go:205 +0x28 fp=0x14000085fd0 sp=0x14000085fb0 pc=0x10280fb58 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x10286c614 created by runtime.gcenable in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:205 +0xac goroutine 18 gp=0x14000186380 m=nil [finalizer wait]: runtime.gopark(0x18000845c8?, 0x1000000000000?, 0xf8?, 0x45?, 0x102b495ec?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000084590 sp=0x14000084570 pc=0x102864258 runtime.runfinq() /opt/local/lib/go/src/runtime/mfinal.go:196 +0x108 fp=0x140000847d0 sp=0x14000084590 pc=0x10280ebb8 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000847d0 sp=0x140000847d0 pc=0x10286c614 created by runtime.createfing in goroutine 1 /opt/local/lib/go/src/runtime/mfinal.go:166 +0x80 goroutine 19 gp=0x14000186e00 m=nil [chan receive]: runtime.gopark(0x140002a1900?, 0x14002e20018?, 0x48?, 0x7?, 0x10292c128?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x140000806f0 sp=0x140000806d0 pc=0x102864258 runtime.chanrecv(0x14000182310, 0x0, 0x1) /opt/local/lib/go/src/runtime/chan.go:664 +0x42c fp=0x14000080770 sp=0x140000806f0 pc=0x102800e8c runtime.chanrecv1(0x0?, 0x0?) /opt/local/lib/go/src/runtime/chan.go:506 +0x14 fp=0x140000807a0 sp=0x14000080770 pc=0x102800a24 runtime.unique_runtime_registerUniqueMapCleanup.func2(...) /opt/local/lib/go/src/runtime/mgc.go:1797 runtime.unique_runtime_registerUniqueMapCleanup.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1800 +0x3c fp=0x140000807d0 sp=0x140000807a0 pc=0x102812ddc runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000807d0 sp=0x140000807d0 pc=0x10286c614 created by unique.runtime_registerUniqueMapCleanup in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1795 +0x78 goroutine 20 gp=0x14000187180 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000080f10 sp=0x14000080ef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000080fb0 sp=0x14000080f10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000080fd0 sp=0x14000080fb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000080fd0 sp=0x14000080fd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 21 gp=0x14000187340 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000081710 sp=0x140000816f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140000817b0 sp=0x14000081710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140000817d0 sp=0x140000817b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000817d0 sp=0x140000817d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 34 gp=0x14000386000 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038c710 sp=0x1400038c6f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038c7b0 sp=0x1400038c710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038c7d0 sp=0x1400038c7b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038c7d0 sp=0x1400038c7d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 50 gp=0x14000102380 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000388710 sp=0x140003886f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140003887b0 sp=0x14000388710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140003887d0 sp=0x140003887b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140003887d0 sp=0x140003887d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 22 gp=0x14000187500 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000081f10 sp=0x14000081ef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000081fb0 sp=0x14000081f10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000081fd0 sp=0x14000081fb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000081fd0 sp=0x14000081fd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 23 gp=0x140001876c0 m=nil [GC worker (idle)]: runtime.gopark(0x17cb7834a8d68?, 0x1?, 0x46?, 0x59?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000082710 sp=0x140000826f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140000827b0 sp=0x14000082710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140000827d0 sp=0x140000827b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000827d0 sp=0x140000827d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 35 gp=0x140003861c0 m=nil [GC worker (idle)]: runtime.gopark(0x17cb7834a9dd8?, 0x3?, 0x7d?, 0xed?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038cf10 sp=0x1400038cef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038cfb0 sp=0x1400038cf10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038cfd0 sp=0x1400038cfb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038cfd0 sp=0x1400038cfd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 51 gp=0x14000102540 m=nil [GC worker (idle)]: runtime.gopark(0x17cb7834a91a3?, 0x0?, 0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000388f10 sp=0x14000388ef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000388fb0 sp=0x14000388f10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000388fd0 sp=0x14000388fb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000388fd0 sp=0x14000388fd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 24 gp=0x14000187880 m=nil [GC worker (idle)]: runtime.gopark(0x17cb78356fdd0?, 0x1?, 0x91?, 0xb8?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000082f10 sp=0x14000082ef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000082fb0 sp=0x14000082f10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000082fd0 sp=0x14000082fb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000082fd0 sp=0x14000082fd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 52 gp=0x14000102700 m=nil [GC worker (idle)]: runtime.gopark(0x17cb7834a8de5?, 0x3?, 0xf3?, 0x93?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400050ff10 sp=0x1400050fef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400050ffb0 sp=0x1400050ff10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400050ffd0 sp=0x1400050ffb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400050ffd0 sp=0x1400050ffd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 25 gp=0x14000187a40 m=nil [GC worker (idle)]: runtime.gopark(0x17cb78358be0e?, 0x3?, 0x5?, 0x7?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000083710 sp=0x140000836f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x140000837b0 sp=0x14000083710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x140000837d0 sp=0x140000837b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000837d0 sp=0x140000837d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 36 gp=0x14000386380 m=nil [GC worker (idle)]: runtime.gopark(0x17cb7834a9aea?, 0x1?, 0xb5?, 0xc2?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038d710 sp=0x1400038d6f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038d7b0 sp=0x1400038d710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038d7d0 sp=0x1400038d7b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038d7d0 sp=0x1400038d7d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 37 gp=0x14000386540 m=nil [GC worker (idle)]: runtime.gopark(0x17cb783574a79?, 0x3?, 0x9a?, 0x81?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038df10 sp=0x1400038def0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038dfb0 sp=0x1400038df10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038dfd0 sp=0x1400038dfb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038dfd0 sp=0x1400038dfd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 26 gp=0x14000187c00 m=nil [GC worker (idle)]: runtime.gopark(0x17cb783572c87?, 0x1?, 0x15?, 0xa5?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000083f10 sp=0x14000083ef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000083fb0 sp=0x14000083f10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000083fd0 sp=0x14000083fb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000083fd0 sp=0x14000083fd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 53 gp=0x140001028c0 m=nil [GC worker (idle)]: runtime.gopark(0x17cb7833a27fa?, 0x1?, 0x28?, 0x31?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000389f10 sp=0x14000389ef0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x14000389fb0 sp=0x14000389f10 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x14000389fd0 sp=0x14000389fb0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000389fd0 sp=0x14000389fd0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 38 gp=0x14000386700 m=nil [GC worker (idle)]: runtime.gopark(0x17cb78357fdac?, 0x3?, 0x58?, 0x2c?, 0x0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038e710 sp=0x1400038e6f0 pc=0x102864258 runtime.gcBgMarkWorker(0x14000183730) /opt/local/lib/go/src/runtime/mgc.go:1423 +0xdc fp=0x1400038e7b0 sp=0x1400038e710 pc=0x10281204c runtime.gcBgMarkStartWorkers.gowrap1() /opt/local/lib/go/src/runtime/mgc.go:1339 +0x28 fp=0x1400038e7d0 sp=0x1400038e7b0 pc=0x102811f38 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038e7d0 sp=0x1400038e7d0 pc=0x10286c614 created by runtime.gcBgMarkStartWorkers in goroutine 1 /opt/local/lib/go/src/runtime/mgc.go:1339 +0x140 goroutine 377 gp=0x14000103500 m=nil [IO wait]: runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x1028880f0?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x1400038ed80 sp=0x1400038ed60 pc=0x102864258 runtime.netpollblock(0x0?, 0x0?, 0x0?) /opt/local/lib/go/src/runtime/netpoll.go:575 +0x158 fp=0x1400038edc0 sp=0x1400038ed80 pc=0x102829e48 internal/poll.runtime_pollWait(0x12af854a8, 0x72) /opt/local/lib/go/src/runtime/netpoll.go:351 +0xa0 fp=0x1400038edf0 sp=0x1400038edc0 pc=0x102863410 internal/poll.(*pollDesc).wait(0x1400004e200?, 0x140003bda81?, 0x0) /opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x1400038ee20 sp=0x1400038edf0 pc=0x1028e4348 internal/poll.(*pollDesc).waitRead(...) /opt/local/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x1400004e200, {0x140003bda81, 0x1, 0x1}) /opt/local/lib/go/src/internal/poll/fd_unix.go:165 +0x1fc fp=0x1400038eec0 sp=0x1400038ee20 pc=0x1028e55fc net.(*netFD).Read(0x1400004e200, {0x140003bda81?, 0x1400038ef58?, 0x102b15f64?}) /opt/local/lib/go/src/net/fd_posix.go:55 +0x28 fp=0x1400038ef10 sp=0x1400038eec0 pc=0x102956528 net.(*conn).Read(0x1400016a0f8, {0x140003bda81?, 0x1400038ef98?, 0x102cc20a0?}) /opt/local/lib/go/src/net/net.go:194 +0x34 fp=0x1400038ef60 sp=0x1400038ef10 pc=0x1029633f4 net/http.(*connReader).backgroundRead(0x140003bda70) /opt/local/lib/go/src/net/http/server.go:690 +0x40 fp=0x1400038efb0 sp=0x1400038ef60 pc=0x102b15e60 net/http.(*connReader).startBackgroundRead.gowrap2() /opt/local/lib/go/src/net/http/server.go:686 +0x28 fp=0x1400038efd0 sp=0x1400038efb0 pc=0x102b15d48 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400038efd0 sp=0x1400038efd0 pc=0x10286c614 created by net/http.(*connReader).startBackgroundRead in goroutine 7 /opt/local/lib/go/src/net/http/server.go:686 +0xc4 goroutine 7 gp=0x14000103a40 m=nil [select]: runtime.gopark(0x14000047a50?, 0x2?, 0x78?, 0x77?, 0x1400004781c?) /opt/local/lib/go/src/runtime/proc.go:435 +0xc8 fp=0x14000047650 sp=0x14000047630 pc=0x102864258 runtime.selectgo(0x14000047a50, 0x14000047818, 0x51?, 0x0, 0x0?, 0x1) /opt/local/lib/go/src/runtime/select.go:351 +0x6c4 fp=0x14000047780 sp=0x14000047650 pc=0x102844034 github.com/ollama/ollama/runner/ollamarunner.(*Server).completion(0x1400061c6c0, {0x1039bba88, 0x140016280e0}, 0x140002bc3c0) /opt/local/var/macports/build/ollama-67ec51d2/work/gopath/src/github.com/ollama/ollama/runner/ollamarunner/runner.go:680 +0x9d8 fp=0x14000047aa0 sp=0x14000047780 pc=0x102cbfa08 github.com/ollama/ollama/runner/ollamarunner.(*Server).completion-fm({0x1039bba88?, 0x140016280e0?}, 0x1400011bb28?) <autogenerated>:1 +0x40 fp=0x14000047ad0 sp=0x14000047aa0 pc=0x102cc24e0 net/http.HandlerFunc.ServeHTTP(0x14000622840?, {0x1039bba88?, 0x140016280e0?}, 0x1400011bb10?) /opt/local/lib/go/src/net/http/server.go:2294 +0x38 fp=0x14000047b00 sp=0x14000047ad0 pc=0x102b1cd48 net/http.(*ServeMux).ServeHTTP(0x10?, {0x1039bba88, 0x140016280e0}, 0x140002bc3c0) /opt/local/lib/go/src/net/http/server.go:2822 +0x1b4 fp=0x14000047b50 sp=0x14000047b00 pc=0x102b1e8d4 net/http.serverHandler.ServeHTTP({0x1039b80b0?}, {0x1039bba88?, 0x140016280e0?}, 0x1?) /opt/local/lib/go/src/net/http/server.go:3301 +0xbc fp=0x14000047b80 sp=0x14000047b50 pc=0x102b3a65c net/http.(*conn).serve(0x140000fc3f0, {0x1039bdd18, 0x140003bc210}) /opt/local/lib/go/src/net/http/server.go:2102 +0x52c fp=0x14000047fa0 sp=0x14000047b80 pc=0x102b1b4ec net/http.(*Server).Serve.gowrap3() /opt/local/lib/go/src/net/http/server.go:3454 +0x30 fp=0x14000047fd0 sp=0x14000047fa0 pc=0x102b206b0 runtime.goexit({}) /opt/local/lib/go/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000047fd0 sp=0x14000047fd0 pc=0x10286c614 created by net/http.(*Server).Serve in goroutine 1 /opt/local/lib/go/src/net/http/server.go:3454 +0x3d8 r0 0x0 r1 0x0 r2 0x0 r3 0x0 r4 0x10370d90a r5 0x170646960 r6 0x64656c6961662029 r7 0x14000196038 r8 0x5b9cbc20004f4405 r9 0x5b9cbc21702b3405 r10 0x2 r11 0x10000000000 r12 0xfffffffd r13 0x0 r14 0x0 r15 0x0 r16 0x148 r17 0x201e09fa8 r18 0x0 r19 0x6 r20 0x1303 r21 0x1706470e0 r22 0x1fe7abe68 r23 0x13180a4c0 r24 0x1445000 r25 0x131e0f6c0 r26 0x40 r27 0x8 r28 0x13180a350 r29 0x1706468c0 lr 0x192caa88c sp 0x1706468a0 pc 0x192c71388 fault 0x192c71388 time=2025-08-06T04:23:35.077+10:00 level=ERROR source=server.go:808 msg="post predict" error="Post \"http://127.0.0.1:61211/completion\": EOF" time=2025-08-06T04:23:35.077+10:00 level=ERROR source=server.go:465 msg="llama runner terminated" error="exit status 2" [GIN] 2025/08/06 - 04:23:35 | 200 | 256.973ms | 127.0.0.1 | POST "/api/chat" ```
Author
Owner

@HuChundong commented on GitHub (Aug 5, 2025):

both 120b and 20b has the same error. wsl2 and ubuntu all report this issue.

<!-- gh-comment-id:3156214025 --> @HuChundong commented on GitHub (Aug 5, 2025): both 120b and 20b has the same error. wsl2 and ubuntu all report this issue.
Author
Owner

@AustinKP commented on GitHub (Aug 5, 2025):

Same here. m4 pro.

<!-- gh-comment-id:3156215495 --> @AustinKP commented on GitHub (Aug 5, 2025): Same here. m4 pro.
Author
Owner

@coloradosazulyanaranjados commented on GitHub (Aug 5, 2025):

Same error con Mac M3 Pro, Sequoia 15.6. with gpt-oss:20b

<!-- gh-comment-id:3156216366 --> @coloradosazulyanaranjados commented on GitHub (Aug 5, 2025): Same error con Mac M3 Pro, Sequoia 15.6. with gpt-oss:20b
Author
Owner

@AsmanovLev commented on GitHub (Aug 5, 2025):

Bump, Windows 11, Nvidia (not wsl), 20b
Ollama version=0.10.1 OS=Windows/10.0.26100
| NVIDIA-SMI 576.88 Driver Version: 576.88 CUDA Version: 12.9 |

<!-- gh-comment-id:3156218694 --> @AsmanovLev commented on GitHub (Aug 5, 2025): Bump, Windows 11, Nvidia (not wsl), 20b Ollama version=0.10.1 OS=Windows/10.0.26100 | NVIDIA-SMI 576.88 Driver Version: 576.88 CUDA Version: 12.9 |
Author
Owner

@rahernande96 commented on GitHub (Aug 5, 2025):

Same Error, Macbook m3 Pro Sequoia 15.6

<!-- gh-comment-id:3156220512 --> @rahernande96 commented on GitHub (Aug 5, 2025): Same Error, Macbook m3 Pro Sequoia 15.6
Author
Owner

@xxnuo commented on GitHub (Aug 5, 2025):

Use the dmg downloaded from here: https://github.com/ollama/ollama/releases/tag/v0.11.0
Override the dmg downloaded from https://ollama.ai
It works fine.

Image
<!-- gh-comment-id:3156220762 --> @xxnuo commented on GitHub (Aug 5, 2025): Use the dmg downloaded from here: https://github.com/ollama/ollama/releases/tag/v0.11.0 Override the dmg downloaded from https://ollama.ai It works fine. <img width="1106" height="706" alt="Image" src="https://github.com/user-attachments/assets/84403554-4f84-4907-a005-87cabf01cbb7" />
Author
Owner

@appcreatorguy commented on GitHub (Aug 5, 2025):

a full uninstall and reinstall (instead of an update) of ollama seems to have solved this for me.

<!-- gh-comment-id:3156230295 --> @appcreatorguy commented on GitHub (Aug 5, 2025): a full uninstall and reinstall (instead of an update) of ollama seems to have solved this for me.
Author
Owner

@jure commented on GitHub (Aug 5, 2025):

Above solutions using the new build work, also building from source from the gpt-oss branch works: https://github.com/ollama/ollama/pull/11672

<!-- gh-comment-id:3156235489 --> @jure commented on GitHub (Aug 5, 2025): Above solutions using the new build work, also building from source from the `gpt-oss` branch works: https://github.com/ollama/ollama/pull/11672
Author
Owner

@coloradosazulyanaranjados commented on GitHub (Aug 5, 2025):

Use the dmg downloaded from here: https://github.com/ollama/ollama/releases/tag/v0.11.0 Override the dmg downloaded from https://ollama.ai It works fine.
Image

This work, on mac M3 pro

<!-- gh-comment-id:3156240297 --> @coloradosazulyanaranjados commented on GitHub (Aug 5, 2025): > Use the dmg downloaded from here: https://github.com/ollama/ollama/releases/tag/v0.11.0 Override the dmg downloaded from https://ollama.ai It works fine. > <img alt="Image" width="1106" height="706" src="https://private-user-images.githubusercontent.com/54252779/474672353-84403554-4f84-4907-a005-87cabf01cbb7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTQ0MjAyOTIsIm5iZiI6MTc1NDQxOTk5MiwicGF0aCI6Ii81NDI1Mjc3OS80NzQ2NzIzNTMtODQ0MDM1NTQtNGY4NC00OTA3LWEwMDUtODdjYWJmMDFjYmI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODA1VDE4NTMxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjNzRjYThlNWIzMTFhYzY0NDliOGJiZmYzZmM4YzdkMWQ5ODgzODI2Y2YwNjk5ODA4YTkwZGZhMjcxOTdlNmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uK5E_ehKkhUlSJt9FgQh8wuQixgmvLJRt0swqxSkk3M"> This work, on mac M3 pro
Author
Owner

@jmorganca commented on GitHub (Aug 5, 2025):

Hi all, I'm so sorry about the error. The issue has been fixed in the v0.11.0 downloads. Ollama can be re-downloaded here: https://ollama.com/download

<!-- gh-comment-id:3156244598 --> @jmorganca commented on GitHub (Aug 5, 2025): Hi all, I'm so sorry about the error. The issue has been fixed in the v0.11.0 downloads. Ollama can be re-downloaded here: https://ollama.com/download
Author
Owner

@EvilFreelancer commented on GitHub (Aug 5, 2025):

Okay, but what about Docker images? They are still have this issue.

<!-- gh-comment-id:3156246512 --> @EvilFreelancer commented on GitHub (Aug 5, 2025): Okay, but what about Docker images? They are still have this issue.
Author
Owner

@tcsenpai commented on GitHub (Aug 5, 2025):

I can confirm installing ollama manually from https://github.com/ollama/ollama/releases/tag/v0.11.0 following https://github.com/ollama/ollama/blob/main/docs/linux.md solved the problem on Linux

<!-- gh-comment-id:3156250922 --> @tcsenpai commented on GitHub (Aug 5, 2025): I can confirm installing ollama manually from https://github.com/ollama/ollama/releases/tag/v0.11.0 following https://github.com/ollama/ollama/blob/main/docs/linux.md solved the problem on Linux
Author
Owner

@i0ntempest commented on GitHub (Aug 5, 2025):

Hi all, I'm so sorry about the error. The issue has been fixed in the v0.11.0 downloads. Ollama can be re-downloaded here: ollama.com/download

I am building from source and looks like someone messed up the release tag. Which commit should I pull for the actual 0.11.0?

<!-- gh-comment-id:3156251698 --> @i0ntempest commented on GitHub (Aug 5, 2025): > Hi all, I'm so sorry about the error. The issue has been fixed in the v0.11.0 downloads. Ollama can be re-downloaded here: [ollama.com/download](https://ollama.com/download) I am building from source and looks like someone messed up the release tag. Which commit should I pull for the actual 0.11.0?
Author
Owner

@AlextheYounga commented on GitHub (Aug 5, 2025):

Hi all, I'm so sorry about the error. The issue has been fixed in the v0.11.0 downloads. Ollama can be re-downloaded here: https://ollama.com/download

Can confirm, this is now working. Ubuntu 22.04.5 with 4080.

<!-- gh-comment-id:3156261818 --> @AlextheYounga commented on GitHub (Aug 5, 2025): > Hi all, I'm so sorry about the error. The issue has been fixed in the v0.11.0 downloads. Ollama can be re-downloaded here: https://ollama.com/download Can confirm, this is now working. Ubuntu 22.04.5 with 4080.
Author
Owner

@fathurwithyou commented on GitHub (Aug 5, 2025):

In windows and nvidia, i have reinstalled, but still not working

<!-- gh-comment-id:3156289698 --> @fathurwithyou commented on GitHub (Aug 5, 2025): In windows and nvidia, i have reinstalled, but still not working
Author
Owner

@2jfs904judsw20600jikn613d0dookl23jsig commented on GitHub (Aug 5, 2025):

Use the dmg downloaded from here: v0.11.0 (release) Override the dmg downloaded from ollama.ai It works fine.

Image

+1 Fix works for me! Macbook M3 Max

<!-- gh-comment-id:3156290269 --> @2jfs904judsw20600jikn613d0dookl23jsig commented on GitHub (Aug 5, 2025): > Use the dmg downloaded from here: [`v0.11.0` (release)](https://github.com/ollama/ollama/releases/tag/v0.11.0) Override the dmg downloaded from [ollama.ai](https://ollama.ai) It works fine. > > <img alt="Image" width="1106" height="706" src="https://private-user-images.githubusercontent.com/54252779/474672353-84403554-4f84-4907-a005-87cabf01cbb7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTQ0MjEzNzUsIm5iZiI6MTc1NDQyMTA3NSwicGF0aCI6Ii81NDI1Mjc3OS80NzQ2NzIzNTMtODQ0MDM1NTQtNGY4NC00OTA3LWEwMDUtODdjYWJmMDFjYmI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODA1VDE5MTExNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyM2FiZWNhNzhlZTI0ODBkNWFhOWQ3OTliMjZkN2VlN2RhYTE0MmZjZjUyMDg2MGE2NjAwODMwYjI4ZDQ0YjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dtM-3ho4tUMBPyPUeA7NbbkLYoVh40cHT0MhzKdVel8"> +1 Fix works for me! Macbook M3 Max
Author
Owner

@stutteringp0et commented on GitHub (Aug 5, 2025):

can confirm - reinstall fixed it in Ubuntu 24.04

<!-- gh-comment-id:3156325672 --> @stutteringp0et commented on GitHub (Aug 5, 2025): can confirm - reinstall fixed it in Ubuntu 24.04
Author
Owner

@paulpas commented on GitHub (Aug 5, 2025):

Can confirm there's a problem with the 0.11.0 rocm and non-rocm version. I have it deployed on a local microk8s installation. All other models work fine.

<!-- gh-comment-id:3156338572 --> @paulpas commented on GitHub (Aug 5, 2025): Can confirm there's a problem with the 0.11.0 rocm and non-rocm version. I have it deployed on a local microk8s installation. All other models work fine.
Author
Owner

@VistritPandey commented on GitHub (Aug 5, 2025):

Tried removing the model using ollama rm command. But it gives me an error

ollama rm gpt-oss:20b
Error: unable to stop existing running model "gpt-oss:20b": 500 Internal Server Error: template: :3: function "currentDate" not defined

ollama version is 0.11.0

<!-- gh-comment-id:3156438701 --> @VistritPandey commented on GitHub (Aug 5, 2025): Tried removing the model using ollama rm command. But it gives me an error ```bash ollama rm gpt-oss:20b Error: unable to stop existing running model "gpt-oss:20b": 500 Internal Server Error: template: :3: function "currentDate" not defined ``` ollama version is `0.11.0`
Author
Owner

@jchvz commented on GitHub (Aug 5, 2025):

Okay, but what about Docker images? They are still have this issue.

@EvilFreelancer, Looks like they just posted a new docker image 8 minutes ago: https://hub.docker.com/layers/ollama/ollama/0.11.1/images/sha256-37a3975eb2e1cef7ec623f8d54a10625d5140c2c0c6ec8d5bc1d91fc6474d064

<!-- gh-comment-id:3156439974 --> @jchvz commented on GitHub (Aug 5, 2025): > Okay, but what about Docker images? They are still have this issue. @EvilFreelancer, Looks like they just posted a new docker image 8 minutes ago: https://hub.docker.com/layers/ollama/ollama/0.11.1/images/sha256-37a3975eb2e1cef7ec623f8d54a10625d5140c2c0c6ec8d5bc1d91fc6474d064
Author
Owner

@fathurwithyou commented on GitHub (Aug 5, 2025):

Tried removing the model using ollama rm command. But it gives me an error

ollama rm gpt-oss:20b
Error: unable to stop existing running model "gpt-oss:20b": 500 Internal Server Error: template: :3: function "currentDate" not defined
ollama version is 0.11.0

same as me on windows

<!-- gh-comment-id:3156444779 --> @fathurwithyou commented on GitHub (Aug 5, 2025): > Tried removing the model using ollama rm command. But it gives me an error > > ollama rm gpt-oss:20b > Error: unable to stop existing running model "gpt-oss:20b": 500 Internal Server Error: template: :3: function "currentDate" not defined > ollama version is `0.11.0` same as me on windows
Author
Owner

@EvilFreelancer commented on GitHub (Aug 5, 2025):

Okay, but what about Docker images? They are still have this issue.

@EvilFreelancer, Looks like they just posted a new docker image 8 minutes ago: https://hub.docker.com/layers/ollama/ollama/0.11.1/images/sha256-37a3975eb2e1cef7ec623f8d54a10625d5140c2c0c6ec8d5bc1d91fc6474d064

@jchvz oh, thanks for noticing! Problem with currentDate is gone, but now i have a different one "cudaMalloc failed: out of memory", probably need to wait a little bit more.

<!-- gh-comment-id:3156467157 --> @EvilFreelancer commented on GitHub (Aug 5, 2025): > > Okay, but what about Docker images? They are still have this issue. > > [@EvilFreelancer](https://github.com/EvilFreelancer), Looks like they just posted a new docker image 8 minutes ago: https://hub.docker.com/layers/ollama/ollama/0.11.1/images/sha256-37a3975eb2e1cef7ec623f8d54a10625d5140c2c0c6ec8d5bc1d91fc6474d064 @jchvz oh, thanks for noticing! Problem with currentDate is gone, but now i have a different one "cudaMalloc failed: out of memory", probably need to wait a little bit more.
Author
Owner

@justy76 commented on GitHub (Aug 5, 2025):

Okay, but what about Docker images? They are still have this issue.

@EvilFreelancer, Looks like they just posted a new docker image 8 minutes ago: https://hub.docker.com/layers/ollama/ollama/0.11.1/images/sha256-37a3975eb2e1cef7ec623f8d54a10625d5140c2c0c6ec8d5bc1d91fc6474d064

thx work fine . Tested on the command line in the Ollama (Docker) environment, using open‑webui (Docker) and n8n (Docker). It is now deployed and running in my EKS.

<!-- gh-comment-id:3156470107 --> @justy76 commented on GitHub (Aug 5, 2025): > > Okay, but what about Docker images? They are still have this issue. > > [@EvilFreelancer](https://github.com/EvilFreelancer), Looks like they just posted a new docker image 8 minutes ago: https://hub.docker.com/layers/ollama/ollama/0.11.1/images/sha256-37a3975eb2e1cef7ec623f8d54a10625d5140c2c0c6ec8d5bc1d91fc6474d064 thx work fine . Tested on the command line in the Ollama (Docker) environment, using open‑webui (Docker) and n8n (Docker). It is now deployed and running in my EKS.
Author
Owner

@rastagan-git commented on GitHub (Aug 5, 2025):

same 4090 48gb and 9950x

<!-- gh-comment-id:3156499872 --> @rastagan-git commented on GitHub (Aug 5, 2025): same 4090 48gb and 9950x
Author
Owner

@habibbhutto commented on GitHub (Aug 5, 2025):

On macos using version v0.11

❯ ollama run gpt-oss:20b
Error: 500 Internal Server Error: llama runner process has terminated: error:failed to allocate buffer, size = 33074.89 MiB
ggml_gallocr_reserve_n: failed to allocate Metal buffer of size 34681522080
<!-- gh-comment-id:3156583693 --> @habibbhutto commented on GitHub (Aug 5, 2025): On macos using version v0.11 ``` ❯ ollama run gpt-oss:20b Error: 500 Internal Server Error: llama runner process has terminated: error:failed to allocate buffer, size = 33074.89 MiB ggml_gallocr_reserve_n: failed to allocate Metal buffer of size 34681522080 ```
Author
Owner

@habibbhutto commented on GitHub (Aug 6, 2025):

On macos using version v0.11

❯ ollama run gpt-oss:20b
Error: 500 Internal Server Error: llama runner process has terminated: error:failed to allocate buffer, size = 33074.89 MiB
ggml_gallocr_reserve_n: failed to allocate Metal buffer of size 34681522080

Using version v0.11.3 gives the same error.
Hardware: Macbook Pro M4, 14 Cores edition, 48 GB RAM

<!-- gh-comment-id:3161284197 --> @habibbhutto commented on GitHub (Aug 6, 2025): > On macos using version v0.11 > > ``` > ❯ ollama run gpt-oss:20b > Error: 500 Internal Server Error: llama runner process has terminated: error:failed to allocate buffer, size = 33074.89 MiB > ggml_gallocr_reserve_n: failed to allocate Metal buffer of size 34681522080 > ``` Using version v0.11.3 gives the same error. Hardware: Macbook Pro M4, 14 Cores edition, 48 GB RAM
Author
Owner

@lapo-luchini commented on GitHub (Aug 7, 2025):

This is still happening (at least on OSX) on v0.11.4-rc0 (aa9d889522).
Nope, my bad. It's fine now.

<!-- gh-comment-id:3162858025 --> @lapo-luchini commented on GitHub (Aug 7, 2025): ~~This is still happening (at least on OSX) on `v0.11.4-rc0` (aa9d889522b016f16d8a87994c2b577e3e9ade7c).~~ Nope, my bad. It's fine now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#69779