From d1f74e17d47c822a33d9e80360c340dc35a9c961 Mon Sep 17 00:00:00 2001 From: Inforithmics Date: Sun, 10 Aug 2025 21:28:59 +0200 Subject: [PATCH] Update gpu.go --- discover/gpu.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discover/gpu.go b/discover/gpu.go index 13c607b18..bd3bd20df 100644 --- a/discover/gpu.go +++ b/discover/gpu.go @@ -423,7 +423,8 @@ func GetGPUInfo() GpuInfoList { continue } - gpuInfo.FlashAttention = (C.vk_check_flash_attention(*vHandles.vulkan, C.int(i)) == 0) // 0 means supported + // gpuInfo.FlashAttention = (C.vk_check_flash_attention(*vHandles.vulkan, C.int(i)) == 0) // 0 means supported + gpuInfo.FlashAttention = true gpuInfo.TotalMemory = uint64(memInfo.total) gpuInfo.FreeMemory = uint64(memInfo.free) gpuInfo.ID = C.GoString(&memInfo.gpu_id[0])