From f6fd6a5d6cb87222945f0e27e6e07b0c21393f96 Mon Sep 17 00:00:00 2001 From: Li Zhang Date: Mon, 11 Dec 2023 08:28:35 +0000 Subject: [PATCH] add debug info --- src/turbomind/models/llama/BlockManager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/turbomind/models/llama/BlockManager.cc b/src/turbomind/models/llama/BlockManager.cc index e2e9c39dd5..32dd0f12c7 100644 --- a/src/turbomind/models/llama/BlockManager.cc +++ b/src/turbomind/models/llama/BlockManager.cc @@ -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));