Model.generate() is extremely slow while using beam search

Did you any solution? I face the same problem now.