Unverified Commit 93c64ea1 authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

doc: show how to clear the cgo cache (#12298)

parent 3f6642f6
...@@ -11,6 +11,10 @@ Then build and run Ollama from the root directory of the repository: ...@@ -11,6 +11,10 @@ Then build and run Ollama from the root directory of the repository:
go run . serve go run . serve
``` ```
> [!NOTE]
> Ollama includes native code compiled with CGO. From time to time these data structures can change and CGO can get out of sync resulting in unexpected crashes. You can force a full build of the native code by running `go clean -cache` first.
## macOS (Apple Silicon) ## macOS (Apple Silicon)
macOS Apple Silicon supports Metal which is built-in to the Ollama binary. No additional steps are required. macOS Apple Silicon supports Metal which is built-in to the Ollama binary. No additional steps are required.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment