Oops this doesn't belong here.

This commit is contained in:
Nicolas Patry 2024-08-28 14:49:00 +02:00
parent e6ee67f301
commit f886747949
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -291,11 +291,7 @@ impl State {
None None
} }
Some(block_allocator) => { Some(block_allocator) => {
if entry.request.input_length <= prefill_token_budget { prefill_tokens += entry.request.input_length;
prefill_tokens += entry.request.input_length;
} else {
prefill_tokens = prefill_token_budget;
}
let max_new_tokens = match self.window_size { let max_new_tokens = match self.window_size {
None => entry.request.stopping_parameters.max_new_tokens, None => entry.request.stopping_parameters.max_new_tokens,
Some(window_size) => min( Some(window_size) => min(