mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
anti bsod only for nvidia
This commit is contained in:
@@ -3286,7 +3286,12 @@ static vk_device ggml_vk_get_device(size_t idx) {
|
||||
|
||||
const char* GGML_VK_DISABLE_HOST_VISIBLE_VIDMEM = getenv("GGML_VK_DISABLE_HOST_VISIBLE_VIDMEM");
|
||||
//device->disable_host_visible_vidmem = GGML_VK_DISABLE_HOST_VISIBLE_VIDMEM != nullptr;
|
||||
device->disable_host_visible_vidmem = true; //kcpp requested fix for vulkan BSOD
|
||||
vk::PhysicalDeviceProperties tmpprops = device->physical_device.getProperties();
|
||||
if(tmpprops.vendorID == VK_VENDOR_ID_NVIDIA)
|
||||
{
|
||||
printf("Apply NVIDIA Anti-BSOD Fix for KCPP\n");
|
||||
device->disable_host_visible_vidmem = true; //kcpp requested fix for vulkan BSOD on Nvidia
|
||||
}
|
||||
|
||||
bool fp16_storage = false;
|
||||
bool fp16_compute = false;
|
||||
|
||||
Reference in New Issue
Block a user