Skip to content

Conversation

@sramshetty
Copy link
Contributor

Currently allows for users to set caching argument in model.generate() in order to improve longer generation efficiency. At smaller lengths, the overhead doesn't seem to be worth the cost of caching, but may be an implementation problem.

  • Test speed-up for longer generations
  • If possible, add caching for text encoding

@sramshetty sramshetty marked this pull request as draft April 21, 2023 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant