Fix macOS builds on older SDKs (#3467)

This commit is contained in:
Jeffrey Morgan
2024-04-03 10:45:54 -07:00
committed by GitHub
parent 4f895d633f
commit cd135317d2
3 changed files with 28 additions and 33 deletions

View File

@@ -15,10 +15,6 @@ import (
// TODO - this would ideally be in the llm package, but that would require some refactoring of interfaces in the server
// package to avoid circular dependencies
// WARNING - these tests will fail on mac if you don't manually copy ggml-metal.metal to this dir (./server)
//
// TODO - Fix this ^^
var (
stream = false
req = [2]api.GenerateRequest{