Skip to content

Commit 219f9c4

Browse files
fix
1 parent eac2120 commit 219f9c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/embeddings/embeddings_calculator_ov.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ class EmbeddingsCalculatorOV : public CalculatorBase {
189189
} catch (std::exception& e) {
190190
SPDLOG_DEBUG("Caught generic exception from preparing embeddings inputs: {}", e.what());
191191
}
192-
ov::Tensor typeIds;
193192
if (embeddings_session->getNumberOfModelInputs() == 3) {
194193
typeIds = ov::Tensor{ov::element::i64, ov::Shape{received_batch_size, token_count_of_longest_document}};
195194
int64_t* token_type_ids_start = reinterpret_cast<int64_t*>(typeIds.data());

0 commit comments

Comments
 (0)