Repetition_penalty not working?

I think there is something wrong with repetition_penalty. It is not being applied.

I have some models, e.g. generation_config.json 路 adenhaus/mt5-small-tata at main which have repetition_penalty set. Just a few weeks ago, when I changed the repetition_penalty, I could see the output change. Now, when I change it, the output is always the same, the penalty is not being applied.

Maybe this was broken in some recent update?

@sgugger

This seems to be working again now, but I am certain I had the issue yesterday.