Commit dc8fc7f
[ET-VK][ez] Always partition batch norm as it will be fused
Pull Request resolved: #17508
The batch norm operator registration had a check_batch_norm_node guard that restricted partitioning to 4D input tensors only. Since batch norm is always fused with adjacent operations during graph compilation, this restriction is unnecessary and prevents valid models from being partitioned to the Vulkan backend. Remove the guard so batch norm is always eligible for Vulkan partitioning regardless of input dimensionality.
ghstack-source-id: 342806074
@exported-using-ghexport
Differential Revision: [D93511630](https://our.internmc.facebook.com/intern/diff/D93511630/)1 parent 4ca676e commit dc8fc7f
2 files changed
+1
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
1249 | 1236 | | |
1250 | 1237 | | |
1251 | 1238 | | |
1252 | 1239 | | |
1253 | 1240 | | |
1254 | | - | |
1255 | 1241 | | |
1256 | 1242 | | |
1257 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments