Merge github.com:ollama/ollama into vulkan

This commit is contained in:
pufferffish
2025-02-03 14:44:30 +00:00
547 changed files with 5820 additions and 11480 deletions

View File

@@ -5,7 +5,6 @@ import (
"log/slog"
"github.com/ollama/ollama/format"
"github.com/ollama/ollama/runners"
)
type memInfo struct {
@@ -114,7 +113,7 @@ func (l GpuInfoList) ByLibrary() []GpuInfoList {
for _, info := range l {
found := false
requested := info.Library
if info.Variant != runners.CPUCapabilityNone.String() {
if info.Variant != "" {
requested += "_" + info.Variant
}
for i, lib := range libs {