ace qwen rep pen for codes

This commit is contained in:
Concedo
2026-03-02 21:18:06 +08:00
parent de9840afac
commit ae67caa2f7
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -551,7 +551,7 @@ void ContextRewind(std::vector<int> &embd, std::vector<int> &current_context_tok
}
if(file_format == FileFormat::RWKV_1 || file_format==FileFormat::RWKV_2 || is_recurrent)
{
if(!showed_rnn_warning)
if(!showed_rnn_warning && debugmode==1 && !is_quiet)
{
showed_rnn_warning = true;
printf("\nWARNING: RNN models do not support context rewind!\n");