Skip to content

Commit

Permalink
add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
lzhangzz committed Dec 11, 2023
1 parent a54b16a commit f6fd6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/turbomind/models/llama/BlockManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int BlockManager::Lock(const BlockIds& ids)

for (const auto& i : ids) {
auto& b = blocks_[i];
FT_CHECK(is_cached(b));
FT_CHECK_WITH_INFO(is_cached(b), to_string(b));
if (++b.use_count == 1) {
lock.push_back(i);
FT_CHECK(is_active(b));
Expand Down

0 comments on commit f6fd6a5

Please sign in to comment.