Update gpu.go

This commit is contained in:
Inforithmics 2025-08-10 21:28:59 +02:00
parent f6dd7070de
commit d1f74e17d4
1 changed files with 2 additions and 1 deletions

View File

@ -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])