Skip to content

Commit 408ba9f

Browse files
dmitry-gorokhovEgorDuplensky
authored andcommitted
[WA] Disabled weights md transpose in FC to prevent perf degradations
1 parent db43d60 commit 408ba9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cpu/cpu_inner_product_pd.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ struct cpu_inner_product_fwd_pd_t : public inner_product_fwd_pd_t {
193193
/* with batch = 1, no transpose to use the faster gemv kernels */
194194
/* otherwise, we transpose the weights to improve efficiency of
195195
* no-copy kernels */
196-
if (MB() > 1 && transpose_leading_dim(OC(), IC_total()))
197-
transpose_md(weights_md_);
196+
// if (MB() > 1 && transpose_leading_dim(OC(), IC_total()))
197+
// transpose_md(weights_md_);
198198
return status::success;
199199
};
200200

0 commit comments

Comments
 (0)