mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Fixing the invalid popping.
This commit is contained in:
parent
a08f7eb993
commit
4fc01e243d
@ -364,7 +364,7 @@ impl State {
|
|||||||
// Add it back to the front
|
// Add it back to the front
|
||||||
tracing::debug!("Over budget: not enough free blocks");
|
tracing::debug!("Over budget: not enough free blocks");
|
||||||
self.entries.push_front((id, entry));
|
self.entries.push_front((id, entry));
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
Some(block_allocation) => {
|
Some(block_allocation) => {
|
||||||
tracing::debug!("Allocation: {block_allocation:?}");
|
tracing::debug!("Allocation: {block_allocation:?}");
|
||||||
|
@ -97,6 +97,7 @@ impl Allocator for RadixAllocator {
|
|||||||
self.cache_blocks
|
self.cache_blocks
|
||||||
.decref(prefix_node)
|
.decref(prefix_node)
|
||||||
.expect("Failed to decrement refcount");
|
.expect("Failed to decrement refcount");
|
||||||
|
tracing::debug!("Cannot allocate {:?}", self.cache_blocks);
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user