[PR #11115] Revert "ggml: Export GPU UUIDs" #13443

Closed
opened 2026-04-13 00:27:27 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11115

State: closed
Merged: Yes


Reverts ollama/ollama#10892 since this causes qwen2.5vl to fail with the following stack trace:

unexpected fault address 0x2000000000
fatal error: fault
[signal SIGBUS: bus error code=0x1 addr=0x2000000000 pc=0x1002e45c4]

goroutine 13 gp=0x14000602a80 m=14 mp=0x14000100808 [running]:
runtime.throw({0x101029105?, 0x0?})
	/opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/panic.go:1096 +0x38 fp=0x14000049100 sp=0x140000490d0 pc=0x1003533a8
runtime.sigpanic()
	/opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/signal_unix.go:922 +0x170 fp=0x14000049160 sp=0x14000049100 pc=0x100355810
indexbytebody()
	/opt/homebrew/Cellar/go/1.24.0/libexec/src/internal/bytealg/indexbyte_arm64.s:74 +0x64 fp=0x14000049170 sp=0x14000049170 pc=0x1002e45c4
runtime.findnull(0x14000049208?)
	/opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/string.go:577 +0x78 fp=0x140000491d0 sp=0x14000049170 pc=0x10033bf58
runtime.gostring(0x2000000000)
	/opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/string.go:363 +0x20 fp=0x14000049210 sp=0x140000491d0 pc=0x100356680
github.com/ollama/ollama/ml/backend/ggml._Cfunc_GoString(...)
	_cgo_gotypes.go:299
github.com/ollama/ollama/ml/backend/ggml.New({0x16fb23713, 0x6b}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0})
	/Users/jmorgan/git/ollama/ml/backend/ggml/ggml.go:141 +0xaa0 fp=0x14000049c00 sp=0x14000049210 pc=0x10071dee0
github.com/ollama/ollama/ml.NewBackend({0x16fb23713, 0x6b}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0})
	/Users/jmorgan/git/ollama/ml/backend.go:209 +0x90 fp=0x14000049c60 sp=0x14000049c00 pc=0x100713aa0
github.com/ollama/ollama/model.New({0x16fb23713?, 0x0?}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0})
	/Users/jmorgan/git/ollama/model/model.go:102 +0x5c fp=0x14000049d60 sp=0x14000049c60 pc=0x10072a27c
github.com/ollama/ollama/runner/ollamarunner.(*Server).initModel(0x140007438c0, {0x16fb23713?, 0x0?}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0}, ...)
	/Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:841 +0x80 fp=0x14000049dc0 sp=0x14000049d60 pc=0x1007a2e40
github.com/ollama/ollama/runner/ollamarunner.(*Server).load(0x140007438c0, {0x10149f550, 0x1400072aaf0}, {0x16fb23713?, 0x0?}, {0xc, 0x0, 0x1d, {0x0, 0x0, ...}, ...}, ...)
	/Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:878 +0xa8 fp=0x14000049f20 sp=0x14000049dc0 pc=0x1007a3158
github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap1()
	/Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:959 +0x88 fp=0x14000049fd0 sp=0x14000049f20 pc=0x1007a41d8
runtime.goexit({})
	/opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000049fd0 sp=0x14000049fd0 pc=0x10035b224
created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1
	/Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:959 +0x840
**Original Pull Request:** https://github.com/ollama/ollama/pull/11115 **State:** closed **Merged:** Yes --- Reverts ollama/ollama#10892 since this causes `qwen2.5vl` to fail with the following stack trace: ``` unexpected fault address 0x2000000000 fatal error: fault [signal SIGBUS: bus error code=0x1 addr=0x2000000000 pc=0x1002e45c4] goroutine 13 gp=0x14000602a80 m=14 mp=0x14000100808 [running]: runtime.throw({0x101029105?, 0x0?}) /opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/panic.go:1096 +0x38 fp=0x14000049100 sp=0x140000490d0 pc=0x1003533a8 runtime.sigpanic() /opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/signal_unix.go:922 +0x170 fp=0x14000049160 sp=0x14000049100 pc=0x100355810 indexbytebody() /opt/homebrew/Cellar/go/1.24.0/libexec/src/internal/bytealg/indexbyte_arm64.s:74 +0x64 fp=0x14000049170 sp=0x14000049170 pc=0x1002e45c4 runtime.findnull(0x14000049208?) /opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/string.go:577 +0x78 fp=0x140000491d0 sp=0x14000049170 pc=0x10033bf58 runtime.gostring(0x2000000000) /opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/string.go:363 +0x20 fp=0x14000049210 sp=0x140000491d0 pc=0x100356680 github.com/ollama/ollama/ml/backend/ggml._Cfunc_GoString(...) _cgo_gotypes.go:299 github.com/ollama/ollama/ml/backend/ggml.New({0x16fb23713, 0x6b}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0}) /Users/jmorgan/git/ollama/ml/backend/ggml/ggml.go:141 +0xaa0 fp=0x14000049c00 sp=0x14000049210 pc=0x10071dee0 github.com/ollama/ollama/ml.NewBackend({0x16fb23713, 0x6b}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0}) /Users/jmorgan/git/ollama/ml/backend.go:209 +0x90 fp=0x14000049c60 sp=0x14000049c00 pc=0x100713aa0 github.com/ollama/ollama/model.New({0x16fb23713?, 0x0?}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0}) /Users/jmorgan/git/ollama/model/model.go:102 +0x5c fp=0x14000049d60 sp=0x14000049c60 pc=0x10072a27c github.com/ollama/ollama/runner/ollamarunner.(*Server).initModel(0x140007438c0, {0x16fb23713?, 0x0?}, {0xc, 0x0, 0x1d, {0x0, 0x0, 0x0}, 0x0}, ...) /Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:841 +0x80 fp=0x14000049dc0 sp=0x14000049d60 pc=0x1007a2e40 github.com/ollama/ollama/runner/ollamarunner.(*Server).load(0x140007438c0, {0x10149f550, 0x1400072aaf0}, {0x16fb23713?, 0x0?}, {0xc, 0x0, 0x1d, {0x0, 0x0, ...}, ...}, ...) /Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:878 +0xa8 fp=0x14000049f20 sp=0x14000049dc0 pc=0x1007a3158 github.com/ollama/ollama/runner/ollamarunner.Execute.gowrap1() /Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:959 +0x88 fp=0x14000049fd0 sp=0x14000049f20 pc=0x1007a41d8 runtime.goexit({}) /opt/homebrew/Cellar/go/1.24.0/libexec/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000049fd0 sp=0x14000049fd0 pc=0x10035b224 created by github.com/ollama/ollama/runner/ollamarunner.Execute in goroutine 1 /Users/jmorgan/git/ollama/runner/ollamarunner/runner.go:959 +0x840 ```
GiteaMirror added the pull-request label 2026-04-13 00:27:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13443