fix: extend f32 matmul precision to ROCm for Qwen-Image, Krea2 and Boogu (#1772)

This commit is contained in:
Piotr Wilkin (ilintar) authored and GitHub committed 2026-07-10 23:23:01 +08:00
1 parent 9beb6aca69
commit ead6bf521b
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ namespace Qwen {
auto to_v = std::dynamic_pointer_cast<Linear>(blocks["to_v"]);
auto to_out_0 = std::dynamic_pointer_cast<Linear>(blocks["to_out.0"]);
if (sd_backend_is(ctx->backend, "Vulkan")) {
if (sd_backend_is(ctx->backend, "Vulkan") || sd_backend_is(ctx->backend, "ROCm")) {
to_out_0->set_force_prec_f32(true);
}