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

Fixed vLLM documentation #573

Merged
merged 4 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/examples/performance/vllm-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This example will cover:
Get started by creating a new Truss:

```sh
truss init opt125
truss init --backend VLLM opt125
```

You're going to see a couple of prompts. Follow along with the instructions below:
Expand Down Expand Up @@ -69,7 +69,7 @@ truss push
You can invoke the model with:

```sh
truss predict -d '{"prompt": "What is a large language model?"}'
truss predict -d '{"prompt": "What is a large language model?", "model": "facebook/opt-125M"}' --published
```

<RequestExample>
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe revert this whole file for this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good call -- do you know why the tests here are failing though? Will be important for the gcs pr.

name = "truss"
version = "0.6.0"
version = "0.5.7rc1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be bumped to 0.6.1

description = "A seamless bridge from model development to model delivery"
license = "MIT"
readme = "README.md"
Expand Down Expand Up @@ -41,6 +41,7 @@ watchfiles = "^0.19.0"
huggingface_hub = "^0.16.4"
rich-click = "^1.6.1"
inquirerpy = "^0.3.4"
google-cloud-storage = "^2.10.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this needed here or just in builder?


[tool.poetry.group.builder.dependencies]
python = ">=3.8,<3.12"
Expand All @@ -59,6 +60,7 @@ uvicorn = "^0.21.1"
httpx = "^0.24.1"
psutil = "^5.9.4"
huggingface_hub = "^0.16.4"
google-cloud-storage = "^2.10.0"

[tool.poetry.dev-dependencies]
torch = "^1.9.0"
Expand Down