-
Notifications
You must be signed in to change notification settings - Fork 241
[gRPC](3/N) gRPC-in-gRPC-out support for Generate streaming #2226
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zetxqx The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
gRPC-in-gRPC-out support for Generate streaming.
In hanlders/server.go
Key changes:
GenerateRequest.Streamto decide whether this request is a model streaming for gRPC request.Tested: whole flow is working by using custom GKE controller.
The following is an successful result using test go code here: https://github.com/zetxqx/gateway-api-inference-extension/blob/c311c6f3097ee3337ccbe39714d6f649a1c3cba0/pkg/epp/grpc/examples/client/main.go
Which issue(s) this PR fixes:
Fixes partially #2166
Does this PR introduce a user-facing change?: