Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Allow FP16 for xattention_threshold (#31566)

Vasily Shamporov55a405302715
diff --git a/src/core/src/op/paged_attention.cpp b/src/core/src/op/paged_attention.cpp
index e24f7b4f059..80858155db2 100644
--- a/src/core/src/op/paged_attention.cpp
+++ b/src/core/src/op/paged_attention.cpp
@@ -101,7 +101,7 @@ void PagedAttentionExtension::validate_and_infer_types() {
input_check(this, 14, "rotated_block_indices", {1}, {element::i32});
input_check(this, 15, "rotation_deltas", {1, 2}, {element::i32});
input_check(this, 16, "rotation_trig_lut", {1, 2}, {element::f16, element::f32});
- input_check(this, 17, "xattention_threshold", {1}, {element::f32});
+ input_check(this, 17, "xattention_threshold", {1}, {element::f16, element::f32});
input_check(this, 18, "xattention_block_size", {0}, {element::i32});
input_check(this, 19, "xattention_stride", {0}, {element::i32});