Skip to content

Commit 5cfbd06

Browse files
authored
[GPU] Disallow OneDNN usage of FP32 input with compressed weights on FC (openvinotoolkit#25232)
Disallow usage of FP32 input with compressed weights and zero point on FC layer, since it's currently not supported ### Details: - Disallow usage of FP32 input with compressed weights and zero point on FC layer ### Tickets: - 138360
1 parent f2c8a49 commit 5cfbd06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plugins/intel_gpu/src/graph/layout_optimizer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,10 @@ static bool is_node_for_onednn(fully_connected_node const& node) {
924924
auto decompression_zp_dt = node.get_input_layout(decompression_zp_idx).data_type;
925925
if (weights_dt != decompression_zp_dt)
926926
return false;
927+
928+
auto input_dt = node.get_input_layout(0).data_type;
929+
if (input_dt == data_types::f32)
930+
return false;
927931
}
928932
}
929933

0 commit comments

Comments
 (0)