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

feat: add TGIS CLI commands #92

Closed
wants to merge 3 commits into from
Closed

Conversation

rafvasq
Copy link

@rafvasq rafvasq commented Jul 16, 2024

Related to

vllm-project#5090
Previously, vllm-project#4167

Copy link

openshift-ci bot commented Jul 16, 2024

Hi @rafvasq. Thanks for your PR.

I'm waiting for a opendatahub-io 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.

@prashantgupta24
Copy link

Looks good @rafvasq ! Once we sync with upstream, we can get this in!

@prashantgupta24
Copy link

/retest

Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
Co-authored-by: Prashant Gupta <prashantgupta@us.ibm.com>

Choose a reason for hiding this comment

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

we don't need changes to this file anymore, the __main__.py file handles starting both servers now!

return to_remove


def convert_file(pt_file: Path, sf_file: Path, discard_names: List[str]):

Choose a reason for hiding this comment

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

vllm/scripts.py Outdated
@@ -82,6 +96,151 @@ def chat(system_prompt: Optional[str], model_name: str,
print(output)


def download_weights(
Copy link

@prashantgupta24 prashantgupta24 Jul 17, 2024

Choose a reason for hiding this comment

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

I wonder if moving all these functions to a file that's not going to be changed by upstream vllm will help in future merge conflicts (Basically keeping our changes to a minimum to files that might be changed in upstream)

@github-actions github-actions bot changed the title feat: CLI commands Sync with upstream@v0.5.2-35-g1c27d25f Jul 18, 2024
@rafvasq rafvasq changed the title Sync with upstream@v0.5.2-35-g1c27d25f feat: add TGIS CLI commands Jul 18, 2024
@github-actions github-actions bot changed the title feat: add TGIS CLI commands Sync with upstream@v0.5.2-53-g6366efc6 Jul 19, 2024
@dtrifiro dtrifiro changed the title Sync with upstream@v0.5.2-53-g6366efc6 feat: add TGIS CLI commands Jul 19, 2024
@dtrifiro dtrifiro self-requested a review July 19, 2024 13:05
Copy link

@dtrifiro dtrifiro left a comment

Choose a reason for hiding this comment

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

@prashantgupta24
Copy link

@dtrifiro I had debated that, but yeah that might make the future upstream conflict issue go away if we do that. Might need some changes to make it work with the adapter

Copy link

openshift-ci bot commented Jul 19, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rafvasq
Once this PR has been reviewed and has the lgtm label, please assign terrytangyuan for approval. For more information see the Kubernetes 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

@prashantgupta24
Copy link

@rafvasq can you try incorporating this in the vllm-tgis-adapter that Daniele linked above? Apologies for moving this PR around so much, but a lot of things are changing rapidly

Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
@rafvasq
Copy link
Author

rafvasq commented Jul 19, 2024

No problem @prashantgupta24!

@rafvasq rafvasq marked this pull request as draft July 19, 2024 20:10
@github-actions github-actions bot changed the title feat: add TGIS CLI commands Sync with upstream@v0.5.2-67-g9042d683 Jul 20, 2024
@github-actions github-actions bot changed the title Sync with upstream@v0.5.2-67-g9042d683 Sync with upstream@v0.5.2-73-gd7f4178d Jul 21, 2024
@github-actions github-actions bot changed the title Sync with upstream@v0.5.2-73-gd7f4178d Sync with upstream@v0.5.2-79-g42de2cef Jul 22, 2024
@github-actions github-actions bot changed the title Sync with upstream@v0.5.2-79-g42de2cef Sync with upstream@v0.5.2-93-gc051bfe4 Jul 23, 2024
@dtrifiro
Copy link

Closing as this belongs in vllm-tgis-adapter.

@dtrifiro dtrifiro closed this Jul 23, 2024
@dtrifiro dtrifiro changed the title Sync with upstream@v0.5.2-93-gc051bfe4 feat: add TGIS CLI commands Jul 23, 2024
prarit pushed a commit to prarit/vllm that referenced this pull request Oct 18, 2024
* Reading the shapes csv only once and writing only if a new shape is deicovered

* fix lint

---------

Co-authored-by: Gregory Shtrasberg <Gregory.Shtrasberg@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants