From f00d359a6729ab52a300b8ef8a738f3faa1006af Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 5 Feb 2025 11:16:27 -0800 Subject: [PATCH] docs: add section in development.md on library detection (#8855) --- docs/development.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/development.md b/docs/development.md index 3e2ed49ba..618e98e15 100644 --- a/docs/development.md +++ b/docs/development.md @@ -118,3 +118,14 @@ To run tests, use `go test`: ``` go test ./... ``` + +## Library detection + +Ollama looks for acceleration libraries in the following paths relative to the `ollama` executable: + +* `./lib/ollama` (Windows) +* `../lib/ollama` (Linux) +* `.` (macOS) +* `build/lib/ollama` (for development) + +If the libraries are not found, Ollama will not run with any acceleration libraries. \ No newline at end of file