shim_darwin.go 361 Bytes
Newer Older
1
2
3
package llm

import (
4
	"embed"
5
6
7
8
9
	"fmt"

	"github.com/jmorganca/ollama/api"
)

10
//go:embed llama.cpp/ggml-metal.metal
11
var libEmbed embed.FS
12

13
func newDynamicShimExtServer(library, model string, adapters, projectors []string, opts api.Options) (extServer, error) {
14
	// should never happen...
15
	return nil, fmt.Errorf("Dynamic library loading not supported on Mac")
16
}