You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this notebook, when you tested cache feature, I think you should use generate function rather than forward function because the advantages of cache can be obtained with saving past generated tensors. but if we use forward function there are no past tensors. Please let me know if I was wrong.
The text was updated successfully, but these errors were encountered:
https://github.com/ELS-RD/transformer-deploy/blob/main/demo/generative-model/gpt2.ipynb
In this notebook, when you tested cache feature, I think you should use
generate
function rather thanforward
function because the advantages of cache can be obtained with saving past generated tensors. but if we useforward
function there are no past tensors. Please let me know if I was wrong.The text was updated successfully, but these errors were encountered: