We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f954bb commit 4fcee65Copy full SHA for 4fcee65
src/common/transformations/src/transformations/common_optimizations/sdpa_scale_fusion.cpp
@@ -83,11 +83,11 @@ SDPAScaleFusion::SDPAScaleFusion() {
83
// Extract scalar scale values for Q and K if those are constant and set new inputs for SDPA
84
if (has_q_scale) {
85
scale_q_node = pattern_map.at(scale_q).get_node_shared_ptr();
86
- if(pattern_map.at(q).get_element_type() == q_input.get_element_type()) {
+ if (pattern_map.at(q).get_element_type() == q_input.get_element_type()) {
87
if (ov::is_type<ov::op::v0::Constant>(scale_q_node)) {
88
scale_q_value = ov::as_type_ptr<ov::op::v0::Constant>(scale_q_node)->cast_vector<float>()[0];
89
q_input = pattern_map.at(q);
90
- }
+ }
91
} else {
92
has_q_scale = false;
93
}
0 commit comments