[GH-ISSUE #2569] Connection with http://127.0.0.1:11434/api/chat forcibly closed #1508

Closed
opened 2026-04-12 11:25:11 -05:00 by GiteaMirror · 16 comments
Owner

Originally created by @spampinato55 on GitHub (Feb 18, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2569

Originally assigned to: @dhiltgen on GitHub.

I've installed Ollama in Windows 10, I launch it and it runs, I can pull a model but when I want to run it this is the error message I see:
"Error: Post "http://127.0.0.1:11434/api/chat": read tcp 127.0.0.1:52725->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host."

I disabled the previous wsl service, I've also set the the port 11434 in the firewall but nothing happens. With WSL it runs.
Thanks

Originally created by @spampinato55 on GitHub (Feb 18, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2569 Originally assigned to: @dhiltgen on GitHub. I've installed Ollama in Windows 10, I launch it and it runs, I can pull a model but when I want to run it this is the error message I see: "Error: Post "http://127.0.0.1:11434/api/chat": read tcp 127.0.0.1:52725->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host." I disabled the previous wsl service, I've also set the the port 11434 in the firewall but nothing happens. With WSL it runs. Thanks
Author
Owner

@thdevai commented on GitHub (Feb 18, 2024):

Maybe it is that: https://github.com/ollama/ollama/issues/2560#issuecomment-1950690705

<!-- gh-comment-id:1951319353 --> @thdevai commented on GitHub (Feb 18, 2024): Maybe it is that: https://github.com/ollama/ollama/issues/2560#issuecomment-1950690705
Author
Owner

@dhiltgen commented on GitHub (Feb 19, 2024):

@spampinato55 please attach the server.log so we can see why the server crashed.

<!-- gh-comment-id:1953149249 --> @dhiltgen commented on GitHub (Feb 19, 2024): @spampinato55 please attach the server.log so we can see why the server crashed.
Author
Owner

@spampinato55 commented on GitHub (Feb 20, 2024):

Thank you very much. In the attached doc the server.log.

Best regards
Salvatore

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Privo
di virus.www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Il giorno lun 19 feb 2024 alle ore 21:56 Daniel Hiltgen <
@.***> ha scritto:

@spampinato55 https://github.com/spampinato55 please attach the
server.log so we can see why the server crashed.


Reply to this email directly, view it on GitHub
https://github.com/ollama/ollama/issues/2569#issuecomment-1953149249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALI74LBTPZWYZXI6DGFKHZDYUO37RAVCNFSM6AAAAABDN4JRBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGE2DSMRUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:1953537150 --> @spampinato55 commented on GitHub (Feb 20, 2024): Thank you very much. In the attached doc the server.log. Best regards Salvatore <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Privo di virus.www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Il giorno lun 19 feb 2024 alle ore 21:56 Daniel Hiltgen < ***@***.***> ha scritto: > @spampinato55 <https://github.com/spampinato55> please attach the > server.log so we can see why the server crashed. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ollama/ollama/issues/2569#issuecomment-1953149249>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALI74LBTPZWYZXI6DGFKHZDYUO37RAVCNFSM6AAAAABDN4JRBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGE2DSMRUHE> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@biraescudero commented on GitHub (Feb 20, 2024):

I have the same problem.

Ollama runs, and I can check it at localhost:11434. But when I tru to run 'ollama run {model_name}', the server crashes.

The same happens when I use WebUI. The system loads, and all looks good, but when I send any question, the system crashes.

I dealing with this problem for two days, since I installed Ollama for Windows (Windows 10, AMD FX8350 and nvidia 750TI/2Gb, 20GbRAM). Windows and all drives, including nvidia and cuda are updated.

I got the system working twice, one time under Powershell and one under docker webui, but not again.

But for more than a hundred times I see this error:
PS C:\Users\ubira> ollama run llama2

Error: Head "http://127.0.0.1:11434/": read tcp 127.0.0.1:49583->127.0.0.1:11434: wsarecv: Foi forçado o cancelamento de uma conexão existente pelo host remoto. (connection forcebly closed by the remote host)

Please note that I made a rule to open this port on windows 10 firewall.

And then the server imediatelly crashes:

PS C:\Users\ubira> ollama start
time=2024-02-20T16:35:23.210-03:00 level=INFO source=images.go:706 msg="total blobs: 16"
time=2024-02-20T16:35:23.236-03:00 level=INFO source=images.go:713 msg="total unused blobs removed: 0"
time=2024-02-20T16:35:23.239-03:00 level=INFO source=routes.go:1014 msg="Listening on 127.0.0.1:11434 (version 0.1.25)"
time=2024-02-20T16:35:23.239-03:00 level=INFO source=payload_common.go:107 msg="Extracting dynamic libraries..."
time=2024-02-20T16:35:23.474-03:00 level=INFO source=payload_common.go:146 msg="Dynamic LLM libraries [cpu_avx2 cpu cpu_avx cuda_v11.3]"
[GIN] 2024/02/20 - 16:35:30 | 200 | 0s | 127.0.0.1 | GET "/"
[GIN] 2024/02/20 - 16:35:39 | 200 | 0s | 127.0.0.1 | HEAD "/"
[GIN] 2024/02/20 - 16:35:39 | 200 | 4.5173ms | 127.0.0.1 | POST "/api/show"
[GIN] 2024/02/20 - 16:35:39 | 200 | 1.6514ms | 127.0.0.1 | POST "/api/show"
time=2024-02-20T16:35:41.495-03:00 level=INFO source=gpu.go:94 msg="Detecting GPU type"
time=2024-02-20T16:35:41.495-03:00 level=INFO source=gpu.go:262 msg="Searching for GPU management library nvml.dll"
time=2024-02-20T16:35:41.512-03:00 level=INFO source=gpu.go:308 msg="Discovered GPU libraries: [c:\Windows\System32\nvml.dll C:\Windows\system32\nvml.dll]"
time=2024-02-20T16:35:41.532-03:00 level=INFO source=gpu.go:99 msg="Nvidia GPU detected"
time=2024-02-20T16:35:41.532-03:00 level=INFO source=cpu_common.go:15 msg="CPU has AVX"
time=2024-02-20T16:35:41.540-03:00 level=INFO source=gpu.go:146 msg="CUDA Compute Capability detected: 5.0"
time=2024-02-20T16:35:41.541-03:00 level=INFO source=cpu_common.go:15 msg="CPU has AVX"
time=2024-02-20T16:35:41.541-03:00 level=INFO source=gpu.go:146 msg="CUDA Compute Capability detected: 5.0"
time=2024-02-20T16:35:41.541-03:00 level=INFO source=cpu_common.go:15 msg="CPU has AVX"
time=2024-02-20T16:35:41.541-03:00 level=INFO source=dyn_ext_server.go:380 msg="Updating PATH to C:\Users\ubira\AppData\Local\Temp\ollama2058444207\cuda_v11.3;C:\ffmpeg\bin;C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Users\ubira\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts;C:\Users\ubira\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts;C:\Users\ubira\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\ubira\AppData\Local\Programs\Python\Python38\;C:\Users\ubira\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\ubira\AppData\Local\Programs\Python\Python311\;C:\Users\ubira\AppData\Local\Microsoft\WindowsApps;C:\Users\ubira\.dotnet\tools;C:\Program ;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\ubira\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\ubira\AppData\Local\Programs\Python\Python38\;C:\Users\ubira\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\ubira\AppData\Local\Programs\Python\Python311\;C:\Users\ubira\AppData\Local\Microsoft\WindowsApps;C:\Users\ubira\.dotnet\tools;C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.4\bin;;C:\Users\ubira\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\ubira\AppData\Roaming\npm;C:\Users\ubira\AppData\Local\GitHubDesktop\bin;C:\Users\ubira\AppData\Local\Programs\Ollama"
loading library C:\Users\ubira\AppData\Local\Temp\ollama2058444207\cuda_v11.3\ext_server.dll
time=2024-02-20T16:35:41.575-03:00 level=INFO source=dyn_ext_server.go:90 msg="Loading Dynamic llm server: C:\Users\ubira\AppData\Local\Temp\ollama2058444207\cuda_v11.3\ext_server.dll"
time=2024-02-20T16:35:41.575-03:00 level=INFO source=dyn_ext_server.go:145 msg="Initializing llama server"
ggml_init_cublas: GGML_CUDA_FORCE_MMQ: no
ggml_init_cublas: CUDA_USE_TENSOR_CORES: yes
ggml_init_cublas: found 1 CUDA devices:
Device 0: NVIDIA GeForce GTX 750 Ti, compute capability 5.0, VMM: yes
Exception 0xc000001d 0x0 0x0 0x7ffbf90399dd
PC=0x7ffbf90399dd
signal arrived during external code execution

runtime.cgocall(0x7ff7e89353c0, 0xc000dfe758)
C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000dfe730 sp=0xc000dfe6f8 pc=0x7ff7e83491be
github.com/jmorganca/ollama/llm._Cfunc_dyn_llama_server_init({0x7ffbf8ff0000, 0x7ffbf907a1e0, 0x7ffbf907ae00, 0x7ffbf907ae80, 0x7ffbf9078660, 0x7ffbf9078820, 0x7ffbf90787a0, 0x7ffbf907ade0, 0x7ffbf907b540, 0x7ffbf9079560, ...}, ...)
_cgo_gotypes.go:282 +0x4d fp=0xc000dfe758 sp=0xc000dfe730 pc=0x7ff7e8738b8d
github.com/jmorganca/ollama/llm.newDynExtServer.func7(0xc0001aa050, 0xc000c78048)
C:/Users/jeff/git/ollama/llm/dyn_ext_server.go:148 +0x112 fp=0xc000dfe898 sp=0xc000dfe758 pc=0x7ff7e873a2d2
github.com/jmorganca/ollama/llm.newDynExtServer({0xc00040a180, 0x4c}, {0xc0000d6c80, }, {, _, }, {0x0, 0x0, 0x0}, ...)
C:/Users/jeff/git/ollama/llm/dyn_ext_server.go:148 +0xac5 fp=0xc000dfeae0 sp=0xc000dfe898 pc=0x7ff7e8739f05
github.com/jmorganca/ollama/llm.newLlmServer({{
, _, }, {, }, {, }}, {, _}, {0xc0000d6c80, ...}, ...)
C:/Users/jeff/git/ollama/llm/llm.go:158 +0x4c5 fp=0xc000dfeca0 sp=0xc000dfeae0 pc=0x7ff7e87363c5
github.com/jmorganca/ollama/llm.New({0xc0003ba980, 0x32}, {0xc0000d6c80, }, {, _, _}, {0x0, 0x0, 0x0}, ...)
C:/Users/jeff/git/ollama/llm/llm.go:123 +0x78e fp=0xc000dfef20 sp=0xc000dfeca0 pc=0x7ff7e8735cae
github.com/jmorganca/ollama/server.load(0xc000528000, 0xc0001fa180, {{0x0, 0x800, 0x200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x1, ...}, ...}, ...)
C:/Users/jeff/git/ollama/server/routes.go:85 +0x3a9 fp=0xc000dff090 sp=0xc000dfef20 pc=0x7ff7e8909c69
github.com/jmorganca/ollama/server.ChatHandler(0xc000528000)
C:/Users/jeff/git/ollama/server/routes.go:1163 +0x60b fp=0xc000dff770 sp=0xc000dff090 pc=0x7ff7e8914ccb
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/jmorganca/ollama/server.(*Server).GenerateRoutes.func1(0xc000528000)
C:/Users/jeff/git/ollama/server/routes.go:938 +0x68 fp=0xc000dff7a8 sp=0xc000dff770 pc=0x7ff7e89138a8
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000528000)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x7a fp=0xc000dff7f8 sp=0xc000dff7a8 pc=0x7ff7e88eafda
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000528000)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xdd fp=0xc000dff9a8 sp=0xc000dff7f8 pc=0x7ff7e88ea11d
github.com/gin-gonic/gin.(*Context).Next(...)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00008c4e0, 0xc000528000)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x66e fp=0xc000dffb28 sp=0xc000dff9a8 pc=0x7ff7e88e964e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00008c4e0, {0x7ff7e9dc5f00, 0xc0001d41c0}, 0xc0004a5200)
C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 fp=0xc000dffb60 sp=0xc000dffb28 pc=0x7ff7e88e8e12
net/http.serverHandler.ServeHTTP({0x7ff7e9dc41c0?}, {0x7ff7e9dc5f00?, 0xc0001d41c0?}, 0x6?)
C:/Program Files/Go/src/net/http/server.go:3137 +0x8e fp=0xc000dffb90 sp=0xc000dffb60 pc=0x7ff7e863968e
net/http.(*conn).serve(0xc0001c2bd0, {0x7ff7e9dc7568, 0xc00002e960})
C:/Program Files/Go/src/net/http/server.go:2039 +0x5e8 fp=0xc000dfffb8 sp=0xc000dffb90 pc=0x7ff7e8634a48
net/http.(*Server).Serve.gowrap3()
C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc000dfffe0 sp=0xc000dfffb8 pc=0x7ff7e8639ea8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000dfffe8 sp=0xc000dfffe0 pc=0x7ff7e83b2081
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4

goroutine 1 gp=0xc00005c000 m=nil [IO wait]:
runtime.gopark(0xc00007b008?, 0x7ff7e8996560?, 0x20?, 0xf?, 0xc0000f0f50?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0005116f8 sp=0xc0005116d8 pc=0x7ff7e83812ee
runtime.netpollblock(0x190?, 0xe8348cc6?, 0xf7?)
C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc000511730 sp=0xc0005116f8 pc=0x7ff7e8378c37
internal/poll.runtime_pollWait(0x1aaf12c26e0, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc000511750 sp=0xc000511730 pc=0x7ff7e83abb25
internal/poll.(*pollDesc).wait(0xc00007b408?, 0x0?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000511778 sp=0xc000511750 pc=0x7ff7e8443bc7
internal/poll.execIO(0xc0000f0f20, 0xc000039818)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc0005117e8 sp=0xc000511778 pc=0x7ff7e84450a6
internal/poll.(*FD).acceptOne(0xc0000f0f08, 0x270, {0xc00048c0f0?, 0x0?, 0x0?}, 0xc00007b008?)
C:/Program Files/Go/src/internal/poll/fd_windows.go:944 +0x67 fp=0xc000511848 sp=0xc0005117e8 pc=0x7ff7e8449767
internal/poll.(*FD).Accept(0xc0000f0f08, 0xc0005119f8)
C:/Program Files/Go/src/internal/poll/fd_windows.go:978 +0x1bc fp=0xc000511900 sp=0xc000511848 pc=0x7ff7e8449a9c
net.(*netFD).accept(0xc0000f0f08)
C:/Program Files/Go/src/net/fd_windows.go:178 +0x54 fp=0xc000511a18 sp=0xc000511900 pc=0x7ff7e84c50d4
net.(*TCPListener).accept(0xc00041a5e0)
C:/Program Files/Go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc000511a40 sp=0xc000511a18 pc=0x7ff7e84da57e
net.(*TCPListener).Accept(0xc00041a5e0)
C:/Program Files/Go/src/net/tcpsock.go:327 +0x30 fp=0xc000511a70 sp=0xc000511a40 pc=0x7ff7e84d9670
net/http.(*onceCloseListener).Accept(0xc0001c2bd0?)
:1 +0x24 fp=0xc000511a88 sp=0xc000511a70 pc=0x7ff7e865c064
net/http.(*Server).Serve(0xc00052e000, {0x7ff7e9dc5cf0, 0xc00041a5e0})
C:/Program Files/Go/src/net/http/server.go:3255 +0x33e fp=0xc000511bb8 sp=0xc000511a88 pc=0x7ff7e8639abe
github.com/jmorganca/ollama/server.Serve({0x7ff7e9dc5cf0, 0xc00041a5e0})
C:/Users/jeff/git/ollama/server/routes.go:1041 +0x46f fp=0xc000511cc0 sp=0xc000511bb8 pc=0x7ff7e8913d6f
github.com/jmorganca/ollama/cmd.RunServer(0xc0000f4b00?, {0x7ff7ea2518a0?, 0x4?, 0x7ff7e8ad0f6b?})
C:/Users/jeff/git/ollama/cmd/cmd.go:706 +0x1a5 fp=0xc000511d58 sp=0xc000511cc0 pc=0x7ff7e892cbc5
github.com/spf13/cobra.(*Command).execute(0xc0000e9208, {0x7ff7ea2518a0, 0x0, 0x0})
C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x882 fp=0xc000511e78 sp=0xc000511d58 pc=0x7ff7e86d5462
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000e8608)
C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc000511f30 sp=0xc000511e78 pc=0x7ff7e86d5ca5
github.com/spf13/cobra.(*Command).Execute(...)
C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
C:/Users/jeff/git/ollama/main.go:11 +0x4d fp=0xc000511f50 sp=0xc000511f30 pc=0x7ff7e893512d
runtime.main()
C:/Program Files/Go/src/runtime/proc.go:271 +0x28b fp=0xc000511fe0 sp=0xc000511f50 pc=0x7ff7e8380eeb
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000511fe8 sp=0xc000511fe0 pc=0x7ff7e83b2081

goroutine 2 gp=0xc00005c700 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005ffa8 sp=0xc00005ff88 pc=0x7ff7e83812ee
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:408
runtime.forcegchelper()
C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00005ffe0 sp=0xc00005ffa8 pc=0x7ff7e8381178
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x7ff7e83b2081
created by runtime.init.6 in goroutine 1
C:/Program Files/Go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc00005ca80 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000061f80 sp=0xc000061f60 pc=0x7ff7e83812ee
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:408
runtime.bgsweep(0xc00006c000)
C:/Program Files/Go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc000061fc8 sp=0xc000061f80 pc=0x7ff7e836b43f
runtime.gcenable.gowrap1()
C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc000061fe0 sp=0xc000061fc8 pc=0x7ff7e835fce5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x7ff7e83b2081
created by runtime.gcenable in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc00005cc40 m=nil [GC scavenge wait]:
runtime.gopark(0x9df260?, 0x9ecf2?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000073f78 sp=0xc000073f58 pc=0x7ff7e83812ee
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x7ff7ea1caae0)
C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000073fa8 sp=0xc000073f78 pc=0x7ff7e8368dc9
runtime.bgscavenge(0xc00006c000)
C:/Program Files/Go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000073fc8 sp=0xc000073fa8 pc=0x7ff7e8369379
runtime.gcenable.gowrap2()
C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc000073fe0 sp=0xc000073fc8 pc=0x7ff7e835fc85
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 pc=0x7ff7e83b2081
created by runtime.gcenable in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc00005d180 m=nil [finalizer wait]:
runtime.gopark(0xc000063e48?, 0x7ff7e83530a5?, 0xa8?, 0x1?, 0xc00005c000?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000063e20 sp=0xc000063e00 pc=0x7ff7e83812ee
runtime.runfinq()
C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc000063fe0 sp=0xc000063e20 pc=0x7ff7e835ed67
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000063fe8 sp=0xc000063fe0 pc=0x7ff7e83b2081
created by runtime.createfing in goroutine 1
C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d

goroutine 18 gp=0xc000084380 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006ff50 sp=0xc00006ff30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00006ffe0 sp=0xc00006ff50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 19 gp=0xc000084540 m=nil [GC worker (idle)]:
runtime.gopark(0x47400bb5418?, 0x3?, 0xe8?, 0x49?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000071f50 sp=0xc000071f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000071fe0 sp=0xc000071f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 6 gp=0xc0003de1c0 m=nil [GC worker (idle)]:
runtime.gopark(0x47400bb5418?, 0x3?, 0xe8?, 0x49?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000075f50 sp=0xc000075f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000075fe0 sp=0xc000075f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000075fe8 sp=0xc000075fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 7 gp=0xc0003de380 m=nil [GC worker (idle)]:
runtime.gopark(0x7ff7ea2534a0?, 0x1?, 0x88?, 0xcf?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003e9f50 sp=0xc0003e9f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003e9fe0 sp=0xc0003e9f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e9fe8 sp=0xc0003e9fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 34 gp=0xc000482000 m=nil [GC worker (idle)]:
runtime.gopark(0x47400bb5418?, 0x3?, 0x8c?, 0x3e?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003e5f50 sp=0xc0003e5f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003e5fe0 sp=0xc0003e5f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e5fe8 sp=0xc0003e5fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 35 gp=0xc0004821c0 m=nil [GC worker (idle)]:
runtime.gopark(0x47400c21ff0?, 0x3?, 0xcc?, 0x26?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003e7f50 sp=0xc0003e7f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003e7fe0 sp=0xc0003e7f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e7fe8 sp=0xc0003e7fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 36 gp=0xc000482380 m=nil [GC worker (idle)]:
runtime.gopark(0x47400c21ff0?, 0x3?, 0xa4?, 0xf2?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000489f50 sp=0xc000489f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000489fe0 sp=0xc000489f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000489fe8 sp=0xc000489fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 20 gp=0xc000084700 m=nil [GC worker (idle)]:
runtime.gopark(0x47400bb5418?, 0x1?, 0xf0?, 0xd4?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000485f50 sp=0xc000485f30 pc=0x7ff7e83812ee
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000485fe0 sp=0xc000485f50 pc=0x7ff7e8361e25
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000485fe8 sp=0xc000485fe0 pc=0x7ff7e83b2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 50 gp=0xc0005041c0 m=3 mp=0xc000069008 [syscall]:
runtime.notetsleepg(0x7ff7ea252380, 0xffffffffffffffff)
C:/Program Files/Go/src/runtime/lock_sema.go:296 +0x31 fp=0xc00048bfa0 sp=0xc00048bf68 pc=0x7ff7e8351671
os/signal.signal_recv()
C:/Program Files/Go/src/runtime/sigqueue.go:152 +0x29 fp=0xc00048bfc0 sp=0xc00048bfa0 pc=0x7ff7e83add69
os/signal.loop()
C:/Program Files/Go/src/os/signal/signal_unix.go:23 +0x13 fp=0xc00048bfe0 sp=0xc00048bfc0 pc=0x7ff7e865e413
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00048bfe8 sp=0xc00048bfe0 pc=0x7ff7e83b2081
created by os/signal.Notify.func1.1 in goroutine 1
C:/Program Files/Go/src/os/signal/signal.go:151 +0x1f

goroutine 51 gp=0xc000504380 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003ebf18 sp=0xc0003ebef8 pc=0x7ff7e83812ee
runtime.chanrecv(0xc0004963c0, 0x0, 0x1)
C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc0003ebf90 sp=0xc0003ebf18 pc=0x7ff7e834b84d
runtime.chanrecv1(0x0?, 0x0?)
C:/Program Files/Go/src/runtime/chan.go:442 +0x12 fp=0xc0003ebfb8 sp=0xc0003ebf90 pc=0x7ff7e834b452
github.com/jmorganca/ollama/server.Serve.func2()
C:/Users/jeff/git/ollama/server/routes.go:1023 +0x25 fp=0xc0003ebfe0 sp=0xc0003ebfb8 pc=0x7ff7e8913e05
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003ebfe8 sp=0xc0003ebfe0 pc=0x7ff7e83b2081
created by github.com/jmorganca/ollama/server.Serve in goroutine 1
C:/Users/jeff/git/ollama/server/routes.go:1022 +0x3f6

goroutine 39 gp=0xc000504c40 m=nil [IO wait]:
runtime.gopark(0x0?, 0xc00059eca0?, 0x50?, 0xed?, 0xc00059ecd0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000531890 sp=0xc000531870 pc=0x7ff7e83812ee
runtime.netpollblock(0x26c?, 0xe8348cc6?, 0xf7?)
C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0005318c8 sp=0xc000531890 pc=0x7ff7e8378c37
internal/poll.runtime_pollWait(0x1aaf12c23f8, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc0005318e8 sp=0xc0005318c8 pc=0x7ff7e83abb25
internal/poll.(*pollDesc).wait(0xc0002f3930?, 0x7ff7e844397c?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000531910 sp=0xc0005318e8 pc=0x7ff7e8443bc7
internal/poll.execIO(0xc00059eca0, 0x7ff7e9d05970)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc000531980 sp=0xc000531910 pc=0x7ff7e84450a6
internal/poll.(*FD).Read(0xc00059ec88, {0xc0001ba000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc000531a28 sp=0xc000531980 pc=0x7ff7e8445d51
net.(*netFD).Read(0xc00059ec88, {0xc0001ba000?, 0xc0002f3a98?, 0x7ff7e84440a5?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc000531a70 sp=0xc000531a28 pc=0x7ff7e84c31e5
net.(*conn).Read(0xc00050a028, {0xc0001ba000?, 0x0?, 0xc0000ecc38?})
C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc000531ab8 sp=0xc000531a70 pc=0x7ff7e84d2265
net.(*TCPConn).Read(0xc0000ecc30?, {0xc0001ba000?, 0xc00059ec88?, 0xc0002f3af0?})
:1 +0x25 fp=0xc000531ae8 sp=0xc000531ab8 pc=0x7ff7e84e2285
net/http.(*connReader).Read(0xc0000ecc30, {0xc0001ba000, 0x1000, 0x1000})
C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc000531b38 sp=0xc000531ae8 pc=0x7ff7e862ee4b
bufio.(*Reader).fill(0xc00017eba0)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc000531b70 sp=0xc000531b38 pc=0x7ff7e85b28c3
bufio.(*Reader).Peek(0xc00017eba0, 0x4)
C:/Program Files/Go/src/bufio/bufio.go:148 +0x53 fp=0xc000531b90 sp=0xc000531b70 pc=0x7ff7e85b29f3
net/http.(*conn).serve(0xc0000f62d0, {0x7ff7e9dc7568, 0xc00002e960})
C:/Program Files/Go/src/net/http/server.go:2074 +0x749 fp=0xc000531fb8 sp=0xc000531b90 pc=0x7ff7e8634ba9
net/http.(*Server).Serve.gowrap3()
C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc000531fe0 sp=0xc000531fb8 pc=0x7ff7e8639ea8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000531fe8 sp=0xc000531fe0 pc=0x7ff7e83b2081
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4

goroutine 40 gp=0xc000504e00 m=nil [IO wait]:
runtime.gopark(0x0?, 0xc00059ef20?, 0xd0?, 0xef?, 0xc00059ef50?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00050d890 sp=0xc00050d870 pc=0x7ff7e83812ee
runtime.netpollblock(0x264?, 0xe8348cc6?, 0xf7?)
C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00050d8c8 sp=0xc00050d890 pc=0x7ff7e8378c37
internal/poll.runtime_pollWait(0x1aaf12c2300, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00050d8e8 sp=0xc00050d8c8 pc=0x7ff7e83abb25
internal/poll.(*pollDesc).wait(0xc0003f3968?, 0x7ff7e835b6fd?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00050d910 sp=0xc00050d8e8 pc=0x7ff7e8443bc7
internal/poll.execIO(0xc00059ef20, 0x7ff7e9d05970)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00050d980 sp=0xc00050d910 pc=0x7ff7e84450a6
internal/poll.(*FD).Read(0xc00059ef08, {0xc00030a000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00050da28 sp=0xc00050d980 pc=0x7ff7e8445d51
net.(*netFD).Read(0xc00059ef08, {0xc00030a000?, 0xc0003f3a98?, 0x7ff7e84440a5?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00050da70 sp=0xc00050da28 pc=0x7ff7e84c31e5
net.(*conn).Read(0xc00050a030, {0xc00030a000?, 0x0?, 0xc00002fb08?})
C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00050dab8 sp=0xc00050da70 pc=0x7ff7e84d2265
net.(*TCPConn).Read(0xc00002fb00?, {0xc00030a000?, 0xc00059ef08?, 0xc0003f3af0?})
:1 +0x25 fp=0xc00050dae8 sp=0xc00050dab8 pc=0x7ff7e84e2285
net/http.(*connReader).Read(0xc00002fb00, {0xc00030a000, 0x1000, 0x1000})
C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc00050db38 sp=0xc00050dae8 pc=0x7ff7e862ee4b
bufio.(*Reader).fill(0xc00018a120)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc00050db70 sp=0xc00050db38 pc=0x7ff7e85b28c3
bufio.(*Reader).Peek(0xc00018a120, 0x4)
C:/Program Files/Go/src/bufio/bufio.go:148 +0x53 fp=0xc00050db90 sp=0xc00050db70 pc=0x7ff7e85b29f3
net/http.(*conn).serve(0xc0000f6360, {0x7ff7e9dc7568, 0xc00002e960})
C:/Program Files/Go/src/net/http/server.go:2074 +0x749 fp=0xc00050dfb8 sp=0xc00050db90 pc=0x7ff7e8634ba9
net/http.(*Server).Serve.gowrap3()
C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc00050dfe0 sp=0xc00050dfb8 pc=0x7ff7e8639ea8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00050dfe8 sp=0xc00050dfe0 pc=0x7ff7e83b2081
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4

goroutine 38 gp=0xc000504fc0 m=nil [IO wait]:
runtime.gopark(0x0?, 0xc00059ea20?, 0xd0?, 0xea?, 0xc00059ea50?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00053b448 sp=0xc00053b428 pc=0x7ff7e83812ee
runtime.netpollblock(0x20c?, 0xe8348cc6?, 0xf7?)
C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00053b480 sp=0xc00053b448 pc=0x7ff7e8378c37
internal/poll.runtime_pollWait(0x1aaf12c24f0, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00053b4a0 sp=0xc00053b480 pc=0x7ff7e83abb25
internal/poll.(*pollDesc).wait(0x0?, 0x0?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00053b4c8 sp=0xc00053b4a0 pc=0x7ff7e8443bc7
internal/poll.execIO(0xc00059ea20, 0x7ff7e9d05970)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00053b538 sp=0xc00053b4c8 pc=0x7ff7e84450a6
internal/poll.(*FD).Read(0xc00059ea08, {0xc00073e000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00053b5e0 sp=0xc00053b538 pc=0x7ff7e8445d51
net.(*netFD).Read(0xc00059ea08, {0xc00073e000?, 0xc0003a4040?, 0xc00053b668?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00053b628 sp=0xc00053b5e0 pc=0x7ff7e84c31e5
net.(*conn).Read(0xc00050a020, {0xc00073e000?, 0x0?, 0xc000118338?})
C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00053b670 sp=0xc00053b628 pc=0x7ff7e84d2265
net.(*TCPConn).Read(0xc000118330?, {0xc00073e000?, 0x0?, 0x0?})
:1 +0x25 fp=0xc00053b6a0 sp=0xc00053b670 pc=0x7ff7e84e2285
net/http.(*connReader).Read(0xc000118330, {0xc00073e000, 0x1000, 0x1000})
C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc00053b6f0 sp=0xc00053b6a0 pc=0x7ff7e862ee4b
bufio.(*Reader).fill(0xc0000762a0)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc00053b728 sp=0xc00053b6f0 pc=0x7ff7e85b28c3
bufio.(*Reader).ReadSlice(0xc0000762a0, 0xa)
C:/Program Files/Go/src/bufio/bufio.go:376 +0x29 fp=0xc00053b770 sp=0xc00053b728 pc=0x7ff7e85b33c9
bufio.(*Reader).ReadLine(0xc0000762a0)
C:/Program Files/Go/src/bufio/bufio.go:405 +0x25 fp=0xc00053b7c0 sp=0xc00053b770 pc=0x7ff7e85b3625
net/textproto.(*Reader).readLineSlice(0xc0001183c0)
C:/Program Files/Go/src/net/textproto/reader.go:56 +0xa5 fp=0xc00053b8a8 sp=0xc00053b7c0 pc=0x7ff7e85b72c5
net/textproto.(*Reader).ReadLine(...)
C:/Program Files/Go/src/net/textproto/reader.go:39
net/http.readRequest(0xc0000762a0)
C:/Program Files/Go/src/net/http/request.go:1059 +0xae fp=0xc00053ba08 sp=0xc00053b8a8 pc=0x7ff7e86272ae
net/http.(*conn).readRequest(0xc0000f6240, {0x7ff7e9dc75a0, 0xc000078500})
C:/Program Files/Go/src/net/http/server.go:1004 +0x248 fp=0xc00053bb90 sp=0xc00053ba08 pc=0x7ff7e86303e8
net/http.(*conn).serve(0xc0000f6240, {0x7ff7e9dc7568, 0xc00002e960})
C:/Program Files/Go/src/net/http/server.go:1964 +0x339 fp=0xc00053bfb8 sp=0xc00053bb90 pc=0x7ff7e8634799
net/http.(*Server).Serve.gowrap3()
C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc00053bfe0 sp=0xc00053bfb8 pc=0x7ff7e8639ea8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00053bfe8 sp=0xc00053bfe0 pc=0x7ff7e83b2081
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4

goroutine 8 gp=0xc000505180 m=nil [IO wait]:
runtime.gopark(0x0?, 0xc0000f1ba0?, 0x50?, 0x1c?, 0xc0000f1bd0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00053d890 sp=0xc00053d870 pc=0x7ff7e83812ee
runtime.netpollblock(0x1f8?, 0xe8348cc6?, 0xf7?)
C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00053d8c8 sp=0xc00053d890 pc=0x7ff7e8378c37
internal/poll.runtime_pollWait(0x1aaf12c25e8, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00053d8e8 sp=0xc00053d8c8 pc=0x7ff7e83abb25
internal/poll.(*pollDesc).wait(0xc0002f7930?, 0x7ff7e844397c?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00053d910 sp=0xc00053d8e8 pc=0x7ff7e8443bc7
internal/poll.execIO(0xc0000f1ba0, 0x7ff7e9d05970)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00053d980 sp=0xc00053d910 pc=0x7ff7e84450a6
internal/poll.(*FD).Read(0xc0000f1b88, {0xc000585000, 0x1000, 0x1000})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00053da28 sp=0xc00053d980 pc=0x7ff7e8445d51
net.(*netFD).Read(0xc0000f1b88, {0xc000585000?, 0xc0002f7a98?, 0x7ff7e84440a5?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00053da70 sp=0xc00053da28 pc=0x7ff7e84c31e5
net.(*conn).Read(0xc00059c010, {0xc000585000?, 0x0?, 0xc00002ea88?})
C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00053dab8 sp=0xc00053da70 pc=0x7ff7e84d2265
net.(*TCPConn).Read(0xc00002ea80?, {0xc000585000?, 0xc0000f1b88?, 0xc0002f7af0?})
:1 +0x25 fp=0xc00053dae8 sp=0xc00053dab8 pc=0x7ff7e84e2285
net/http.(*connReader).Read(0xc00002ea80, {0xc000585000, 0x1000, 0x1000})
C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc00053db38 sp=0xc00053dae8 pc=0x7ff7e862ee4b
bufio.(*Reader).fill(0xc00018a000)
C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc00053db70 sp=0xc00053db38 pc=0x7ff7e85b28c3
bufio.(*Reader).Peek(0xc00018a000, 0x4)
C:/Program Files/Go/src/bufio/bufio.go:148 +0x53 fp=0xc00053db90 sp=0xc00053db70 pc=0x7ff7e85b29f3
net/http.(*conn).serve(0xc00016c1b0, {0x7ff7e9dc7568, 0xc00002e960})
C:/Program Files/Go/src/net/http/server.go:2074 +0x749 fp=0xc00053dfb8 sp=0xc00053db90 pc=0x7ff7e8634ba9
net/http.(*Server).Serve.gowrap3()
C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc00053dfe0 sp=0xc00053dfb8 pc=0x7ff7e8639ea8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00053dfe8 sp=0xc00053dfe0 pc=0x7ff7e83b2081
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4

goroutine 24 gp=0xc000084c40 m=nil [IO wait]:
runtime.gopark(0x0?, 0xc0004382a0?, 0x50?, 0x83?, 0xc0004382d0?)
C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00053fd28 sp=0xc00053fd08 pc=0x7ff7e83812ee
runtime.netpollblock(0x260?, 0xe8348cc6?, 0xf7?)
C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00053fd60 sp=0xc00053fd28 pc=0x7ff7e8378c37
internal/poll.runtime_pollWait(0x1aaf12c2208, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00053fd80 sp=0xc00053fd60 pc=0x7ff7e83abb25
internal/poll.(*pollDesc).wait(0xc00053ff68?, 0x7ff7e8737f11?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00053fda8 sp=0xc00053fd80 pc=0x7ff7e8443bc7
internal/poll.execIO(0xc0004382a0, 0x7ff7e9d05970)
C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00053fe18 sp=0xc00053fda8 pc=0x7ff7e84450a6
internal/poll.(*FD).Read(0xc000438288, {0xc000088071, 0x1, 0x1})
C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00053fec0 sp=0xc00053fe18 pc=0x7ff7e8445d51
net.(*netFD).Read(0xc000438288, {0xc000088071?, 0x8?, 0x0?})
C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00053ff08 sp=0xc00053fec0 pc=0x7ff7e84c31e5
net.(*conn).Read(0xc0004361d0, {0xc000088071?, 0xc00053feb8?, 0xc00053ffd0?})
C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00053ff50 sp=0xc00053ff08 pc=0x7ff7e84d2265
net.(*TCPConn).Read(0x0?, {0xc000088071?, 0xc0003a4480?, 0x7ff7e872c480?})
:1 +0x25 fp=0xc00053ff80 sp=0xc00053ff50 pc=0x7ff7e84e2285
net/http.(*connReader).backgroundRead(0xc000088060)
C:/Program Files/Go/src/net/http/server.go:681 +0x37 fp=0xc00053ffc8 sp=0xc00053ff80 pc=0x7ff7e862e9b7
net/http.(*connReader).startBackgroundRead.gowrap2()
C:/Program Files/Go/src/net/http/server.go:677 +0x25 fp=0xc00053ffe0 sp=0xc00053ffc8 pc=0x7ff7e862e8e5
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00053ffe8 sp=0xc00053ffe0 pc=0x7ff7e83b2081
created by net/http.(*connReader).startBackgroundRead in goroutine 23
C:/Program Files/Go/src/net/http/server.go:677 +0xba
rax 0xfffffffffffffff
rbx 0x1aaf3350318
rcx 0x1aaf33503c0
rdx 0x8
rdi 0x11d21ff1c0
rsi 0x1aaf33503c0
rbp 0x1aacbc8f0c0
rsp 0x11d21feba0
r8 0x3b
r9 0x1
r10 0x7ffc583b0000
r11 0x11d21febb0
r12 0xd6bf94d5e57a42bd
r13 0x0
r14 0x1aaf3350360
r15 0x1aacbc8f040
rip 0x7ffbf90399dd
rflags 0x10206
cs 0x33
fs 0x53
gs 0x2b

Any help will be welcome!

<!-- gh-comment-id:1954958121 --> @biraescudero commented on GitHub (Feb 20, 2024): I have the same problem. Ollama runs, and I can check it at localhost:11434. But when I tru to run 'ollama run {model_name}', the server crashes. The same happens when I use WebUI. The system loads, and all looks good, but when I send any question, the system crashes. I dealing with this problem for two days, since I installed Ollama for Windows (Windows 10, AMD FX8350 and nvidia 750TI/2Gb, 20GbRAM). Windows and all drives, including nvidia and cuda are updated. I got the system working twice, one time under Powershell and one under docker webui, but not again. But for more than a hundred times I see this error: PS C:\Users\ubira> ollama run llama2 Error: Head "http://127.0.0.1:11434/": read tcp 127.0.0.1:49583->127.0.0.1:11434: wsarecv: Foi forçado o cancelamento de uma conexão existente pelo host remoto. (connection forcebly closed by the remote host) Please note that I made a rule to open this port on windows 10 firewall. And then the server imediatelly crashes: PS C:\Users\ubira> ollama start time=2024-02-20T16:35:23.210-03:00 level=INFO source=images.go:706 msg="total blobs: 16" time=2024-02-20T16:35:23.236-03:00 level=INFO source=images.go:713 msg="total unused blobs removed: 0" time=2024-02-20T16:35:23.239-03:00 level=INFO source=routes.go:1014 msg="Listening on 127.0.0.1:11434 (version 0.1.25)" time=2024-02-20T16:35:23.239-03:00 level=INFO source=payload_common.go:107 msg="Extracting dynamic libraries..." time=2024-02-20T16:35:23.474-03:00 level=INFO source=payload_common.go:146 msg="Dynamic LLM libraries [cpu_avx2 cpu cpu_avx cuda_v11.3]" [GIN] 2024/02/20 - 16:35:30 | 200 | 0s | 127.0.0.1 | GET "/" [GIN] 2024/02/20 - 16:35:39 | 200 | 0s | 127.0.0.1 | HEAD "/" [GIN] 2024/02/20 - 16:35:39 | 200 | 4.5173ms | 127.0.0.1 | POST "/api/show" [GIN] 2024/02/20 - 16:35:39 | 200 | 1.6514ms | 127.0.0.1 | POST "/api/show" time=2024-02-20T16:35:41.495-03:00 level=INFO source=gpu.go:94 msg="Detecting GPU type" time=2024-02-20T16:35:41.495-03:00 level=INFO source=gpu.go:262 msg="Searching for GPU management library nvml.dll" time=2024-02-20T16:35:41.512-03:00 level=INFO source=gpu.go:308 msg="Discovered GPU libraries: [c:\\Windows\\System32\\nvml.dll C:\\Windows\\system32\\nvml.dll]" time=2024-02-20T16:35:41.532-03:00 level=INFO source=gpu.go:99 msg="Nvidia GPU detected" time=2024-02-20T16:35:41.532-03:00 level=INFO source=cpu_common.go:15 msg="CPU has AVX" time=2024-02-20T16:35:41.540-03:00 level=INFO source=gpu.go:146 msg="CUDA Compute Capability detected: 5.0" time=2024-02-20T16:35:41.541-03:00 level=INFO source=cpu_common.go:15 msg="CPU has AVX" time=2024-02-20T16:35:41.541-03:00 level=INFO source=gpu.go:146 msg="CUDA Compute Capability detected: 5.0" time=2024-02-20T16:35:41.541-03:00 level=INFO source=cpu_common.go:15 msg="CPU has AVX" time=2024-02-20T16:35:41.541-03:00 level=INFO source=dyn_ext_server.go:380 msg="Updating PATH to C:\\Users\\ubira\\AppData\\Local\\Temp\\ollama2058444207\\cuda_v11.3;C:\\ffmpeg\\bin;C:\\Program Files\\Microsoft\\jdk-11.0.16.101-hotspot\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Users\\ubira\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python311\\Scripts;C:\\Users\\ubira\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python311\\Scripts;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\ubira\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ubira\\.dotnet\\tools;C:\\Program ;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2023.3.1\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python38\\;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\ubira\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\ubira\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ubira\\.dotnet\\tools;C:\\Program Files\\JetBrains\\PyCharm Community Edition 2023.1.4\\bin;;C:\\Users\\ubira\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\ubira\\AppData\\Roaming\\npm;C:\\Users\\ubira\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ubira\\AppData\\Local\\Programs\\Ollama" loading library C:\Users\ubira\AppData\Local\Temp\ollama2058444207\cuda_v11.3\ext_server.dll time=2024-02-20T16:35:41.575-03:00 level=INFO source=dyn_ext_server.go:90 msg="Loading Dynamic llm server: C:\\Users\\ubira\\AppData\\Local\\Temp\\ollama2058444207\\cuda_v11.3\\ext_server.dll" time=2024-02-20T16:35:41.575-03:00 level=INFO source=dyn_ext_server.go:145 msg="Initializing llama server" ggml_init_cublas: GGML_CUDA_FORCE_MMQ: no ggml_init_cublas: CUDA_USE_TENSOR_CORES: yes ggml_init_cublas: found 1 CUDA devices: Device 0: NVIDIA GeForce GTX 750 Ti, compute capability 5.0, VMM: yes Exception 0xc000001d 0x0 0x0 0x7ffbf90399dd PC=0x7ffbf90399dd signal arrived during external code execution runtime.cgocall(0x7ff7e89353c0, 0xc000dfe758) C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000dfe730 sp=0xc000dfe6f8 pc=0x7ff7e83491be github.com/jmorganca/ollama/llm._Cfunc_dyn_llama_server_init({0x7ffbf8ff0000, 0x7ffbf907a1e0, 0x7ffbf907ae00, 0x7ffbf907ae80, 0x7ffbf9078660, 0x7ffbf9078820, 0x7ffbf90787a0, 0x7ffbf907ade0, 0x7ffbf907b540, 0x7ffbf9079560, ...}, ...) _cgo_gotypes.go:282 +0x4d fp=0xc000dfe758 sp=0xc000dfe730 pc=0x7ff7e8738b8d github.com/jmorganca/ollama/llm.newDynExtServer.func7(0xc0001aa050, 0xc000c78048) C:/Users/jeff/git/ollama/llm/dyn_ext_server.go:148 +0x112 fp=0xc000dfe898 sp=0xc000dfe758 pc=0x7ff7e873a2d2 github.com/jmorganca/ollama/llm.newDynExtServer({0xc00040a180, 0x4c}, {0xc0000d6c80, _}, {_, _, _}, {0x0, 0x0, 0x0}, ...) C:/Users/jeff/git/ollama/llm/dyn_ext_server.go:148 +0xac5 fp=0xc000dfeae0 sp=0xc000dfe898 pc=0x7ff7e8739f05 github.com/jmorganca/ollama/llm.newLlmServer({{_, _, _}, {_, _}, {_, _}}, {_, _}, {0xc0000d6c80, ...}, ...) C:/Users/jeff/git/ollama/llm/llm.go:158 +0x4c5 fp=0xc000dfeca0 sp=0xc000dfeae0 pc=0x7ff7e87363c5 github.com/jmorganca/ollama/llm.New({0xc0003ba980, 0x32}, {0xc0000d6c80, _}, {_, _, _}, {0x0, 0x0, 0x0}, ...) C:/Users/jeff/git/ollama/llm/llm.go:123 +0x78e fp=0xc000dfef20 sp=0xc000dfeca0 pc=0x7ff7e8735cae github.com/jmorganca/ollama/server.load(0xc000528000, 0xc0001fa180, {{0x0, 0x800, 0x200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x1, ...}, ...}, ...) C:/Users/jeff/git/ollama/server/routes.go:85 +0x3a9 fp=0xc000dff090 sp=0xc000dfef20 pc=0x7ff7e8909c69 github.com/jmorganca/ollama/server.ChatHandler(0xc000528000) C:/Users/jeff/git/ollama/server/routes.go:1163 +0x60b fp=0xc000dff770 sp=0xc000dff090 pc=0x7ff7e8914ccb github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/jmorganca/ollama/server.(*Server).GenerateRoutes.func1(0xc000528000) C:/Users/jeff/git/ollama/server/routes.go:938 +0x68 fp=0xc000dff7a8 sp=0xc000dff770 pc=0x7ff7e89138a8 github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000528000) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x7a fp=0xc000dff7f8 sp=0xc000dff7a8 pc=0x7ff7e88eafda github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000528000) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xdd fp=0xc000dff9a8 sp=0xc000dff7f8 pc=0x7ff7e88ea11d github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00008c4e0, 0xc000528000) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x66e fp=0xc000dffb28 sp=0xc000dff9a8 pc=0x7ff7e88e964e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00008c4e0, {0x7ff7e9dc5f00, 0xc0001d41c0}, 0xc0004a5200) C:/Users/jeff/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 fp=0xc000dffb60 sp=0xc000dffb28 pc=0x7ff7e88e8e12 net/http.serverHandler.ServeHTTP({0x7ff7e9dc41c0?}, {0x7ff7e9dc5f00?, 0xc0001d41c0?}, 0x6?) C:/Program Files/Go/src/net/http/server.go:3137 +0x8e fp=0xc000dffb90 sp=0xc000dffb60 pc=0x7ff7e863968e net/http.(*conn).serve(0xc0001c2bd0, {0x7ff7e9dc7568, 0xc00002e960}) C:/Program Files/Go/src/net/http/server.go:2039 +0x5e8 fp=0xc000dfffb8 sp=0xc000dffb90 pc=0x7ff7e8634a48 net/http.(*Server).Serve.gowrap3() C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc000dfffe0 sp=0xc000dfffb8 pc=0x7ff7e8639ea8 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000dfffe8 sp=0xc000dfffe0 pc=0x7ff7e83b2081 created by net/http.(*Server).Serve in goroutine 1 C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4 goroutine 1 gp=0xc00005c000 m=nil [IO wait]: runtime.gopark(0xc00007b008?, 0x7ff7e8996560?, 0x20?, 0xf?, 0xc0000f0f50?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0005116f8 sp=0xc0005116d8 pc=0x7ff7e83812ee runtime.netpollblock(0x190?, 0xe8348cc6?, 0xf7?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc000511730 sp=0xc0005116f8 pc=0x7ff7e8378c37 internal/poll.runtime_pollWait(0x1aaf12c26e0, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc000511750 sp=0xc000511730 pc=0x7ff7e83abb25 internal/poll.(*pollDesc).wait(0xc00007b408?, 0x0?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000511778 sp=0xc000511750 pc=0x7ff7e8443bc7 internal/poll.execIO(0xc0000f0f20, 0xc000039818) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc0005117e8 sp=0xc000511778 pc=0x7ff7e84450a6 internal/poll.(*FD).acceptOne(0xc0000f0f08, 0x270, {0xc00048c0f0?, 0x0?, 0x0?}, 0xc00007b008?) C:/Program Files/Go/src/internal/poll/fd_windows.go:944 +0x67 fp=0xc000511848 sp=0xc0005117e8 pc=0x7ff7e8449767 internal/poll.(*FD).Accept(0xc0000f0f08, 0xc0005119f8) C:/Program Files/Go/src/internal/poll/fd_windows.go:978 +0x1bc fp=0xc000511900 sp=0xc000511848 pc=0x7ff7e8449a9c net.(*netFD).accept(0xc0000f0f08) C:/Program Files/Go/src/net/fd_windows.go:178 +0x54 fp=0xc000511a18 sp=0xc000511900 pc=0x7ff7e84c50d4 net.(*TCPListener).accept(0xc00041a5e0) C:/Program Files/Go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc000511a40 sp=0xc000511a18 pc=0x7ff7e84da57e net.(*TCPListener).Accept(0xc00041a5e0) C:/Program Files/Go/src/net/tcpsock.go:327 +0x30 fp=0xc000511a70 sp=0xc000511a40 pc=0x7ff7e84d9670 net/http.(*onceCloseListener).Accept(0xc0001c2bd0?) <autogenerated>:1 +0x24 fp=0xc000511a88 sp=0xc000511a70 pc=0x7ff7e865c064 net/http.(*Server).Serve(0xc00052e000, {0x7ff7e9dc5cf0, 0xc00041a5e0}) C:/Program Files/Go/src/net/http/server.go:3255 +0x33e fp=0xc000511bb8 sp=0xc000511a88 pc=0x7ff7e8639abe github.com/jmorganca/ollama/server.Serve({0x7ff7e9dc5cf0, 0xc00041a5e0}) C:/Users/jeff/git/ollama/server/routes.go:1041 +0x46f fp=0xc000511cc0 sp=0xc000511bb8 pc=0x7ff7e8913d6f github.com/jmorganca/ollama/cmd.RunServer(0xc0000f4b00?, {0x7ff7ea2518a0?, 0x4?, 0x7ff7e8ad0f6b?}) C:/Users/jeff/git/ollama/cmd/cmd.go:706 +0x1a5 fp=0xc000511d58 sp=0xc000511cc0 pc=0x7ff7e892cbc5 github.com/spf13/cobra.(*Command).execute(0xc0000e9208, {0x7ff7ea2518a0, 0x0, 0x0}) C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x882 fp=0xc000511e78 sp=0xc000511d58 pc=0x7ff7e86d5462 github.com/spf13/cobra.(*Command).ExecuteC(0xc0000e8608) C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc000511f30 sp=0xc000511e78 pc=0x7ff7e86d5ca5 github.com/spf13/cobra.(*Command).Execute(...) C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) C:/Users/jeff/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985 main.main() C:/Users/jeff/git/ollama/main.go:11 +0x4d fp=0xc000511f50 sp=0xc000511f30 pc=0x7ff7e893512d runtime.main() C:/Program Files/Go/src/runtime/proc.go:271 +0x28b fp=0xc000511fe0 sp=0xc000511f50 pc=0x7ff7e8380eeb runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000511fe8 sp=0xc000511fe0 pc=0x7ff7e83b2081 goroutine 2 gp=0xc00005c700 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005ffa8 sp=0xc00005ff88 pc=0x7ff7e83812ee runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.forcegchelper() C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00005ffe0 sp=0xc00005ffa8 pc=0x7ff7e8381178 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x7ff7e83b2081 created by runtime.init.6 in goroutine 1 C:/Program Files/Go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc00005ca80 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000061f80 sp=0xc000061f60 pc=0x7ff7e83812ee runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.bgsweep(0xc00006c000) C:/Program Files/Go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc000061fc8 sp=0xc000061f80 pc=0x7ff7e836b43f runtime.gcenable.gowrap1() C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc000061fe0 sp=0xc000061fc8 pc=0x7ff7e835fce5 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x7ff7e83b2081 created by runtime.gcenable in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc00005cc40 m=nil [GC scavenge wait]: runtime.gopark(0x9df260?, 0x9ecf2?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000073f78 sp=0xc000073f58 pc=0x7ff7e83812ee runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x7ff7ea1caae0) C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000073fa8 sp=0xc000073f78 pc=0x7ff7e8368dc9 runtime.bgscavenge(0xc00006c000) C:/Program Files/Go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000073fc8 sp=0xc000073fa8 pc=0x7ff7e8369379 runtime.gcenable.gowrap2() C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc000073fe0 sp=0xc000073fc8 pc=0x7ff7e835fc85 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 pc=0x7ff7e83b2081 created by runtime.gcenable in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc00005d180 m=nil [finalizer wait]: runtime.gopark(0xc000063e48?, 0x7ff7e83530a5?, 0xa8?, 0x1?, 0xc00005c000?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000063e20 sp=0xc000063e00 pc=0x7ff7e83812ee runtime.runfinq() C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc000063fe0 sp=0xc000063e20 pc=0x7ff7e835ed67 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000063fe8 sp=0xc000063fe0 pc=0x7ff7e83b2081 created by runtime.createfing in goroutine 1 C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d goroutine 18 gp=0xc000084380 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006ff50 sp=0xc00006ff30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00006ffe0 sp=0xc00006ff50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 19 gp=0xc000084540 m=nil [GC worker (idle)]: runtime.gopark(0x47400bb5418?, 0x3?, 0xe8?, 0x49?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000071f50 sp=0xc000071f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000071fe0 sp=0xc000071f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 6 gp=0xc0003de1c0 m=nil [GC worker (idle)]: runtime.gopark(0x47400bb5418?, 0x3?, 0xe8?, 0x49?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000075f50 sp=0xc000075f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000075fe0 sp=0xc000075f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000075fe8 sp=0xc000075fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 7 gp=0xc0003de380 m=nil [GC worker (idle)]: runtime.gopark(0x7ff7ea2534a0?, 0x1?, 0x88?, 0xcf?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003e9f50 sp=0xc0003e9f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003e9fe0 sp=0xc0003e9f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e9fe8 sp=0xc0003e9fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 34 gp=0xc000482000 m=nil [GC worker (idle)]: runtime.gopark(0x47400bb5418?, 0x3?, 0x8c?, 0x3e?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003e5f50 sp=0xc0003e5f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003e5fe0 sp=0xc0003e5f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e5fe8 sp=0xc0003e5fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 35 gp=0xc0004821c0 m=nil [GC worker (idle)]: runtime.gopark(0x47400c21ff0?, 0x3?, 0xcc?, 0x26?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003e7f50 sp=0xc0003e7f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003e7fe0 sp=0xc0003e7f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003e7fe8 sp=0xc0003e7fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 36 gp=0xc000482380 m=nil [GC worker (idle)]: runtime.gopark(0x47400c21ff0?, 0x3?, 0xa4?, 0xf2?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000489f50 sp=0xc000489f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000489fe0 sp=0xc000489f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000489fe8 sp=0xc000489fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 20 gp=0xc000084700 m=nil [GC worker (idle)]: runtime.gopark(0x47400bb5418?, 0x1?, 0xf0?, 0xd4?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000485f50 sp=0xc000485f30 pc=0x7ff7e83812ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000485fe0 sp=0xc000485f50 pc=0x7ff7e8361e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000485fe8 sp=0xc000485fe0 pc=0x7ff7e83b2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 50 gp=0xc0005041c0 m=3 mp=0xc000069008 [syscall]: runtime.notetsleepg(0x7ff7ea252380, 0xffffffffffffffff) C:/Program Files/Go/src/runtime/lock_sema.go:296 +0x31 fp=0xc00048bfa0 sp=0xc00048bf68 pc=0x7ff7e8351671 os/signal.signal_recv() C:/Program Files/Go/src/runtime/sigqueue.go:152 +0x29 fp=0xc00048bfc0 sp=0xc00048bfa0 pc=0x7ff7e83add69 os/signal.loop() C:/Program Files/Go/src/os/signal/signal_unix.go:23 +0x13 fp=0xc00048bfe0 sp=0xc00048bfc0 pc=0x7ff7e865e413 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00048bfe8 sp=0xc00048bfe0 pc=0x7ff7e83b2081 created by os/signal.Notify.func1.1 in goroutine 1 C:/Program Files/Go/src/os/signal/signal.go:151 +0x1f goroutine 51 gp=0xc000504380 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0003ebf18 sp=0xc0003ebef8 pc=0x7ff7e83812ee runtime.chanrecv(0xc0004963c0, 0x0, 0x1) C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc0003ebf90 sp=0xc0003ebf18 pc=0x7ff7e834b84d runtime.chanrecv1(0x0?, 0x0?) C:/Program Files/Go/src/runtime/chan.go:442 +0x12 fp=0xc0003ebfb8 sp=0xc0003ebf90 pc=0x7ff7e834b452 github.com/jmorganca/ollama/server.Serve.func2() C:/Users/jeff/git/ollama/server/routes.go:1023 +0x25 fp=0xc0003ebfe0 sp=0xc0003ebfb8 pc=0x7ff7e8913e05 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003ebfe8 sp=0xc0003ebfe0 pc=0x7ff7e83b2081 created by github.com/jmorganca/ollama/server.Serve in goroutine 1 C:/Users/jeff/git/ollama/server/routes.go:1022 +0x3f6 goroutine 39 gp=0xc000504c40 m=nil [IO wait]: runtime.gopark(0x0?, 0xc00059eca0?, 0x50?, 0xed?, 0xc00059ecd0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000531890 sp=0xc000531870 pc=0x7ff7e83812ee runtime.netpollblock(0x26c?, 0xe8348cc6?, 0xf7?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0005318c8 sp=0xc000531890 pc=0x7ff7e8378c37 internal/poll.runtime_pollWait(0x1aaf12c23f8, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc0005318e8 sp=0xc0005318c8 pc=0x7ff7e83abb25 internal/poll.(*pollDesc).wait(0xc0002f3930?, 0x7ff7e844397c?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000531910 sp=0xc0005318e8 pc=0x7ff7e8443bc7 internal/poll.execIO(0xc00059eca0, 0x7ff7e9d05970) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc000531980 sp=0xc000531910 pc=0x7ff7e84450a6 internal/poll.(*FD).Read(0xc00059ec88, {0xc0001ba000, 0x1000, 0x1000}) C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc000531a28 sp=0xc000531980 pc=0x7ff7e8445d51 net.(*netFD).Read(0xc00059ec88, {0xc0001ba000?, 0xc0002f3a98?, 0x7ff7e84440a5?}) C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc000531a70 sp=0xc000531a28 pc=0x7ff7e84c31e5 net.(*conn).Read(0xc00050a028, {0xc0001ba000?, 0x0?, 0xc0000ecc38?}) C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc000531ab8 sp=0xc000531a70 pc=0x7ff7e84d2265 net.(*TCPConn).Read(0xc0000ecc30?, {0xc0001ba000?, 0xc00059ec88?, 0xc0002f3af0?}) <autogenerated>:1 +0x25 fp=0xc000531ae8 sp=0xc000531ab8 pc=0x7ff7e84e2285 net/http.(*connReader).Read(0xc0000ecc30, {0xc0001ba000, 0x1000, 0x1000}) C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc000531b38 sp=0xc000531ae8 pc=0x7ff7e862ee4b bufio.(*Reader).fill(0xc00017eba0) C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc000531b70 sp=0xc000531b38 pc=0x7ff7e85b28c3 bufio.(*Reader).Peek(0xc00017eba0, 0x4) C:/Program Files/Go/src/bufio/bufio.go:148 +0x53 fp=0xc000531b90 sp=0xc000531b70 pc=0x7ff7e85b29f3 net/http.(*conn).serve(0xc0000f62d0, {0x7ff7e9dc7568, 0xc00002e960}) C:/Program Files/Go/src/net/http/server.go:2074 +0x749 fp=0xc000531fb8 sp=0xc000531b90 pc=0x7ff7e8634ba9 net/http.(*Server).Serve.gowrap3() C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc000531fe0 sp=0xc000531fb8 pc=0x7ff7e8639ea8 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000531fe8 sp=0xc000531fe0 pc=0x7ff7e83b2081 created by net/http.(*Server).Serve in goroutine 1 C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4 goroutine 40 gp=0xc000504e00 m=nil [IO wait]: runtime.gopark(0x0?, 0xc00059ef20?, 0xd0?, 0xef?, 0xc00059ef50?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00050d890 sp=0xc00050d870 pc=0x7ff7e83812ee runtime.netpollblock(0x264?, 0xe8348cc6?, 0xf7?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00050d8c8 sp=0xc00050d890 pc=0x7ff7e8378c37 internal/poll.runtime_pollWait(0x1aaf12c2300, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00050d8e8 sp=0xc00050d8c8 pc=0x7ff7e83abb25 internal/poll.(*pollDesc).wait(0xc0003f3968?, 0x7ff7e835b6fd?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00050d910 sp=0xc00050d8e8 pc=0x7ff7e8443bc7 internal/poll.execIO(0xc00059ef20, 0x7ff7e9d05970) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00050d980 sp=0xc00050d910 pc=0x7ff7e84450a6 internal/poll.(*FD).Read(0xc00059ef08, {0xc00030a000, 0x1000, 0x1000}) C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00050da28 sp=0xc00050d980 pc=0x7ff7e8445d51 net.(*netFD).Read(0xc00059ef08, {0xc00030a000?, 0xc0003f3a98?, 0x7ff7e84440a5?}) C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00050da70 sp=0xc00050da28 pc=0x7ff7e84c31e5 net.(*conn).Read(0xc00050a030, {0xc00030a000?, 0x0?, 0xc00002fb08?}) C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00050dab8 sp=0xc00050da70 pc=0x7ff7e84d2265 net.(*TCPConn).Read(0xc00002fb00?, {0xc00030a000?, 0xc00059ef08?, 0xc0003f3af0?}) <autogenerated>:1 +0x25 fp=0xc00050dae8 sp=0xc00050dab8 pc=0x7ff7e84e2285 net/http.(*connReader).Read(0xc00002fb00, {0xc00030a000, 0x1000, 0x1000}) C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc00050db38 sp=0xc00050dae8 pc=0x7ff7e862ee4b bufio.(*Reader).fill(0xc00018a120) C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc00050db70 sp=0xc00050db38 pc=0x7ff7e85b28c3 bufio.(*Reader).Peek(0xc00018a120, 0x4) C:/Program Files/Go/src/bufio/bufio.go:148 +0x53 fp=0xc00050db90 sp=0xc00050db70 pc=0x7ff7e85b29f3 net/http.(*conn).serve(0xc0000f6360, {0x7ff7e9dc7568, 0xc00002e960}) C:/Program Files/Go/src/net/http/server.go:2074 +0x749 fp=0xc00050dfb8 sp=0xc00050db90 pc=0x7ff7e8634ba9 net/http.(*Server).Serve.gowrap3() C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc00050dfe0 sp=0xc00050dfb8 pc=0x7ff7e8639ea8 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00050dfe8 sp=0xc00050dfe0 pc=0x7ff7e83b2081 created by net/http.(*Server).Serve in goroutine 1 C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4 goroutine 38 gp=0xc000504fc0 m=nil [IO wait]: runtime.gopark(0x0?, 0xc00059ea20?, 0xd0?, 0xea?, 0xc00059ea50?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00053b448 sp=0xc00053b428 pc=0x7ff7e83812ee runtime.netpollblock(0x20c?, 0xe8348cc6?, 0xf7?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00053b480 sp=0xc00053b448 pc=0x7ff7e8378c37 internal/poll.runtime_pollWait(0x1aaf12c24f0, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00053b4a0 sp=0xc00053b480 pc=0x7ff7e83abb25 internal/poll.(*pollDesc).wait(0x0?, 0x0?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00053b4c8 sp=0xc00053b4a0 pc=0x7ff7e8443bc7 internal/poll.execIO(0xc00059ea20, 0x7ff7e9d05970) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00053b538 sp=0xc00053b4c8 pc=0x7ff7e84450a6 internal/poll.(*FD).Read(0xc00059ea08, {0xc00073e000, 0x1000, 0x1000}) C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00053b5e0 sp=0xc00053b538 pc=0x7ff7e8445d51 net.(*netFD).Read(0xc00059ea08, {0xc00073e000?, 0xc0003a4040?, 0xc00053b668?}) C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00053b628 sp=0xc00053b5e0 pc=0x7ff7e84c31e5 net.(*conn).Read(0xc00050a020, {0xc00073e000?, 0x0?, 0xc000118338?}) C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00053b670 sp=0xc00053b628 pc=0x7ff7e84d2265 net.(*TCPConn).Read(0xc000118330?, {0xc00073e000?, 0x0?, 0x0?}) <autogenerated>:1 +0x25 fp=0xc00053b6a0 sp=0xc00053b670 pc=0x7ff7e84e2285 net/http.(*connReader).Read(0xc000118330, {0xc00073e000, 0x1000, 0x1000}) C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc00053b6f0 sp=0xc00053b6a0 pc=0x7ff7e862ee4b bufio.(*Reader).fill(0xc0000762a0) C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc00053b728 sp=0xc00053b6f0 pc=0x7ff7e85b28c3 bufio.(*Reader).ReadSlice(0xc0000762a0, 0xa) C:/Program Files/Go/src/bufio/bufio.go:376 +0x29 fp=0xc00053b770 sp=0xc00053b728 pc=0x7ff7e85b33c9 bufio.(*Reader).ReadLine(0xc0000762a0) C:/Program Files/Go/src/bufio/bufio.go:405 +0x25 fp=0xc00053b7c0 sp=0xc00053b770 pc=0x7ff7e85b3625 net/textproto.(*Reader).readLineSlice(0xc0001183c0) C:/Program Files/Go/src/net/textproto/reader.go:56 +0xa5 fp=0xc00053b8a8 sp=0xc00053b7c0 pc=0x7ff7e85b72c5 net/textproto.(*Reader).ReadLine(...) C:/Program Files/Go/src/net/textproto/reader.go:39 net/http.readRequest(0xc0000762a0) C:/Program Files/Go/src/net/http/request.go:1059 +0xae fp=0xc00053ba08 sp=0xc00053b8a8 pc=0x7ff7e86272ae net/http.(*conn).readRequest(0xc0000f6240, {0x7ff7e9dc75a0, 0xc000078500}) C:/Program Files/Go/src/net/http/server.go:1004 +0x248 fp=0xc00053bb90 sp=0xc00053ba08 pc=0x7ff7e86303e8 net/http.(*conn).serve(0xc0000f6240, {0x7ff7e9dc7568, 0xc00002e960}) C:/Program Files/Go/src/net/http/server.go:1964 +0x339 fp=0xc00053bfb8 sp=0xc00053bb90 pc=0x7ff7e8634799 net/http.(*Server).Serve.gowrap3() C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc00053bfe0 sp=0xc00053bfb8 pc=0x7ff7e8639ea8 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00053bfe8 sp=0xc00053bfe0 pc=0x7ff7e83b2081 created by net/http.(*Server).Serve in goroutine 1 C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4 goroutine 8 gp=0xc000505180 m=nil [IO wait]: runtime.gopark(0x0?, 0xc0000f1ba0?, 0x50?, 0x1c?, 0xc0000f1bd0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00053d890 sp=0xc00053d870 pc=0x7ff7e83812ee runtime.netpollblock(0x1f8?, 0xe8348cc6?, 0xf7?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00053d8c8 sp=0xc00053d890 pc=0x7ff7e8378c37 internal/poll.runtime_pollWait(0x1aaf12c25e8, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00053d8e8 sp=0xc00053d8c8 pc=0x7ff7e83abb25 internal/poll.(*pollDesc).wait(0xc0002f7930?, 0x7ff7e844397c?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00053d910 sp=0xc00053d8e8 pc=0x7ff7e8443bc7 internal/poll.execIO(0xc0000f1ba0, 0x7ff7e9d05970) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00053d980 sp=0xc00053d910 pc=0x7ff7e84450a6 internal/poll.(*FD).Read(0xc0000f1b88, {0xc000585000, 0x1000, 0x1000}) C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00053da28 sp=0xc00053d980 pc=0x7ff7e8445d51 net.(*netFD).Read(0xc0000f1b88, {0xc000585000?, 0xc0002f7a98?, 0x7ff7e84440a5?}) C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00053da70 sp=0xc00053da28 pc=0x7ff7e84c31e5 net.(*conn).Read(0xc00059c010, {0xc000585000?, 0x0?, 0xc00002ea88?}) C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00053dab8 sp=0xc00053da70 pc=0x7ff7e84d2265 net.(*TCPConn).Read(0xc00002ea80?, {0xc000585000?, 0xc0000f1b88?, 0xc0002f7af0?}) <autogenerated>:1 +0x25 fp=0xc00053dae8 sp=0xc00053dab8 pc=0x7ff7e84e2285 net/http.(*connReader).Read(0xc00002ea80, {0xc000585000, 0x1000, 0x1000}) C:/Program Files/Go/src/net/http/server.go:789 +0x14b fp=0xc00053db38 sp=0xc00053dae8 pc=0x7ff7e862ee4b bufio.(*Reader).fill(0xc00018a000) C:/Program Files/Go/src/bufio/bufio.go:110 +0x103 fp=0xc00053db70 sp=0xc00053db38 pc=0x7ff7e85b28c3 bufio.(*Reader).Peek(0xc00018a000, 0x4) C:/Program Files/Go/src/bufio/bufio.go:148 +0x53 fp=0xc00053db90 sp=0xc00053db70 pc=0x7ff7e85b29f3 net/http.(*conn).serve(0xc00016c1b0, {0x7ff7e9dc7568, 0xc00002e960}) C:/Program Files/Go/src/net/http/server.go:2074 +0x749 fp=0xc00053dfb8 sp=0xc00053db90 pc=0x7ff7e8634ba9 net/http.(*Server).Serve.gowrap3() C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc00053dfe0 sp=0xc00053dfb8 pc=0x7ff7e8639ea8 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00053dfe8 sp=0xc00053dfe0 pc=0x7ff7e83b2081 created by net/http.(*Server).Serve in goroutine 1 C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4 goroutine 24 gp=0xc000084c40 m=nil [IO wait]: runtime.gopark(0x0?, 0xc0004382a0?, 0x50?, 0x83?, 0xc0004382d0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00053fd28 sp=0xc00053fd08 pc=0x7ff7e83812ee runtime.netpollblock(0x260?, 0xe8348cc6?, 0xf7?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00053fd60 sp=0xc00053fd28 pc=0x7ff7e8378c37 internal/poll.runtime_pollWait(0x1aaf12c2208, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc00053fd80 sp=0xc00053fd60 pc=0x7ff7e83abb25 internal/poll.(*pollDesc).wait(0xc00053ff68?, 0x7ff7e8737f11?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00053fda8 sp=0xc00053fd80 pc=0x7ff7e8443bc7 internal/poll.execIO(0xc0004382a0, 0x7ff7e9d05970) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc00053fe18 sp=0xc00053fda8 pc=0x7ff7e84450a6 internal/poll.(*FD).Read(0xc000438288, {0xc000088071, 0x1, 0x1}) C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc00053fec0 sp=0xc00053fe18 pc=0x7ff7e8445d51 net.(*netFD).Read(0xc000438288, {0xc000088071?, 0x8?, 0x0?}) C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc00053ff08 sp=0xc00053fec0 pc=0x7ff7e84c31e5 net.(*conn).Read(0xc0004361d0, {0xc000088071?, 0xc00053feb8?, 0xc00053ffd0?}) C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc00053ff50 sp=0xc00053ff08 pc=0x7ff7e84d2265 net.(*TCPConn).Read(0x0?, {0xc000088071?, 0xc0003a4480?, 0x7ff7e872c480?}) <autogenerated>:1 +0x25 fp=0xc00053ff80 sp=0xc00053ff50 pc=0x7ff7e84e2285 net/http.(*connReader).backgroundRead(0xc000088060) C:/Program Files/Go/src/net/http/server.go:681 +0x37 fp=0xc00053ffc8 sp=0xc00053ff80 pc=0x7ff7e862e9b7 net/http.(*connReader).startBackgroundRead.gowrap2() C:/Program Files/Go/src/net/http/server.go:677 +0x25 fp=0xc00053ffe0 sp=0xc00053ffc8 pc=0x7ff7e862e8e5 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00053ffe8 sp=0xc00053ffe0 pc=0x7ff7e83b2081 created by net/http.(*connReader).startBackgroundRead in goroutine 23 C:/Program Files/Go/src/net/http/server.go:677 +0xba rax 0xfffffffffffffff rbx 0x1aaf3350318 rcx 0x1aaf33503c0 rdx 0x8 rdi 0x11d21ff1c0 rsi 0x1aaf33503c0 rbp 0x1aacbc8f0c0 rsp 0x11d21feba0 r8 0x3b r9 0x1 r10 0x7ffc583b0000 r11 0x11d21febb0 r12 0xd6bf94d5e57a42bd r13 0x0 r14 0x1aaf3350360 r15 0x1aacbc8f040 rip 0x7ffbf90399dd rflags 0x10206 cs 0x33 fs 0x53 gs 0x2b Any help will be welcome!
Author
Owner

@dhiltgen commented on GitHub (Feb 20, 2024):

You have a CPU that only supports AVX, and we mistakenly built the GPU library with AVX2 enabled. Known bug #2527, already fixed on main, and will be included in the next release.

<!-- gh-comment-id:1955185293 --> @dhiltgen commented on GitHub (Feb 20, 2024): You have a CPU that only supports AVX, and we mistakenly built the GPU library with AVX2 enabled. Known bug #2527, already fixed on main, and will be included in the next release.
Author
Owner

@spampinato55 commented on GitHub (Feb 21, 2024):

Ok, thank you.

Il mar 20 feb 2024, 22:56 Daniel Hiltgen @.***> ha
scritto:

You have a CPU that only supports AVX, and we mistakenly built the GPU
library with AVX2 enabled. Known bug #2527
https://github.com/ollama/ollama/issues/2527, already fixed on main,
and will be included in the next release.


Reply to this email directly, view it on GitHub
https://github.com/ollama/ollama/issues/2569#issuecomment-1955185293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALI74LCDGF5Y3LGM4YXQAWTYUULYFAVCNFSM6AAAAABDN4JRBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVGE4DKMRZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:1955856822 --> @spampinato55 commented on GitHub (Feb 21, 2024): Ok, thank you. Il mar 20 feb 2024, 22:56 Daniel Hiltgen ***@***.***> ha scritto: > You have a CPU that only supports AVX, and we mistakenly built the GPU > library with AVX2 enabled. Known bug #2527 > <https://github.com/ollama/ollama/issues/2527>, already fixed on main, > and will be included in the next release. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ollama/ollama/issues/2569#issuecomment-1955185293>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALI74LCDGF5Y3LGM4YXQAWTYUULYFAVCNFSM6AAAAABDN4JRBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVGE4DKMRZGM> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@juliechagnaud commented on GitHub (Mar 13, 2024):

Hello !
I have the same issue but i'm up to date , i'm trying to do a new install on my windows

my error is :

PS C:\Users\server\Desktop> ollama run mistral
Error: Post "http://127.0.0.1:11434/api/chat": read tcp 127.0.0.1:50423->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host.

my server.log is :

loading library C:\Users\server\AppData\Local\Temp\ollama1441712283\cpu_avx2\llama.dll
time=2024-03-13T14:50:58.596-04:00 level=INFO source=images.go:710 msg="total blobs: 5"
time=2024-03-13T14:50:58.615-04:00 level=INFO source=images.go:717 msg="total unused blobs removed: 0"
time=2024-03-13T14:50:58.616-04:00 level=INFO source=routes.go:1021 msg="Listening on 127.0.0.1:11434 (version 0.1.28)"
time=2024-03-13T14:50:58.616-04:00 level=INFO source=payload_common.go:107 msg="Extracting dynamic libraries..."
time=2024-03-13T14:50:58.907-04:00 level=INFO source=payload_common.go:146 msg="Dynamic LLM libraries [cuda_v11.3 cpu_avx2 cpu_avx cpu]"
[GIN] 2024/03/13 - 14:50:58 | 200 |            0s |       127.0.0.1 | HEAD     "/"
[GIN] 2024/03/13 - 14:50:58 | 200 |      1.8286ms |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/03/13 - 14:50:58 | 200 |      1.5839ms |       127.0.0.1 | POST     "/api/show"
time=2024-03-13T14:50:59.650-04:00 level=INFO source=gpu.go:94 msg="Detecting GPU type"
time=2024-03-13T14:50:59.650-04:00 level=INFO source=gpu.go:265 msg="Searching for GPU management library nvml.dll"
time=2024-03-13T14:50:59.655-04:00 level=INFO source=gpu.go:311 msg="Discovered GPU libraries: []"
time=2024-03-13T14:50:59.655-04:00 level=INFO source=gpu.go:265 msg="Searching for GPU management library rocm_smi64.dll"
time=2024-03-13T14:50:59.661-04:00 level=INFO source=gpu.go:311 msg="Discovered GPU libraries: []"
time=2024-03-13T14:50:59.661-04:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
time=2024-03-13T14:50:59.661-04:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
time=2024-03-13T14:50:59.661-04:00 level=INFO source=llm.go:77 msg="GPU not available, falling back to CPU"
time=2024-03-13T14:50:59.661-04:00 level=INFO source=dyn_ext_server.go:385 msg="Updating PATH to C:\\Users\\server\\AppData\\Local\\Temp\\ollama2951565749\\cpu_avx2;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Users\\server\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\server\\AppData\\Local\\Programs\\Ollama"
time=2024-03-13T14:50:59.671-04:00 level=INFO source=dyn_ext_server.go:90 msg="Loading Dynamic llm server: C:\\Users\\server\\AppData\\Local\\Temp\\ollama2951565749\\cpu_avx2\\llama.dll"
time=2024-03-13T14:50:59.671-04:00 level=INFO source=dyn_ext_server.go:150 msg="Initializing llama server"
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
signal arrived during external code execution

runtime.cgocall(0x7ff6c5656620, 0xc0002ec730)
	C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc0002ec708 sp=0xc0002ec6d0 pc=0x7ff6c50691be
github.com/jmorganca/ollama/llm._Cfunc_dyn_llama_server_init({0x7ffd30330000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...)
	_cgo_gotypes.go:282 +0x4d fp=0xc0002ec730 sp=0xc0002ec708 pc=0x7ff6c545936d
github.com/jmorganca/ollama/llm.newDynExtServer.func7(0xc000068500, 0xc0000ac090)
	C:/Users/jmorg/git/ollama/llm/dyn_ext_server.go:153 +0x112 fp=0xc0002ec870 sp=0xc0002ec730 pc=0x7ff6c545aab2
github.com/jmorganca/ollama/llm.newDynExtServer({0xc0005ba600, 0x46}, {0xc0002ee800, _}, {_, _, _}, {0x0, 0x0, 0x0}, ...)
	C:/Users/jmorg/git/ollama/llm/dyn_ext_server.go:153 +0xac5 fp=0xc0002ecab8 sp=0xc0002ec870 pc=0x7ff6c545a6e5
github.com/jmorganca/ollama/llm.newLlmServer({{_, _, _}, {_, _}, {_, _}}, {_, _}, {0xc0002ee800, ...}, ...)
	C:/Users/jmorg/git/ollama/llm/llm.go:158 +0x4c5 fp=0xc0002ecc78 sp=0xc0002ecab8 pc=0x7ff6c5456ba5
github.com/jmorganca/ollama/llm.New({0xc0003bcb40, 0x33}, {0xc0002ee800, _}, {_, _, _}, {0x0, 0x0, 0x0}, ...)
	C:/Users/jmorg/git/ollama/llm/llm.go:123 +0x78e fp=0xc0002ecef8 sp=0xc0002ecc78 pc=0x7ff6c545648e
github.com/jmorganca/ollama/server.load(0xc0000a2500, 0xc0005bc180, {{0x0, 0x800, 0x200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x1, ...}, ...}, ...)
	C:/Users/jmorg/git/ollama/server/routes.go:85 +0x3a9 fp=0xc0002ed068 sp=0xc0002ecef8 pc=0x7ff6c562a529
github.com/jmorganca/ollama/server.ChatHandler(0xc0000a2500)
	C:/Users/jmorg/git/ollama/server/routes.go:1175 +0xa37 fp=0xc0002ed770 sp=0xc0002ed068 pc=0x7ff6c5635cb7
github.com/gin-gonic/gin.(*Context).Next(...)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/jmorganca/ollama/server.(*Server).GenerateRoutes.func1(0xc0000a2500)
	C:/Users/jmorg/git/ollama/server/routes.go:945 +0x68 fp=0xc0002ed7a8 sp=0xc0002ed770 pc=0x7ff6c5634488
github.com/gin-gonic/gin.(*Context).Next(...)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0000a2500)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x7a fp=0xc0002ed7f8 sp=0xc0002ed7a8 pc=0x7ff6c560b7ba
github.com/gin-gonic/gin.(*Context).Next(...)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc0000a2500)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xdd fp=0xc0002ed9a8 sp=0xc0002ed7f8 pc=0x7ff6c560a8fd
github.com/gin-gonic/gin.(*Context).Next(...)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000132340, 0xc0000a2500)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x66e fp=0xc0002edb28 sp=0xc0002ed9a8 pc=0x7ff6c5609e2e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000132340, {0x7ff6c6fb6fe0, 0xc00051c1c0}, 0xc00015f7a0)
	C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 fp=0xc0002edb60 sp=0xc0002edb28 pc=0x7ff6c56095f2
net/http.serverHandler.ServeHTTP({0x7ff6c6fb52a0?}, {0x7ff6c6fb6fe0?, 0xc00051c1c0?}, 0x6?)
	C:/Program Files/Go/src/net/http/server.go:3137 +0x8e fp=0xc0002edb90 sp=0xc0002edb60 pc=0x7ff6c53595ae
net/http.(*conn).serve(0xc0001621b0, {0x7ff6c6fb8648, 0xc000186690})
	C:/Program Files/Go/src/net/http/server.go:2039 +0x5e8 fp=0xc0002edfb8 sp=0xc0002edb90 pc=0x7ff6c5354968
net/http.(*Server).Serve.gowrap3()
	C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc0002edfe0 sp=0xc0002edfb8 pc=0x7ff6c5359dc8
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0002edfe8 sp=0xc0002edfe0 pc=0x7ff6c50d2081
created by net/http.(*Server).Serve in goroutine 1
	C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4

goroutine 1 gp=0xc00004c000 m=nil [IO wait]:
runtime.gopark(0xc000080808?, 0x7ff6c56b7560?, 0x20?, 0x40?, 0xc0000b4050?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000f56f8 sp=0xc0000f56d8 pc=0x7ff6c50a12ee
runtime.netpollblock(0x184?, 0xc5068cc6?, 0xf6?)
	C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0000f5730 sp=0xc0000f56f8 pc=0x7ff6c5098c37
internal/poll.runtime_pollWait(0x2e5ee844e50, 0x72)
	C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc0000f5750 sp=0xc0000f5730 pc=0x7ff6c50cbb25
internal/poll.(*pollDesc).wait(0xc000080c08?, 0x0?, 0x0)
	C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0000f5778 sp=0xc0000f5750 pc=0x7ff6c5163bc7
internal/poll.execIO(0xc0000b4020, 0xc000037818)
	C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc0000f57e8 sp=0xc0000f5778 pc=0x7ff6c51650a6
internal/poll.(*FD).acceptOne(0xc0000b4008, 0x22c, {0xc0000261e0?, 0x0?, 0x0?}, 0xc000080808?)
	C:/Program Files/Go/src/internal/poll/fd_windows.go:944 +0x67 fp=0xc0000f5848 sp=0xc0000f57e8 pc=0x7ff6c5169767
internal/poll.(*FD).Accept(0xc0000b4008, 0xc0000f59f8)
	C:/Program Files/Go/src/internal/poll/fd_windows.go:978 +0x1bc fp=0xc0000f5900 sp=0xc0000f5848 pc=0x7ff6c5169a9c
net.(*netFD).accept(0xc0000b4008)
	C:/Program Files/Go/src/net/fd_windows.go:178 +0x54 fp=0xc0000f5a18 sp=0xc0000f5900 pc=0x7ff6c51e50d4
net.(*TCPListener).accept(0xc000090100)
	C:/Program Files/Go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc0000f5a40 sp=0xc0000f5a18 pc=0x7ff6c51fa57e
net.(*TCPListener).Accept(0xc000090100)
	C:/Program Files/Go/src/net/tcpsock.go:327 +0x30 fp=0xc0000f5a70 sp=0xc0000f5a40 pc=0x7ff6c51f9670
net/http.(*onceCloseListener).Accept(0xc0001621b0?)
	<autogenerated>:1 +0x24 fp=0xc0000f5a88 sp=0xc0000f5a70 pc=0x7ff6c537bf84
net/http.(*Server).Serve(0xc0000e8000, {0x7ff6c6fb6dd0, 0xc000090100})
	C:/Program Files/Go/src/net/http/server.go:3255 +0x33e fp=0xc0000f5bb8 sp=0xc0000f5a88 pc=0x7ff6c53599de
github.com/jmorganca/ollama/server.Serve({0x7ff6c6fb6dd0, 0xc000090100})
	C:/Users/jmorg/git/ollama/server/routes.go:1048 +0x46f fp=0xc0000f5cc0 sp=0xc0000f5bb8 pc=0x7ff6c563494f
github.com/jmorganca/ollama/cmd.RunServer(0xc0000a2300?, {0x7ff6c74438e0?, 0x4?, 0x7ff6c57f1d8e?})
	C:/Users/jmorg/git/ollama/cmd/cmd.go:706 +0x1b9 fp=0xc0000f5d58 sp=0xc0000f5cc0 pc=0x7ff6c564dc79
github.com/spf13/cobra.(*Command).execute(0xc000427208, {0x7ff6c74438e0, 0x0, 0x0})
	C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x882 fp=0xc0000f5e78 sp=0xc0000f5d58 pc=0x7ff6c53f5382
github.com/spf13/cobra.(*Command).ExecuteC(0xc000426608)
	C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc0000f5f30 sp=0xc0000f5e78 pc=0x7ff6c53f5bc5
github.com/spf13/cobra.(*Command).Execute(...)
	C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985
main.main()
	C:/Users/jmorg/git/ollama/main.go:11 +0x4d fp=0xc0000f5f50 sp=0xc0000f5f30 pc=0x7ff6c565638d
runtime.main()
	C:/Program Files/Go/src/runtime/proc.go:271 +0x28b fp=0xc0000f5fe0 sp=0xc0000f5f50 pc=0x7ff6c50a0eeb
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000f5fe8 sp=0xc0000f5fe0 pc=0x7ff6c50d2081

goroutine 2 gp=0xc00004c700 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00004ffa8 sp=0xc00004ff88 pc=0x7ff6c50a12ee
runtime.goparkunlock(...)
	C:/Program Files/Go/src/runtime/proc.go:408
runtime.forcegchelper()
	C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00004ffe0 sp=0xc00004ffa8 pc=0x7ff6c50a1178
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00004ffe8 sp=0xc00004ffe0 pc=0x7ff6c50d2081
created by runtime.init.6 in goroutine 1
	C:/Program Files/Go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc00004ca80 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000051f80 sp=0xc000051f60 pc=0x7ff6c50a12ee
runtime.goparkunlock(...)
	C:/Program Files/Go/src/runtime/proc.go:408
runtime.bgsweep(0xc00005a000)
	C:/Program Files/Go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc000051fc8 sp=0xc000051f80 pc=0x7ff6c508b43f
runtime.gcenable.gowrap1()
	C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc000051fe0 sp=0xc000051fc8 pc=0x7ff6c507fce5
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000051fe8 sp=0xc000051fe0 pc=0x7ff6c50d2081
created by runtime.gcenable in goroutine 1
	C:/Program Files/Go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc00004cc40 m=nil [GC scavenge wait]:
runtime.gopark(0x43cf27c?, 0x42c1d800?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000061f78 sp=0xc000061f58 pc=0x7ff6c50a12ee
runtime.goparkunlock(...)
	C:/Program Files/Go/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x7ff6c73bcb20)
	C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000061fa8 sp=0xc000061f78 pc=0x7ff6c5088dc9
runtime.bgscavenge(0xc00005a000)
	C:/Program Files/Go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000061fc8 sp=0xc000061fa8 pc=0x7ff6c5089379
runtime.gcenable.gowrap2()
	C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc000061fe0 sp=0xc000061fc8 pc=0x7ff6c507fc85
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x7ff6c50d2081
created by runtime.gcenable in goroutine 1
	C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc00004d180 m=nil [finalizer wait]:
runtime.gopark(0xc000053e48?, 0x7ff6c50730a5?, 0xa8?, 0x1?, 0xc00004c000?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000053e20 sp=0xc000053e00 pc=0x7ff6c50a12ee
runtime.runfinq()
	C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc000053fe0 sp=0xc000053e20 pc=0x7ff6c507ed67
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000053fe8 sp=0xc000053fe0 pc=0x7ff6c50d2081
created by runtime.createfing in goroutine 1
	C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d

goroutine 18 gp=0xc0000841c0 m=nil [GC worker (idle)]:
runtime.gopark(0x9e3861b760?, 0x3?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005df50 sp=0xc00005df30 pc=0x7ff6c50a12ee
runtime.gcBgMarkWorker()
	C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005dfe0 sp=0xc00005df50 pc=0x7ff6c5081e25
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x7ff6c50d2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 34 gp=0xc000480000 m=nil [GC worker (idle)]:
runtime.gopark(0x9e30c908b4?, 0x3?, 0x48?, 0xcc?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000487f50 sp=0xc000487f30 pc=0x7ff6c50a12ee
runtime.gcBgMarkWorker()
	C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000487fe0 sp=0xc000487f50 pc=0x7ff6c5081e25
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000487fe8 sp=0xc000487fe0 pc=0x7ff6c50d2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 19 gp=0xc000084380 m=nil [GC worker (idle)]:
runtime.gopark(0x9e3852764c?, 0x3?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005ff50 sp=0xc00005ff30 pc=0x7ff6c50a12ee
runtime.gcBgMarkWorker()
	C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005ffe0 sp=0xc00005ff50 pc=0x7ff6c5081e25
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x7ff6c50d2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 35 gp=0xc0004801c0 m=nil [GC worker (idle)]:
runtime.gopark(0x9e3852764c?, 0x3?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000489f50 sp=0xc000489f30 pc=0x7ff6c50a12ee
runtime.gcBgMarkWorker()
	C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000489fe0 sp=0xc000489f50 pc=0x7ff6c5081e25
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000489fe8 sp=0xc000489fe0 pc=0x7ff6c50d2081
created by runtime.gcBgMarkStartWorkers in goroutine 1
	C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 20 gp=0xc0003c2000 m=4 mp=0xc000059808 [syscall]:
runtime.notetsleepg(0x7ff6c74443c0, 0xffffffffffffffff)
	C:/Program Files/Go/src/runtime/lock_sema.go:296 +0x31 fp=0xc000485fa0 sp=0xc000485f68 pc=0x7ff6c5071671
os/signal.signal_recv()
	C:/Program Files/Go/src/runtime/sigqueue.go:152 +0x29 fp=0xc000485fc0 sp=0xc000485fa0 pc=0x7ff6c50cdd69
os/signal.loop()
	C:/Program Files/Go/src/os/signal/signal_unix.go:23 +0x13 fp=0xc000485fe0 sp=0xc000485fc0 pc=0x7ff6c537e333
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000485fe8 sp=0xc000485fe0 pc=0x7ff6c50d2081
created by os/signal.Notify.func1.1 in goroutine 1
	C:/Program Files/Go/src/os/signal/signal.go:151 +0x1f

goroutine 21 gp=0xc0003c2380 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000063f18 sp=0xc000063ef8 pc=0x7ff6c50a12ee
runtime.chanrecv(0xc000174ea0, 0x0, 0x1)
	C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc000063f90 sp=0xc000063f18 pc=0x7ff6c506b84d
runtime.chanrecv1(0x0?, 0x0?)
	C:/Program Files/Go/src/runtime/chan.go:442 +0x12 fp=0xc000063fb8 sp=0xc000063f90 pc=0x7ff6c506b452
github.com/jmorganca/ollama/server.Serve.func2()
	C:/Users/jmorg/git/ollama/server/routes.go:1030 +0x25 fp=0xc000063fe0 sp=0xc000063fb8 pc=0x7ff6c56349e5
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000063fe8 sp=0xc000063fe0 pc=0x7ff6c50d2081
created by github.com/jmorganca/ollama/server.Serve in goroutine 1
	C:/Users/jmorg/git/ollama/server/routes.go:1029 +0x3f6

goroutine 33 gp=0xc0003c2c40 m=nil [IO wait]:
runtime.gopark(0x0?, 0xc0005c6520?, 0xd0?, 0x65?, 0xc0005c6550?)
	C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000f9d28 sp=0xc0000f9d08 pc=0x7ff6c50a12ee
runtime.netpollblock(0x224?, 0xc5068cc6?, 0xf6?)
	C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0000f9d60 sp=0xc0000f9d28 pc=0x7ff6c5098c37
internal/poll.runtime_pollWait(0x2e5ee844d58, 0x72)
	C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc0000f9d80 sp=0xc0000f9d60 pc=0x7ff6c50cbb25
internal/poll.(*pollDesc).wait(0x10?, 0x10?, 0x0)
	C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0000f9da8 sp=0xc0000f9d80 pc=0x7ff6c5163bc7
internal/poll.execIO(0xc0005c6520, 0x7ff6c6ef6598)
	C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc0000f9e18 sp=0xc0000f9da8 pc=0x7ff6c51650a6
internal/poll.(*FD).Read(0xc0005c6508, {0xc00002c641, 0x1, 0x1})
	C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc0000f9ec0 sp=0xc0000f9e18 pc=0x7ff6c5165d51
net.(*netFD).Read(0xc0005c6508, {0xc00002c641?, 0xc0000f9f48?, 0x7ff6c50cdab0?})
	C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc0000f9f08 sp=0xc0000f9ec0 pc=0x7ff6c51e31e5
net.(*conn).Read(0xc0000560b8, {0xc00002c641?, 0xc0000f9eb8?, 0x7ff6c74438e0?})
	C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc0000f9f50 sp=0xc0000f9f08 pc=0x7ff6c51f2265
net.(*TCPConn).Read(0x7ff6c56ae8b0?, {0xc00002c641?, 0xc000422800?, 0x7ff6c544c940?})
	<autogenerated>:1 +0x25 fp=0xc0000f9f80 sp=0xc0000f9f50 pc=0x7ff6c5202285
net/http.(*connReader).backgroundRead(0xc00002c630)
	C:/Program Files/Go/src/net/http/server.go:681 +0x37 fp=0xc0000f9fc8 sp=0xc0000f9f80 pc=0x7ff6c534e8d7
net/http.(*connReader).startBackgroundRead.gowrap2()
	C:/Program Files/Go/src/net/http/server.go:677 +0x25 fp=0xc0000f9fe0 sp=0xc0000f9fc8 pc=0x7ff6c534e805
runtime.goexit({})
	C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000f9fe8 sp=0xc0000f9fe0 pc=0x7ff6c50d2081
created by net/http.(*connReader).startBackgroundRead in goroutine 30
	C:/Program Files/Go/src/net/http/server.go:677 +0xba
rax     0xe63bdff690
rbx     0xc0002ec730
rcx     0xc000068500
rdx     0xc0000ac090
rdi     0x1940
rsi     0xc00004c8c0
rbp     0xe63bdff720
rsp     0xe63bdff668
r8      0xc0000ac090
r9      0x0
r10     0x36
r11     0xe63bdff2c0
r12     0xc0002ec7b0
r13     0x0
r14     0xc0003c2fc0
r15     0x3ffffffffffffff7
rip     0x0
rflags  0x10202
cs      0x33
fs      0x53
gs      0x2b
loading library C:\Users\server\AppData\Local\Temp\ollama2951565749\cpu_avx2\llama.dll

I don't kwow what to do. Anybody have an idea ? Thanks !

<!-- gh-comment-id:1995407205 --> @juliechagnaud commented on GitHub (Mar 13, 2024): Hello ! I have the same issue but i'm up to date , i'm trying to do a new install on my windows my error is : ``` PS C:\Users\server\Desktop> ollama run mistral Error: Post "http://127.0.0.1:11434/api/chat": read tcp 127.0.0.1:50423->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host. ``` my server.log is : ``` loading library C:\Users\server\AppData\Local\Temp\ollama1441712283\cpu_avx2\llama.dll time=2024-03-13T14:50:58.596-04:00 level=INFO source=images.go:710 msg="total blobs: 5" time=2024-03-13T14:50:58.615-04:00 level=INFO source=images.go:717 msg="total unused blobs removed: 0" time=2024-03-13T14:50:58.616-04:00 level=INFO source=routes.go:1021 msg="Listening on 127.0.0.1:11434 (version 0.1.28)" time=2024-03-13T14:50:58.616-04:00 level=INFO source=payload_common.go:107 msg="Extracting dynamic libraries..." time=2024-03-13T14:50:58.907-04:00 level=INFO source=payload_common.go:146 msg="Dynamic LLM libraries [cuda_v11.3 cpu_avx2 cpu_avx cpu]" [GIN] 2024/03/13 - 14:50:58 | 200 | 0s | 127.0.0.1 | HEAD "/" [GIN] 2024/03/13 - 14:50:58 | 200 | 1.8286ms | 127.0.0.1 | POST "/api/show" [GIN] 2024/03/13 - 14:50:58 | 200 | 1.5839ms | 127.0.0.1 | POST "/api/show" time=2024-03-13T14:50:59.650-04:00 level=INFO source=gpu.go:94 msg="Detecting GPU type" time=2024-03-13T14:50:59.650-04:00 level=INFO source=gpu.go:265 msg="Searching for GPU management library nvml.dll" time=2024-03-13T14:50:59.655-04:00 level=INFO source=gpu.go:311 msg="Discovered GPU libraries: []" time=2024-03-13T14:50:59.655-04:00 level=INFO source=gpu.go:265 msg="Searching for GPU management library rocm_smi64.dll" time=2024-03-13T14:50:59.661-04:00 level=INFO source=gpu.go:311 msg="Discovered GPU libraries: []" time=2024-03-13T14:50:59.661-04:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2" time=2024-03-13T14:50:59.661-04:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2" time=2024-03-13T14:50:59.661-04:00 level=INFO source=llm.go:77 msg="GPU not available, falling back to CPU" time=2024-03-13T14:50:59.661-04:00 level=INFO source=dyn_ext_server.go:385 msg="Updating PATH to C:\\Users\\server\\AppData\\Local\\Temp\\ollama2951565749\\cpu_avx2;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Users\\server\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\server\\AppData\\Local\\Programs\\Ollama" time=2024-03-13T14:50:59.671-04:00 level=INFO source=dyn_ext_server.go:90 msg="Loading Dynamic llm server: C:\\Users\\server\\AppData\\Local\\Temp\\ollama2951565749\\cpu_avx2\\llama.dll" time=2024-03-13T14:50:59.671-04:00 level=INFO source=dyn_ext_server.go:150 msg="Initializing llama server" Exception 0xc0000005 0x8 0x0 0x0 PC=0x0 signal arrived during external code execution runtime.cgocall(0x7ff6c5656620, 0xc0002ec730) C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc0002ec708 sp=0xc0002ec6d0 pc=0x7ff6c50691be github.com/jmorganca/ollama/llm._Cfunc_dyn_llama_server_init({0x7ffd30330000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...) _cgo_gotypes.go:282 +0x4d fp=0xc0002ec730 sp=0xc0002ec708 pc=0x7ff6c545936d github.com/jmorganca/ollama/llm.newDynExtServer.func7(0xc000068500, 0xc0000ac090) C:/Users/jmorg/git/ollama/llm/dyn_ext_server.go:153 +0x112 fp=0xc0002ec870 sp=0xc0002ec730 pc=0x7ff6c545aab2 github.com/jmorganca/ollama/llm.newDynExtServer({0xc0005ba600, 0x46}, {0xc0002ee800, _}, {_, _, _}, {0x0, 0x0, 0x0}, ...) C:/Users/jmorg/git/ollama/llm/dyn_ext_server.go:153 +0xac5 fp=0xc0002ecab8 sp=0xc0002ec870 pc=0x7ff6c545a6e5 github.com/jmorganca/ollama/llm.newLlmServer({{_, _, _}, {_, _}, {_, _}}, {_, _}, {0xc0002ee800, ...}, ...) C:/Users/jmorg/git/ollama/llm/llm.go:158 +0x4c5 fp=0xc0002ecc78 sp=0xc0002ecab8 pc=0x7ff6c5456ba5 github.com/jmorganca/ollama/llm.New({0xc0003bcb40, 0x33}, {0xc0002ee800, _}, {_, _, _}, {0x0, 0x0, 0x0}, ...) C:/Users/jmorg/git/ollama/llm/llm.go:123 +0x78e fp=0xc0002ecef8 sp=0xc0002ecc78 pc=0x7ff6c545648e github.com/jmorganca/ollama/server.load(0xc0000a2500, 0xc0005bc180, {{0x0, 0x800, 0x200, 0x1, 0xffffffffffffffff, 0x0, 0x0, 0x1, ...}, ...}, ...) C:/Users/jmorg/git/ollama/server/routes.go:85 +0x3a9 fp=0xc0002ed068 sp=0xc0002ecef8 pc=0x7ff6c562a529 github.com/jmorganca/ollama/server.ChatHandler(0xc0000a2500) C:/Users/jmorg/git/ollama/server/routes.go:1175 +0xa37 fp=0xc0002ed770 sp=0xc0002ed068 pc=0x7ff6c5635cb7 github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/jmorganca/ollama/server.(*Server).GenerateRoutes.func1(0xc0000a2500) C:/Users/jmorg/git/ollama/server/routes.go:945 +0x68 fp=0xc0002ed7a8 sp=0xc0002ed770 pc=0x7ff6c5634488 github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0000a2500) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x7a fp=0xc0002ed7f8 sp=0xc0002ed7a8 pc=0x7ff6c560b7ba github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc0000a2500) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xdd fp=0xc0002ed9a8 sp=0xc0002ed7f8 pc=0x7ff6c560a8fd github.com/gin-gonic/gin.(*Context).Next(...) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000132340, 0xc0000a2500) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x66e fp=0xc0002edb28 sp=0xc0002ed9a8 pc=0x7ff6c5609e2e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000132340, {0x7ff6c6fb6fe0, 0xc00051c1c0}, 0xc00015f7a0) C:/Users/jmorg/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2 fp=0xc0002edb60 sp=0xc0002edb28 pc=0x7ff6c56095f2 net/http.serverHandler.ServeHTTP({0x7ff6c6fb52a0?}, {0x7ff6c6fb6fe0?, 0xc00051c1c0?}, 0x6?) C:/Program Files/Go/src/net/http/server.go:3137 +0x8e fp=0xc0002edb90 sp=0xc0002edb60 pc=0x7ff6c53595ae net/http.(*conn).serve(0xc0001621b0, {0x7ff6c6fb8648, 0xc000186690}) C:/Program Files/Go/src/net/http/server.go:2039 +0x5e8 fp=0xc0002edfb8 sp=0xc0002edb90 pc=0x7ff6c5354968 net/http.(*Server).Serve.gowrap3() C:/Program Files/Go/src/net/http/server.go:3285 +0x28 fp=0xc0002edfe0 sp=0xc0002edfb8 pc=0x7ff6c5359dc8 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0002edfe8 sp=0xc0002edfe0 pc=0x7ff6c50d2081 created by net/http.(*Server).Serve in goroutine 1 C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4 goroutine 1 gp=0xc00004c000 m=nil [IO wait]: runtime.gopark(0xc000080808?, 0x7ff6c56b7560?, 0x20?, 0x40?, 0xc0000b4050?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000f56f8 sp=0xc0000f56d8 pc=0x7ff6c50a12ee runtime.netpollblock(0x184?, 0xc5068cc6?, 0xf6?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0000f5730 sp=0xc0000f56f8 pc=0x7ff6c5098c37 internal/poll.runtime_pollWait(0x2e5ee844e50, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc0000f5750 sp=0xc0000f5730 pc=0x7ff6c50cbb25 internal/poll.(*pollDesc).wait(0xc000080c08?, 0x0?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0000f5778 sp=0xc0000f5750 pc=0x7ff6c5163bc7 internal/poll.execIO(0xc0000b4020, 0xc000037818) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc0000f57e8 sp=0xc0000f5778 pc=0x7ff6c51650a6 internal/poll.(*FD).acceptOne(0xc0000b4008, 0x22c, {0xc0000261e0?, 0x0?, 0x0?}, 0xc000080808?) C:/Program Files/Go/src/internal/poll/fd_windows.go:944 +0x67 fp=0xc0000f5848 sp=0xc0000f57e8 pc=0x7ff6c5169767 internal/poll.(*FD).Accept(0xc0000b4008, 0xc0000f59f8) C:/Program Files/Go/src/internal/poll/fd_windows.go:978 +0x1bc fp=0xc0000f5900 sp=0xc0000f5848 pc=0x7ff6c5169a9c net.(*netFD).accept(0xc0000b4008) C:/Program Files/Go/src/net/fd_windows.go:178 +0x54 fp=0xc0000f5a18 sp=0xc0000f5900 pc=0x7ff6c51e50d4 net.(*TCPListener).accept(0xc000090100) C:/Program Files/Go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc0000f5a40 sp=0xc0000f5a18 pc=0x7ff6c51fa57e net.(*TCPListener).Accept(0xc000090100) C:/Program Files/Go/src/net/tcpsock.go:327 +0x30 fp=0xc0000f5a70 sp=0xc0000f5a40 pc=0x7ff6c51f9670 net/http.(*onceCloseListener).Accept(0xc0001621b0?) <autogenerated>:1 +0x24 fp=0xc0000f5a88 sp=0xc0000f5a70 pc=0x7ff6c537bf84 net/http.(*Server).Serve(0xc0000e8000, {0x7ff6c6fb6dd0, 0xc000090100}) C:/Program Files/Go/src/net/http/server.go:3255 +0x33e fp=0xc0000f5bb8 sp=0xc0000f5a88 pc=0x7ff6c53599de github.com/jmorganca/ollama/server.Serve({0x7ff6c6fb6dd0, 0xc000090100}) C:/Users/jmorg/git/ollama/server/routes.go:1048 +0x46f fp=0xc0000f5cc0 sp=0xc0000f5bb8 pc=0x7ff6c563494f github.com/jmorganca/ollama/cmd.RunServer(0xc0000a2300?, {0x7ff6c74438e0?, 0x4?, 0x7ff6c57f1d8e?}) C:/Users/jmorg/git/ollama/cmd/cmd.go:706 +0x1b9 fp=0xc0000f5d58 sp=0xc0000f5cc0 pc=0x7ff6c564dc79 github.com/spf13/cobra.(*Command).execute(0xc000427208, {0x7ff6c74438e0, 0x0, 0x0}) C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x882 fp=0xc0000f5e78 sp=0xc0000f5d58 pc=0x7ff6c53f5382 github.com/spf13/cobra.(*Command).ExecuteC(0xc000426608) C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc0000f5f30 sp=0xc0000f5e78 pc=0x7ff6c53f5bc5 github.com/spf13/cobra.(*Command).Execute(...) C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/spf13/cobra.(*Command).ExecuteContext(...) C:/Users/jmorg/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:985 main.main() C:/Users/jmorg/git/ollama/main.go:11 +0x4d fp=0xc0000f5f50 sp=0xc0000f5f30 pc=0x7ff6c565638d runtime.main() C:/Program Files/Go/src/runtime/proc.go:271 +0x28b fp=0xc0000f5fe0 sp=0xc0000f5f50 pc=0x7ff6c50a0eeb runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000f5fe8 sp=0xc0000f5fe0 pc=0x7ff6c50d2081 goroutine 2 gp=0xc00004c700 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00004ffa8 sp=0xc00004ff88 pc=0x7ff6c50a12ee runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.forcegchelper() C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00004ffe0 sp=0xc00004ffa8 pc=0x7ff6c50a1178 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00004ffe8 sp=0xc00004ffe0 pc=0x7ff6c50d2081 created by runtime.init.6 in goroutine 1 C:/Program Files/Go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc00004ca80 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000051f80 sp=0xc000051f60 pc=0x7ff6c50a12ee runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.bgsweep(0xc00005a000) C:/Program Files/Go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc000051fc8 sp=0xc000051f80 pc=0x7ff6c508b43f runtime.gcenable.gowrap1() C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc000051fe0 sp=0xc000051fc8 pc=0x7ff6c507fce5 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000051fe8 sp=0xc000051fe0 pc=0x7ff6c50d2081 created by runtime.gcenable in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc00004cc40 m=nil [GC scavenge wait]: runtime.gopark(0x43cf27c?, 0x42c1d800?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000061f78 sp=0xc000061f58 pc=0x7ff6c50a12ee runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x7ff6c73bcb20) C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000061fa8 sp=0xc000061f78 pc=0x7ff6c5088dc9 runtime.bgscavenge(0xc00005a000) C:/Program Files/Go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000061fc8 sp=0xc000061fa8 pc=0x7ff6c5089379 runtime.gcenable.gowrap2() C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc000061fe0 sp=0xc000061fc8 pc=0x7ff6c507fc85 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x7ff6c50d2081 created by runtime.gcenable in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc00004d180 m=nil [finalizer wait]: runtime.gopark(0xc000053e48?, 0x7ff6c50730a5?, 0xa8?, 0x1?, 0xc00004c000?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000053e20 sp=0xc000053e00 pc=0x7ff6c50a12ee runtime.runfinq() C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc000053fe0 sp=0xc000053e20 pc=0x7ff6c507ed67 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000053fe8 sp=0xc000053fe0 pc=0x7ff6c50d2081 created by runtime.createfing in goroutine 1 C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d goroutine 18 gp=0xc0000841c0 m=nil [GC worker (idle)]: runtime.gopark(0x9e3861b760?, 0x3?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005df50 sp=0xc00005df30 pc=0x7ff6c50a12ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005dfe0 sp=0xc00005df50 pc=0x7ff6c5081e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x7ff6c50d2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 34 gp=0xc000480000 m=nil [GC worker (idle)]: runtime.gopark(0x9e30c908b4?, 0x3?, 0x48?, 0xcc?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000487f50 sp=0xc000487f30 pc=0x7ff6c50a12ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000487fe0 sp=0xc000487f50 pc=0x7ff6c5081e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000487fe8 sp=0xc000487fe0 pc=0x7ff6c50d2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 19 gp=0xc000084380 m=nil [GC worker (idle)]: runtime.gopark(0x9e3852764c?, 0x3?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005ff50 sp=0xc00005ff30 pc=0x7ff6c50a12ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005ffe0 sp=0xc00005ff50 pc=0x7ff6c5081e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x7ff6c50d2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 35 gp=0xc0004801c0 m=nil [GC worker (idle)]: runtime.gopark(0x9e3852764c?, 0x3?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000489f50 sp=0xc000489f30 pc=0x7ff6c50a12ee runtime.gcBgMarkWorker() C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000489fe0 sp=0xc000489f50 pc=0x7ff6c5081e25 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000489fe8 sp=0xc000489fe0 pc=0x7ff6c50d2081 created by runtime.gcBgMarkStartWorkers in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c goroutine 20 gp=0xc0003c2000 m=4 mp=0xc000059808 [syscall]: runtime.notetsleepg(0x7ff6c74443c0, 0xffffffffffffffff) C:/Program Files/Go/src/runtime/lock_sema.go:296 +0x31 fp=0xc000485fa0 sp=0xc000485f68 pc=0x7ff6c5071671 os/signal.signal_recv() C:/Program Files/Go/src/runtime/sigqueue.go:152 +0x29 fp=0xc000485fc0 sp=0xc000485fa0 pc=0x7ff6c50cdd69 os/signal.loop() C:/Program Files/Go/src/os/signal/signal_unix.go:23 +0x13 fp=0xc000485fe0 sp=0xc000485fc0 pc=0x7ff6c537e333 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000485fe8 sp=0xc000485fe0 pc=0x7ff6c50d2081 created by os/signal.Notify.func1.1 in goroutine 1 C:/Program Files/Go/src/os/signal/signal.go:151 +0x1f goroutine 21 gp=0xc0003c2380 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000063f18 sp=0xc000063ef8 pc=0x7ff6c50a12ee runtime.chanrecv(0xc000174ea0, 0x0, 0x1) C:/Program Files/Go/src/runtime/chan.go:583 +0x3cd fp=0xc000063f90 sp=0xc000063f18 pc=0x7ff6c506b84d runtime.chanrecv1(0x0?, 0x0?) C:/Program Files/Go/src/runtime/chan.go:442 +0x12 fp=0xc000063fb8 sp=0xc000063f90 pc=0x7ff6c506b452 github.com/jmorganca/ollama/server.Serve.func2() C:/Users/jmorg/git/ollama/server/routes.go:1030 +0x25 fp=0xc000063fe0 sp=0xc000063fb8 pc=0x7ff6c56349e5 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000063fe8 sp=0xc000063fe0 pc=0x7ff6c50d2081 created by github.com/jmorganca/ollama/server.Serve in goroutine 1 C:/Users/jmorg/git/ollama/server/routes.go:1029 +0x3f6 goroutine 33 gp=0xc0003c2c40 m=nil [IO wait]: runtime.gopark(0x0?, 0xc0005c6520?, 0xd0?, 0x65?, 0xc0005c6550?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000f9d28 sp=0xc0000f9d08 pc=0x7ff6c50a12ee runtime.netpollblock(0x224?, 0xc5068cc6?, 0xf6?) C:/Program Files/Go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0000f9d60 sp=0xc0000f9d28 pc=0x7ff6c5098c37 internal/poll.runtime_pollWait(0x2e5ee844d58, 0x72) C:/Program Files/Go/src/runtime/netpoll.go:345 +0x85 fp=0xc0000f9d80 sp=0xc0000f9d60 pc=0x7ff6c50cbb25 internal/poll.(*pollDesc).wait(0x10?, 0x10?, 0x0) C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0000f9da8 sp=0xc0000f9d80 pc=0x7ff6c5163bc7 internal/poll.execIO(0xc0005c6520, 0x7ff6c6ef6598) C:/Program Files/Go/src/internal/poll/fd_windows.go:175 +0xe6 fp=0xc0000f9e18 sp=0xc0000f9da8 pc=0x7ff6c51650a6 internal/poll.(*FD).Read(0xc0005c6508, {0xc00002c641, 0x1, 0x1}) C:/Program Files/Go/src/internal/poll/fd_windows.go:436 +0x2b1 fp=0xc0000f9ec0 sp=0xc0000f9e18 pc=0x7ff6c5165d51 net.(*netFD).Read(0xc0005c6508, {0xc00002c641?, 0xc0000f9f48?, 0x7ff6c50cdab0?}) C:/Program Files/Go/src/net/fd_posix.go:55 +0x25 fp=0xc0000f9f08 sp=0xc0000f9ec0 pc=0x7ff6c51e31e5 net.(*conn).Read(0xc0000560b8, {0xc00002c641?, 0xc0000f9eb8?, 0x7ff6c74438e0?}) C:/Program Files/Go/src/net/net.go:179 +0x45 fp=0xc0000f9f50 sp=0xc0000f9f08 pc=0x7ff6c51f2265 net.(*TCPConn).Read(0x7ff6c56ae8b0?, {0xc00002c641?, 0xc000422800?, 0x7ff6c544c940?}) <autogenerated>:1 +0x25 fp=0xc0000f9f80 sp=0xc0000f9f50 pc=0x7ff6c5202285 net/http.(*connReader).backgroundRead(0xc00002c630) C:/Program Files/Go/src/net/http/server.go:681 +0x37 fp=0xc0000f9fc8 sp=0xc0000f9f80 pc=0x7ff6c534e8d7 net/http.(*connReader).startBackgroundRead.gowrap2() C:/Program Files/Go/src/net/http/server.go:677 +0x25 fp=0xc0000f9fe0 sp=0xc0000f9fc8 pc=0x7ff6c534e805 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000f9fe8 sp=0xc0000f9fe0 pc=0x7ff6c50d2081 created by net/http.(*connReader).startBackgroundRead in goroutine 30 C:/Program Files/Go/src/net/http/server.go:677 +0xba rax 0xe63bdff690 rbx 0xc0002ec730 rcx 0xc000068500 rdx 0xc0000ac090 rdi 0x1940 rsi 0xc00004c8c0 rbp 0xe63bdff720 rsp 0xe63bdff668 r8 0xc0000ac090 r9 0x0 r10 0x36 r11 0xe63bdff2c0 r12 0xc0002ec7b0 r13 0x0 r14 0xc0003c2fc0 r15 0x3ffffffffffffff7 rip 0x0 rflags 0x10202 cs 0x33 fs 0x53 gs 0x2b loading library C:\Users\server\AppData\Local\Temp\ollama2951565749\cpu_avx2\llama.dll ``` I don't kwow what to do. Anybody have an idea ? Thanks !
Author
Owner

@juliechagnaud commented on GitHub (Mar 13, 2024):

I've try a last chance option in a quick light moment of lucidity and disable windows defender and it works ! I'll will add ollama to the white list.
Hope it will help someone

<!-- gh-comment-id:1995448951 --> @juliechagnaud commented on GitHub (Mar 13, 2024): I've try a last chance option in a quick light moment of lucidity and disable windows defender and it works ! I'll will add ollama to the white list. Hope it will help someone
Author
Owner

@frankciscoch commented on GitHub (Mar 23, 2024):

I have the exact same problem, I disabled Windows firewall and Windows defender but I still get the same error message :(

<!-- gh-comment-id:2016590604 --> @frankciscoch commented on GitHub (Mar 23, 2024): I have the exact same problem, I disabled Windows firewall and Windows defender but I still get the same error message :(
Author
Owner

@mgks commented on GitHub (Jul 29, 2024):

I have the exact same problem, I disabled Windows firewall and Windows defender but I still get the same error message :(

@frankciscoch got it working yet? I'm also in the queue.

<!-- gh-comment-id:2256557399 --> @mgks commented on GitHub (Jul 29, 2024): > I have the exact same problem, I disabled Windows firewall and Windows defender but I still get the same error message :( @frankciscoch got it working yet? I'm also in the queue.
Author
Owner

@dhiltgen commented on GitHub (Jul 30, 2024):

@frankciscoch and @mgks it's highly unlikely your error is related to the mistaken AVX2 build of the runners which was fixed quite a while ago. Whatever is causing ollama to crash on your systems is a different issue. Please make sure to upgrade to the latest version, and if that doesn't resolve it, open a new issue and include your server logs so we can investigate.

<!-- gh-comment-id:2258720700 --> @dhiltgen commented on GitHub (Jul 30, 2024): @frankciscoch and @mgks it's highly unlikely your error is related to the mistaken AVX2 build of the runners which was fixed quite a while ago. Whatever is causing ollama to crash on your systems is a different issue. Please make sure to upgrade to the latest version, and if that doesn't resolve it, open a new issue and include your server logs so we can investigate.
Author
Owner

@mgks commented on GitHub (Jul 30, 2024):

it's highly unlikely your error is related to the mistaken AVX2 build

I should have wrote back earlier, you're correct @dhiltgen it has nothing to do with current build. there's some other program that keeps blocking the port (now i have to figure out how to stop it from doing that). possibly other devs might be having a similar issue they should look into.

<!-- gh-comment-id:2258731565 --> @mgks commented on GitHub (Jul 30, 2024): > it's highly unlikely your error is related to the mistaken AVX2 build I should have wrote back earlier, you're correct @dhiltgen it has nothing to do with current build. there's some other program that keeps blocking the port (now i have to figure out how to stop it from doing that). possibly other devs might be having a similar issue they should look into.
Author
Owner

@dhiltgen commented on GitHub (Jul 31, 2024):

@mgks if you're on Windows, this might be relevant #3362

<!-- gh-comment-id:2259400618 --> @dhiltgen commented on GitHub (Jul 31, 2024): @mgks if you're on Windows, this might be relevant #3362
Author
Owner

@spampinato55 commented on GitHub (Jul 31, 2024):

Ok, thanks for the clarification.

Il mar 30 lug 2024, 18:20 Ghazi @.***> ha scritto:

it's highly unlikely your error is related to the mistaken AVX2 build

I should have wrote back earlier, you're correct it has nothing to do with
current build. there's some other program that keeps blocking the port (now
i have to figure out how to stop it from doing that). possibly other devs
might be having a similar issue they should look into.


Reply to this email directly, view it on GitHub
https://github.com/ollama/ollama/issues/2569#issuecomment-2258731565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALI74LHAX4WSNEM4DXI4BK3ZO64LBAVCNFSM6AAAAABDN4JRBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYG4ZTCNJWGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:2259735192 --> @spampinato55 commented on GitHub (Jul 31, 2024): Ok, thanks for the clarification. Il mar 30 lug 2024, 18:20 Ghazi ***@***.***> ha scritto: > it's highly unlikely your error is related to the mistaken AVX2 build > > I should have wrote back earlier, you're correct it has nothing to do with > current build. there's some other program that keeps blocking the port (now > i have to figure out how to stop it from doing that). possibly other devs > might be having a similar issue they should look into. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ollama/ollama/issues/2569#issuecomment-2258731565>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALI74LHAX4WSNEM4DXI4BK3ZO64LBAVCNFSM6AAAAABDN4JRBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYG4ZTCNJWGU> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@amitsnet commented on GitHub (Aug 25, 2024):

I do not know why but removing "CUDA_VISIBLE_DEVICES=-1" from the enviromental variables worked for me.

<!-- gh-comment-id:2308788047 --> @amitsnet commented on GitHub (Aug 25, 2024): I do not know why but removing "CUDA_VISIBLE_DEVICES=-1" from the enviromental variables worked for me.
Author
Owner

@NWproject commented on GitHub (Feb 4, 2025):

I met the same problem when I use the command "ollama run ~(modelname)" and I don't know how this happened,but I use ollama pull ~(modelname) to download the model before I use the run command,then everything is all right.

<!-- gh-comment-id:2633775579 --> @NWproject commented on GitHub (Feb 4, 2025): I met the same problem when I use the command "ollama run ~(modelname)" and I don't know how this happened,but I use ollama pull ~(modelname) to download the model before I use the run command,then everything is all right.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1508