Skip to content

Commit

Permalink
Merge branch 'streaming_lm_encoding' of github.com:iefode/openvino.ge…
Browse files Browse the repository at this point in the history
…nai into streaming_lm_encoding
  • Loading branch information
iefode committed Dec 16, 2024
2 parents 02622c9 + 61e55a6 commit dd5ca50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cpp/src/continuous_batching_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,6 @@ ContinuousBatchingPipeline::ContinuousBatchingImpl::generate(const std::vector<o
}
if (streamer_ptr && generations.at(0)->can_read()) {
std::unordered_map<uint64_t, GenerationOutput> token = generations.at(0).get()->back();
OPENVINO_ASSERT(1 <= token.size());
OPENVINO_ASSERT(1 <= token.begin()->second.generated_ids.size());
for (const auto& gen_token : token.begin()->second.generated_ids) {
if (!streamer_ptr->put(gen_token)) {
break;
Expand Down

0 comments on commit dd5ca50

Please sign in to comment.