mirror of
https://github.com/ollama/ollama.git
synced 2025-10-11 12:03:50 +02:00
Always dynamically load the llm server library
This switches darwin to dynamic loading, and refactors the code now that no static linking of the library is used on any platform
This commit is contained in:
8
llm/payload_linux.go
Normal file
8
llm/payload_linux.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package llm
|
||||
|
||||
import (
|
||||
"embed"
|
||||
)
|
||||
|
||||
//go:embed llama.cpp/build/linux/*/lib/*.so
|
||||
var libEmbed embed.FS
|
Reference in New Issue
Block a user