A repetition_penalty of 1.1 (or any custom value) will generate the following error:
Inplace update to inference tensor outside InferenceMode is not allowed.You can make a clone to get a normal tensor before doing inplace update.See https://github.com/pytorch/rfcs/pull/17 for more details.
A
repetition_penalty
of1.1
(or any custom value) will generate the following error: