vulkan: tune MMVQ for Intel Windows (#19988)
This commit is contained in:
parent
ec88c3ceea
commit
feefb92836
|
|
@ -7574,6 +7574,18 @@ static bool ggml_vk_should_use_mmvq(const vk_device& device, uint32_t m, uint32_
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (device->driver_id == vk::DriverId::eIntelProprietaryWindows) {
|
||||||
|
// Intel Windows proprietary driver tuning
|
||||||
|
switch (src0_type) {
|
||||||
|
case GGML_TYPE_MXFP4:
|
||||||
|
case GGML_TYPE_Q4_K:
|
||||||
|
case GGML_TYPE_Q5_K:
|
||||||
|
return false;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (src0_type) {
|
switch (src0_type) {
|
||||||
// From tests on A770 Linux, may need more tuning
|
// From tests on A770 Linux, may need more tuning
|
||||||
case GGML_TYPE_Q4_0:
|
case GGML_TYPE_Q4_0:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue