Commit 2128fae
WebNN: Reject batched MatMul with large K dimension size on OV NPU
The OpenVINO NPU EP will take a very long time to compile models
with batched MatMul operations whose K dimension size is too large.
This CL rejects such MatMul operations to prevent WebNN from
becoming unresponsive.
Bug: 467442135
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Change-Id: I35797f771829a2ff2908a61242a6b287e264893a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7245170
Reviewed-by: Hu, Ningxin <ningxin.hu@intel.com>
Commit-Queue: Hu, Ningxin <ningxin.hu@intel.com>
Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1566584}1 parent 2a9061a commit 2128fae
1 file changed
+54
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1081 | 1081 | | |
1082 | 1082 | | |
1083 | 1083 | | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
1084 | 1138 | | |
1085 | 1139 | | |
1086 | 1140 | | |
| |||
0 commit comments