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

Updates for vllm v0.6.4 #183

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
pyv: ["3.12"]
vllm_version:
# - "" # skip the pypi version as it will not work on CPU
- "git+https://github.com/vllm-project/[email protected].2"
- "git+https://github.com/vllm-project/[email protected].4"
- "git+https://github.com/vllm-project/vllm@main"
- "git+https://github.com/opendatahub-io/vllm@main"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"vllm>=0.6.2",
"vllm>=0.6.4",
"prometheus_client==0.21.0",
"grpcio==1.67.0",
"grpcio-health-checking==1.62.2",
Expand Down
6 changes: 3 additions & 3 deletions src/vllm_tgis_adapter/grpc/grpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from vllm.engine.async_llm_engine import AsyncLLMEngine
from vllm.engine.multiprocessing import MQEngineDeadError
from vllm.entrypoints.openai.serving_completion import merge_async_iterators
from vllm.inputs import LLMInputs
from vllm.inputs import token_inputs
from vllm.sampling_params import RequestOutputKind, SamplingParams
from vllm.tracing import (
contains_trace_headers,
Expand Down Expand Up @@ -257,7 +257,7 @@ async def Generate(
sampling_params, truncate_input_tokens, req.text, tokenizer, context
)

inputs = LLMInputs(
inputs = token_inputs(
prompt=req.text,
prompt_token_ids=input_ids,
)
Expand Down Expand Up @@ -356,7 +356,7 @@ async def GenerateStream( # noqa: PLR0915, C901
context,
)

inputs = LLMInputs(
inputs = token_inputs(
prompt=request.request.text,
prompt_token_ids=input_ids,
)
Expand Down
Loading