Browse Source
docs: add section in development.md on library detection (#8855)
brucemacd/logprobs
Jeffrey Morgan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
11 additions and
0 deletions
-
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. |