mirror of
https://github.com/ollama/ollama.git
synced 2025-05-10 18:06:33 +02:00
docs: add section in development.md on library detection (#8855)
This commit is contained in:
parent
291def6adb
commit
f00d359a67
1 changed files with 11 additions and 0 deletions
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue