I think might have had one too many experts stripped out

#11
by Boffy - opened

Code_DzjUQWYnIt

IST Austria Distributed Algorithms and Systems Lab org

Thanks for sharing your experiment. Unfortunately, looping can occur with this model and I’ve experienced it as well. We suspect that it may be related to degraded performance at longer context lengths and this is something we’re currently working on improving in future versions.

Could you let me know at what context length you encountered the looping?

I think only had like 130k as max context and this part probably in at like 50k

You can try to switch to bf16 type for CV cache. It usually helps to reduce looping probability for Qwen family models.
Not yet representative, but yesterday I have several long sessions with this model with 128k context, bf16 keys, q8_0 value cache, without looping

I'll try with--repeat-penalty 1.05 --repeat-last-n 128 and or --dry-multiplier 0.8 if I experience this, and see if it helps.

Also, I wonder what would happen if some layers were repeated, perhaps where layers were removed.

Sign up or log in to comment