merge fixes

This commit is contained in:
Inforithmics
2025-10-04 15:27:52 +02:00
parent 294b179688
commit c4d8c75e54
3 changed files with 1 additions and 3 deletions

View File

@@ -3,7 +3,6 @@ package discover
// Runner based GPU discovery // Runner based GPU discovery
import ( import (
"bytes"
"context" "context"
"encoding/json" "encoding/json"
"fmt" "fmt"

View File

@@ -174,7 +174,7 @@ func (l GpuInfoList) FlashAttentionSupported() bool {
supportsFA := gpu.Library == "cpu" || supportsFA := gpu.Library == "cpu" ||
gpu.Name == "Metal" || gpu.Library == "Metal" || gpu.Name == "Metal" || gpu.Library == "Metal" ||
(gpu.Library == "CUDA" && gpu.DriverMajor >= 7) || (gpu.Library == "CUDA" && gpu.DriverMajor >= 7) ||
gpu.Library == "ROCm" gpu.Library == "ROCm" ||
gpu.Library == "Vulkan" gpu.Library == "Vulkan"
if !supportsFA { if !supportsFA {

View File

@@ -18,7 +18,6 @@ import (
"log/slog" "log/slog"
"maps" "maps"
"os" "os"
"path/filepath"
"runtime" "runtime"
"slices" "slices"
"strconv" "strconv"