Skip to content

Fixing try it out curl #929

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sathvikpurushotham
Copy link

Issue link - #907

As mentioned in the issue, the quickstart guide currently has separate tabs to test GPU and CPU-based deployment options, but both deployment options should use the same model name.

After fix the try it out section has only 1 curl that can be used. Also the tab sections have been removed.

Copy link

linux-foundation-easycla bot commented Jun 5, 2025

CLA Not Signed

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sathvikpurushotham
Once this PR has been reviewed and has the lgtm label, please assign terrytangyuan for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from danehans and Jeffwan June 5, 2025 14:30
@k8s-ci-robot
Copy link
Contributor

Welcome @sathvikpurushotham!

It looks like this is your first PR to kubernetes-sigs/gateway-api-inference-extension 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/gateway-api-inference-extension has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 5, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @sathvikpurushotham. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 5, 2025
Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit 2c0a3c0
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/684b0a2d27d18e000871e9de
😎 Deploy Preview https://deploy-preview-929--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

PORT=80

curl -i ${IP}:${PORT}/v1/completions -H 'Content-Type: application/json' -d '{
"model": "food-review",
Copy link
Contributor

@nirrozenbaum nirrozenbaum Jun 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use model food-review-1?
and then we just need to make sure all deployments have an adapter with that name.

Copy link
Author

@sathvikpurushotham sathvikpurushotham Jun 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think it would be a good idea to use food-review-1 model. I will update this PR.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesnt this just break CPU deployments?

More metaquestion. Do we want/need to support CPU deployments now that we have the sim server? They served a similar purpose

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kfswain we rolled back to food-review.
(but to answer your question, CPU deployment has some inconsistencies and currently has both food-review and food-review-1. there is a separate open issue to handle to inconsistencies).

@nirrozenbaum
Copy link
Contributor

@sathvikpurushotham this LGTM, you just need to have the CLA authorization set up.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 6, 2025
@nirrozenbaum
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 6, 2025
@sathvikpurushotham
Copy link
Author

@nirrozenbaum, Thank you. I am in the process of requesting CCLA from my organisation (IBM). Will get the CLA authorisation set up asap.

PORT=80

curl -i ${IP}:${PORT}/v1/completions -H 'Content-Type: application/json' -d '{
"model": "food-review-1",
Copy link
Contributor

@danehans danehans Jun 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL at the InferenceModel manifest used by the quickstart guide. The curl request should target the food-review model. The EPP will change the model name to food-review-1 based on the food-review InferenceModel configuration.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danehans I wasn’t looking in the InferenceModel resources, so I suggested food-review-1. you’re right 👍🏻

@danehans
Copy link
Contributor

danehans commented Jun 6, 2025

@sathvikpurushotham have you tested this change (with #929 (comment)) by following the quickstart guide and using the CPU-based vLLM deployment option?

@danehans
Copy link
Contributor

danehans commented Jun 6, 2025

@sathvikpurushotham PTAL at #933 if you're interested in helping with a similar fix.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 12, 2025
@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@sathvikpurushotham
Copy link
Author

@danehans @nirrozenbaum I have updated the model name back to food-review, as per previous discussion. Let me know if you have any concerns.

@sathvikpurushotham
Copy link
Author

@sathvikpurushotham have you tested this change (with #929 (comment)) by following the quickstart guide and using the CPU-based vLLM deployment option?

@danehans No, I have been struggling a bit to setup my local system to run this so I haven't been able to test it.

@nirrozenbaum
Copy link
Contributor

/test pull-gateway-api-inference-extension-test-e2e-main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants