Less spammy logs too.

This commit is contained in:
Nicolas Patry 2025-03-05 20:58:27 +01:00
parent a495ee5342
commit 5208d3f93e
No known key found for this signature in database
GPG Key ID: 4242CEF24CB6DBF9

View File

@ -311,7 +311,7 @@ impl State {
+ entry.request.stopping_parameters.max_new_tokens
+ self.speculate
- 1;
tracing::debug!("Allocating {tokens} with {input_ids:?}");
// tracing::debug!("Allocating {tokens} with {input_ids:?}");
let block_allocation = match block_allocator.allocate(tokens, input_ids).await {
None => {
@ -322,7 +322,7 @@ impl State {
break 'entry_loop;
}
Some(mut block_allocation) => {
tracing::debug!("Allocation: {block_allocation:?}");
// tracing::debug!("Allocation: {block_allocation:?}");
max_blocks = max(max_blocks, block_allocation.blocks.len() as u32);
if block_allocation.prefix_len == entry.request.input_length {