Skip to content

Conversation

martindevans
Copy link
Member

  • Converted LLamaStatelessExecutor to run Exec calls inside an awaited task. This unblocks async callers while the model is being evaluated.
  • Added a "spinner" to the StatelessModeExecute demo, which spins while waiting for the next token (demonstrating that it's not blocked).

…ted task. This unblocks async callers while the model is being evaluated.

 - Added a "spinner" to the `StatelessModeExecute` demo, which spins while waiting for the next token (demonstrating that it's not blocked).
@martindevans martindevans merged commit 56073e7 into SciSharp:master Sep 29, 2023
@martindevans martindevans deleted the async_stateless_eval branch September 29, 2023 21:25
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