Skip to content

Commit 9def1e9

Browse files
committed
Fix format and unused var
1 parent 8a78963 commit 9def1e9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/core/src/op/paged_attention.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,8 @@ void PagedAttentionExtension::validate_and_infer_types() {
177177
get_input_partial_shape(15).rank().get_length(),
178178
".");
179179
NODE_VALIDATION_CHECK(this,
180-
get_input_element_type(15).is_dynamic() ||
181-
get_input_element_type(15) == element::f32 ||
182-
get_input_element_type(15) == element::f16,
180+
get_input_element_type(15).is_dynamic() || get_input_element_type(15) == element::f32 ||
181+
get_input_element_type(15) == element::f16,
183182
"Element type of `rotation_trig_lut` input should be f32, but it is ",
184183
get_input_element_type(15),
185184
".");

src/plugins/intel_gpu/src/graph/impls/ocl/paged_attention.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ struct paged_attention_impl : multi_stage_primitive<paged_attention> {
341341
}
342342

343343
event::ptr execute_impl(const std::vector<event::ptr>& events, paged_attention_inst& instance) override {
344-
const auto& desc = instance.get_impl_params()->typed_desc<paged_attention>();
345344
const auto stage = get_paged_attention_stage(*instance.get_impl_params());
346345
const auto is_mixed_mode = stage == PagedAttentionStage::MIXED;
347346

0 commit comments

Comments
 (0)