39928a42e8
This switches darwin to dynamic loading, and refactors the code now that no static linking of the library is used on any platform
8 lines
128 B
Go
8 lines
128 B
Go
package llm
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
//go:embed llama.cpp/ggml-metal.metal llama.cpp/build/darwin/*/lib/*.so
|
|
var libEmbed embed.FS
|