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

This commit is contained in:
Jeffrey Morgan 2025-02-05 11:16:27 -08:00 committed by GitHub
parent 291def6adb
commit f00d359a67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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