Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CB] Update Block manager assert #1569

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iefode
Copy link
Contributor

@iefode iefode commented Jan 16, 2025

No description provided.

@github-actions github-actions bot added the category: continuous batching Continuous batching label Jan 16, 2025
@ilya-lavrenov ilya-lavrenov added this to the 2025.1 milestone Jan 16, 2025
@ilya-lavrenov ilya-lavrenov self-assigned this Jan 16, 2025
@@ -223,7 +223,9 @@ class BlockAllocator {

~BlockAllocator() {
// sanity check to validate that all blocks are freed
// OPENVINO_ASSERT(m_total_num_blocks == m_free_blocks.size());
for (auto& free_block : m_free_blocks_num) {
OPENVINO_ASSERT(m_total_num_blocks == free_block);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
OPENVINO_ASSERT(m_total_num_blocks == free_block);
OPENVINO_ASSERT(m_total_num_blocks == free_block, "Expected num free blocks: ", m_total_num_blocks, ", actual: ", free_block);

@ilya-lavrenov
Copy link
Contributor

@ilya-lavrenov ilya-lavrenov marked this pull request as draft January 16, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants