mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 15:44:57 +08:00
[V1] Fix CI tests on V1 engine (#10272)
Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
parent
377b74fe87
commit
112fa0bbe5
@ -27,6 +27,9 @@ def make_request() -> EngineCoreRequest:
|
||||
request_id=uuid.uuid4(),
|
||||
prompt=PROMPT,
|
||||
prompt_token_ids=PROMPT_TOKENS,
|
||||
mm_data=None,
|
||||
mm_placeholders=None,
|
||||
mm_processor_kwargs=None,
|
||||
sampling_params=SamplingParams(),
|
||||
eos_token_id=None,
|
||||
arrival_time=time.time(),
|
||||
|
||||
@ -29,6 +29,9 @@ def make_request(params: SamplingParams) -> EngineCoreRequest:
|
||||
request_id=str(uuid.uuid4()),
|
||||
prompt=PROMPT,
|
||||
prompt_token_ids=PROMPT_TOKENS,
|
||||
mm_data=None,
|
||||
mm_placeholders=None,
|
||||
mm_processor_kwargs=None,
|
||||
sampling_params=params,
|
||||
eos_token_id=None,
|
||||
arrival_time=time.time(),
|
||||
|
||||
@ -317,7 +317,7 @@ class EngineCoreProc(EngineCore):
|
||||
|
||||
# Msgpack serialization decoding.
|
||||
decoder_add_req = PickleEncoder()
|
||||
decoder_abort_req = msgpack.Decoder(list[str])
|
||||
decoder_abort_req = PickleEncoder()
|
||||
|
||||
with self.make_socket(input_path, zmq.constants.PULL) as socket:
|
||||
while True:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user