Skip to content

Commit 7658305

Browse files
committed
disable add_rms_fusion for Intel due to possible driver bug
1 parent 64ee084 commit 7658305

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
@@ -3902,7 +3902,8 @@ static vk_device ggml_vk_get_device(size_t idx) {
39023902
device->disable_fusion = getenv("GGML_VK_DISABLE_FUSION") != nullptr;
39033903

39043904
device->add_rms_fusion = !device->disable_fusion &&
3905-
device->subgroup_add;
3905+
device->subgroup_add &&
3906+
device->vendor_id != VK_VENDOR_ID_INTEL;
39063907
device->partials_binding_alignment =
39073908
std::max(4u, (uint32_t)device->properties.limits.minStorageBufferOffsetAlignment);
39083909

0 commit comments

Comments
 (0)