Commit 59f9e3b
committed
Stabilizes dot accumulation precision
Accumulates the dot product in float32 before casting back to the original dtype to prevent precision loss with low-precision inputs1 parent 93aeb57 commit 59f9e3b
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
0 commit comments