Skip to content

Commit 0aa06ae

Browse files
committed
recover the CPU_DEBUG_CAP_ENABLE
1 parent 8834790 commit 0aa06ae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/plugins/intel_cpu/src/nodes/executors/fullyconnected_implementations.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "nodes/executors/type_mask.hpp"
3131
#include "openvino/core/type/element_type.hpp"
3232
#include "utils/arch_macros.h"
33+
#include "utils/debug_capabilities.h"
3334
#include "utils/general_utils.h"
3435

3536
#if defined(OPENVINO_ARCH_X86) || defined(OPENVINO_ARCH_X86_64)
@@ -402,7 +403,11 @@ const std::vector<ExecutorImplementation<FCAttrs>>& getImplementations() {
402403
OperationType::MatMul,
403404
// supports
404405
[]([[maybe_unused]] const FCConfig& config) -> bool {
405-
// TODO: int8, int4, mxfp4 decompression path will be enabled later.
406+
CPU_DEBUG_CAP_ENABLE(
407+
if (getEnvBool("OV_CPU_ENABLE_DNNL_MAMTUL_FOR_FC")) {
408+
VERIFY(noSparseDecompression(config), UNSUPPORTED_SPARSE_WEIGHTS);
409+
return true;
410+
})
406411
VERIFY(noWeightsDecompression(config), UNSUPPORTED_WEIGHTS_DECOMPRESSION);
407412
VERIFY(noSparseDecompression(config), UNSUPPORTED_SPARSE_WEIGHTS);
408413
VERIFY(weiRank(config) == 3U, UNSUPPORTED_WEI_RANK);

0 commit comments

Comments
 (0)