mirror of
https://github.com/ollama/ollama.git
synced 2025-03-30 12:36:17 +02:00
docs: add section in development.md on library detection (#8855)
This commit is contained in:
parent
291def6adb
commit
f00d359a67
@ -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…
x
Reference in New Issue
Block a user