Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple PredictionEventHandler #1392

Closed
wants to merge 6 commits into from
Closed

multiple PredictionEventHandler #1392

wants to merge 6 commits into from

Conversation

technillogue
Copy link
Contributor

@technillogue technillogue commented Nov 21, 2023

stacked #1352 #1366

we agreed to have a separate release channel for llama, so we can postpone making this compatible with non-batched releases as long as we'll be able to do it later.

this PR tries to start getting at the core problem of handling multiple predictions.

  • move runner.predict into PredictionRunner._predict
  • bad wip

This reverts commit f60abe3.

Signed-off-by: technillogue <technillogue@gmail.com>
…path for hypothetical async setup

this may be appealing if your setup uses async heavily for e.g. downloading weights and also doing something else

Signed-off-by: technillogue <technillogue@gmail.com>
Signed-off-by: technillogue <technillogue@gmail.com>
… in setup

running the worker tests individually is always fine, but sometimes when running the full suite the same loop test throws "Unreliable test timings! On an initial run, this test took 652.54ms, which exceeded the deadline of 500.00ms, but on a subsequent run it took 346.94 ms"

Signed-off-by: technillogue <technillogue@gmail.com>
@technillogue technillogue force-pushed the syl/jank-batch branch 2 times, most recently from 5cae7f7 to 34d05af Compare November 28, 2023 22:32
Signed-off-by: technillogue <technillogue@gmail.com>
Signed-off-by: technillogue <technillogue@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants