mirror of
https://github.com/zebrajr/ollama.git
synced 2025-12-06 00:19:51 +01:00
doc: show how to clear the cgo cache (#12298)
This commit is contained in:
parent
3f6642f6fc
commit
93c64ea1b1
|
|
@ -11,6 +11,10 @@ Then build and run Ollama from the root directory of the repository:
|
|||
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 supports Metal which is built-in to the Ollama binary. No additional steps are required.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user