chore: run go fmt

Signed-off-by: Jacob Howard <jacob.howard@docker.com>
This commit is contained in:
Jacob Howard 2025-04-17 14:04:02 -06:00
parent ed476dcbb8
commit ca5fbbd8e8
No known key found for this signature in database
GPG Key ID: 3E8B8F7FEB46FC66
3 changed files with 4 additions and 4 deletions

View File

@ -25,9 +25,9 @@ const (
)
var (
ShouldUseGPUVariant bool
ShouldUseGPUVariant bool
ShouldUseGPUVariantLock sync.Mutex
errLlamaCppUpToDate = errors.New("bundled llama.cpp version is up to date, no need to update")
errLlamaCppUpToDate = errors.New("bundled llama.cpp version is up to date, no need to update")
)
func (l *llamaCpp) downloadLatestLlamaCpp(ctx context.Context, log logging.Logger, httpClient *http.Client,

View File

@ -4,4 +4,4 @@ package llamacpp
import "context"
func CanUseGPU(context.Context, string) (bool, error) { return false, nil }
func CanUseGPU(context.Context, string) (bool, error) { return false, nil }

View File

@ -57,4 +57,4 @@ func (m *mlx) Run(ctx context.Context, socket, model string, mode inference.Back
func (m *mlx) Status() string {
return "not running"
}
}