revert dry state reset

This commit is contained in:
Concedo 2024-08-20 22:22:21 +08:00
parent c1ae350e5b
commit db6ef8d1e1

View file

@ -1952,10 +1952,6 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
last_stop_reason = stop_reason::OUT_OF_TOKENS;
stop_sequence.clear();
special_stop_sequence.clear();
dry_repeat_count.clear();
dry_sequence_breakers.clear();
dry_max_token_repeat.clear();
for(int x=0;x<stop_token_max;++x)
{
std::string stopper = inputs.stop_sequence[x];