Skip to content

Commit

Permalink
cpu: x64: disable forward brgemm-based IP for inference
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Jan 6, 2025
1 parent 719f4da commit ee4229f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cpu/x64/jit_brgemm_inner_product.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ struct brgemm_inner_product_fwd_t : public primitive_t {
// better readability
if (!mayiuse(isa)) return status::unimplemented;

VDISPATCH_INNER_PRODUCT(is_fwd(), VERBOSE_BAD_PROPKIND);
VDISPATCH_INNER_PRODUCT(
get_prop_kind() == prop_kind::forward_training,
VERBOSE_BAD_PROPKIND);
VDISPATCH_INNER_PRODUCT(
expect_data_types(src_dt, wei_dt, data_type::undef, dst_dt,
data_type::undef),
Expand Down

0 comments on commit ee4229f

Please sign in to comment.