Skip to content

Commit

Permalink
num_streams -> optimal_number_of_infer_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkalinowski committed Jul 22, 2024
1 parent 801cec6 commit e9d2c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/src/tokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Tokenizer::TokenizerImpl {
device, plugin_config);


const size_t INFER_REQUEST_QUEUE_SIZE = m_tokenizer.get_property(ov::num_streams);
const size_t INFER_REQUEST_QUEUE_SIZE = m_tokenizer.get_property(ov::optimal_number_of_infer_requests);
m_ireq_queue_tokenizer = std::make_unique<CircularBufferQueue<ov::InferRequest>>(
INFER_REQUEST_QUEUE_SIZE,
[this]() -> ov::InferRequest {
Expand Down

0 comments on commit e9d2c58

Please sign in to comment.