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

This commit is contained in:
Jeffrey Morgan
2025-02-05 11:16:27 -08:00
committed by GitHub
parent 291def6adb
commit f00d359a67

View File

@@ -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.