Skip to content

Commit 8d382bc

Browse files
committed
disable add_rms_fusion for Intel due to possible driver bug
1 parent a675d0c commit 8d382bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3974,7 +3974,8 @@ static vk_device ggml_vk_get_device(size_t idx) {
39743974
device->disable_fusion = getenv("GGML_VK_DISABLE_FUSION") != nullptr;
39753975

39763976
device->add_rms_fusion = !device->disable_fusion &&
3977-
device->subgroup_add;
3977+
device->subgroup_add &&
3978+
device->vendor_id != VK_VENDOR_ID_INTEL;
39783979
device->partials_binding_alignment =
39793980
std::max(4u, (uint32_t)device->properties.limits.minStorageBufferOffsetAlignment);
39803981

0 commit comments

Comments
 (0)