-
Notifications
You must be signed in to change notification settings - Fork 0
vLLM Flightpath (with DVC example) #55
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6c5166e
Document nan/inf handling.
superdosh 6ffd5bd
Infra changes to support dvc in jupyter and vllm stuff.
superdosh b75dfe2
Add simple vLLM client and mock server for testing purposes
superdosh 0d37c82
Flightpath.
superdosh 8550347
Clean up poetry.lock.
superdosh 6cecd33
Add workflow_dispatch support to tests.yml for branch input
superdosh 27dabdd
Add DVC configuration and ignore files; update vLLM Annotator paths
superdosh b5e7c89
Enhance DVCInput to support revision specification in repo URL
superdosh 34665d2
Update flightpath.
superdosh 4db0dc1
Comment out the ssh stuff.
superdosh 39917e3
Comment about google creds path.
superdosh f0f777c
Add data content warning.
superdosh f8451d9
Add api token auth to mock vllm.
superdosh 84da536
Use normal secrets injection for mock vllm.
superdosh 84def70
Add vllm secret config.
superdosh fcd6674
Fix comment in secrets.toml example.
superdosh d5480b5
Remove no longer used var.
superdosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| /config.local | ||
| /tmp | ||
| /cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [core] | ||
| remote = gcs | ||
| ['remote "gcs"'] | ||
| url = gs://airr-modelplane-dev-dvc/modelplane |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Add patterns of files dvc should ignore, which could improve | ||
| # the performance. Learn more at | ||
| # https://dvc.org/doc/user-guide/dvcignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| FROM python:3.12-slim | ||
|
|
||
| WORKDIR /app | ||
|
|
||
| COPY tests/notebooks/mock_vllm_server.py . | ||
|
|
||
| # versions chosen to match whats in poetry.lock as of 2025-07-09 | ||
| RUN pip install fastapi==0.115.12 uvicorn==0.34.3 | ||
|
|
||
| EXPOSE ${VLLM_PORT} | ||
|
|
||
| CMD ["sh", "-c", "uvicorn mock_vllm_server:app --host $VLLM_HOST --port $VLLM_PORT"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Edit this file to add your secrets. | ||
|
|
||
| # This is an example of how to define a secret. | ||
| # The config is saying that within scope "vllm" we have a | ||
| # key named "api_key" that we are setting to value "changeme". | ||
| [vllm] | ||
| api_key = "changeme" | ||
|
|
||
| # Here are some commonly needed keys you can uncomment and use. | ||
| [together] | ||
| # api_key = "fake key" | ||
|
|
||
| [perspective_api] | ||
| # api_key = "<your key here>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /demo_prompts_mini.csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| outs: | ||
superdosh marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - md5: 22fbc36cf0afa5428086fc53dd182ee4 | ||
| size: 24779 | ||
| hash: md5 | ||
| path: demo_prompts_mini.csv | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.