Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

docs: add section in development.md on library detection (#8855)

Jeffrey Morganf00d359a6729
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