Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…5752) NOTE: It is a big PR, but most of code is testing (200~300 lines I believe) This is the fourth PR to support the streaming generator. The detailed design and API proposal can be found from https://docs.google.com/document/d/1hAASLe2sCoay23raqxqwJdSDiJWNMcNhlTwWJXsJOU4/edit#heading=h.w91y1fgnpu0m. The Execution plan can be found from https://docs.google.com/document/d/1hAASLe2sCoay23raqxqwJdSDiJWNMcNhlTwWJXsJOU4/edit#heading=h.kxktymq5ihf7. There will be 4 PRs to enable streaming generator for Ray Serve (phase 1). This PR -> introduce cpp interfaces to handle intermediate task return [1/N] Streaming Generator. Cpp interfaces and implementation #35291 Support core worker APIs + cython generator interface. [2/N] Streaming Generator. Support core worker APIs + cython generator interface. #35324 E2e integration [3/N] Streaming Generator. E2e integration #35325 (review) Support async actors [4/N] Support async actor and async generator interface. #35382 < ---- This PR adds an async actor execution support to the generator implementation (basically keep posting generator.anext to the event loop) Impelements a standard async generator interface from Python. (anext and aiter)
- Loading branch information