Skip to content

Commit

Permalink
change default inferencePrecision from bf16 to f32 on avx2_vnni_2
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo-intel committed Dec 13, 2023
1 parent 3a7eb82 commit 8598906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ void Config::readProperties(const ov::AnyMap& prop, const ModelType modelType) {
if (modelType != ModelType::CNN)
inferencePrecision = ov::element::f16;
#else
if (mayiuse(avx512_core_bf16) || mayiuse(avx2_vnni_2))
if (mayiuse(avx512_core_bf16))
inferencePrecision = ov::element::bf16;
#endif
} else {
Expand Down

0 comments on commit 8598906

Please sign in to comment.