mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-10 04:00:53 +00:00
anti bsod only for nvidia
This commit is contained in:
parent
67e0072245
commit
7087aeb4bc
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue