You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collecting environment information...
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: 20.0.0 (++20240930053731+af47038fb138-1~exp1~20240930053910.1959)
CMake version: version 3.31.0
Libc version: glibc-2.35
Python version: 3.10.15 (main, Oct 3 2024, 07:27:34) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-118-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 4090
GPU 1: NVIDIA GeForce RTX 4090
Nvidia driver version: 550.90.07
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.1.1
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 160
On-line CPU(s) list: 0-159
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Platinum 8460Y+
CPU family: 6
Model: 143
Thread(s) per core: 2
Core(s) per socket: 40
Socket(s): 2
Stepping: 6
CPU max MHz: 3700.0000
CPU min MHz: 800.0000
BogoMIPS: 4000.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization: VT-x
L1d cache: 3.8 MiB (80 instances)
L1i cache: 2.5 MiB (80 instances)
L2 cache: 160 MiB (80 instances)
L3 cache: 210 MiB (2 instances)
NUMA node(s): 2
NUMA node0 CPU(s): 0-39,80-119
NUMA node1 CPU(s): 40-79,120-159
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==12.4.5.8
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==9.1.0.70
[pip3] nvidia-cufft-cu12==11.2.1.3
[pip3] nvidia-curand-cu12==10.3.5.147
[pip3] nvidia-cusolver-cu12==11.6.1.9
[pip3] nvidia-cusparse-cu12==12.3.1.170
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pyzmq==26.2.0
[pip3] torch==2.5.1
[pip3] torchvision==0.20.1
[pip3] transformers==4.46.3
[pip3] triton==3.1.0
[conda] numpy 1.26.4 pypi_0 pypi
[conda] nvidia-cublas-cu12 12.4.5.8 pypi_0 pypi
[conda] nvidia-cuda-cupti-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-cuda-nvrtc-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-cuda-runtime-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-cudnn-cu12 9.1.0.70 pypi_0 pypi
[conda] nvidia-cufft-cu12 11.2.1.3 pypi_0 pypi
[conda] nvidia-curand-cu12 10.3.5.147 pypi_0 pypi
[conda] nvidia-cusolver-cu12 11.6.1.9 pypi_0 pypi
[conda] nvidia-cusparse-cu12 12.3.1.170 pypi_0 pypi
[conda] nvidia-ml-py 12.560.30 pypi_0 pypi
[conda] nvidia-nccl-cu12 2.21.5 pypi_0 pypi
[conda] nvidia-nvjitlink-cu12 12.4.127 pypi_0 pypi
[conda] nvidia-nvtx-cu12 12.4.127 pypi_0 pypi
[conda] pyzmq 26.2.0 pypi_0 pypi
[conda] torch 2.5.1 pypi_0 pypi
[conda] torchvision 0.20.1 pypi_0 pypi
[conda] transformers 4.46.3 pypi_0 pypi
[conda] triton 3.1.0 pypi_0 pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.4.post2.dev6+g755b8535
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0 GPU1 CPU Affinity NUMA Affinity GPU NUMA ID
GPU0 X NODE 40-79,120-159 1 N/A
GPU1 NODE X 40-79,120-159 1 N/A
Legend:
X = Self
SYS = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX = Connection traversing at most a single PCIe bridge
NV# = Connection traversing a bonded set of # NVLinks
LD_LIBRARY_PATH=/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/cv2/../../lib64:/usr/local/cuda/lib64/:/usr/local/cuda/lib64/:
CUDA_MODULE_LOADING=LAZY
Model Input Dumps
No response
🐛 Describe the bug
When setting the environment variable VLLM_TEST_ENABLE_ARTIFICIAL_PREEMPT on the server and enabling the swap preemption mode, running the benchmarks/benchmark_serving.py script to test the performance of VLLM triggers an AssertionError.
WARNING 11-27 02:04:48 scheduler.py:1481] Sequence group cmpl-f5a99b8801444ad19f63a764ebb493b7-0 is preempted by PreemptionMode.SWAP mode because there is not enough KV cache space. This can affect the end-to-end performance. Increase gpu_memory_utilization or tensor_parallel_size to provide more KV cache memory. total_num_cumulative_preemption=1
ERROR 11-27 02:04:48 engine.py:135] AssertionError()
ERROR 11-27 02:04:48 engine.py:135] Traceback (most recent call last):
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/engine/multiprocessing/engine.py", line 133, in start
ERROR 11-27 02:04:48 engine.py:135] self.run_engine_loop()
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/engine/multiprocessing/engine.py", line 196, in run_engine_loop
ERROR 11-27 02:04:48 engine.py:135] request_outputs = self.engine_step()
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/engine/multiprocessing/engine.py", line 214, in engine_step
ERROR 11-27 02:04:48 engine.py:135] raise e
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/engine/multiprocessing/engine.py", line 205, in engine_step
ERROR 11-27 02:04:48 engine.py:135] return self.engine.step()
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/engine/llm_engine.py", line 1405, in step
ERROR 11-27 02:04:48 engine.py:135] ) = self.scheduler[virtual_engine].schedule()
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/core/scheduler.py", line 1219, in schedule
ERROR 11-27 02:04:48 engine.py:135] scheduler_outputs: SchedulerOutputs = self._schedule()
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/core/scheduler.py", line 1178, in _schedule
ERROR 11-27 02:04:48 engine.py:135] return self._schedule_default()
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/core/scheduler.py", line 1024, in _schedule_default
ERROR 11-27 02:04:48 engine.py:135] running_scheduled = self._schedule_running(budget,
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/core/scheduler.py", line 593, in _schedule_running
ERROR 11-27 02:04:48 engine.py:135] self.output_proc_callback(
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/utils.py", line 1125, in weak_bound
ERROR 11-27 02:04:48 engine.py:135] unbound(inst, *args, **kwargs)
ERROR 11-27 02:04:48 engine.py:135] File "/disk1/minamoto/vllm/vllm/engine/llm_engine.py", line 1093, in _process_model_outputs
ERROR 11-27 02:04:48 engine.py:135] assert len(seq_group_metadata_list) == len(
ERROR 11-27 02:04:48 engine.py:135] AssertionError
DEBUG 11-27 02:04:48 engine.py:139] MQLLMEngine is shut down.
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/responses.py", line 259, in __call__
await wrap(partial(self.listen_for_disconnect, receive))
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/responses.py", line 255, in wrap
await func()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/responses.py", line 232, in listen_for_disconnect
message = await receive()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 118, in receive_or_disconnect
async with anyio.create_task_group() as task_group:
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 126, in receive_or_disconnect
message = await wrap(wrapped_receive)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 121, in wrap
result = await func()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 51, in wrapped_receive
msg = await self.receive()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 563, in receive
await self.message_event.wait()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/asyncio/locks.py", line 214, in wait
await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f1a263262f0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 188, in __call__
await response(scope, wrapped_receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 222, in __call__
async for chunk in self.body_iterator:
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 179, in body_stream
raise app_exc
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/cors.py", line 85, in __call__
await self.app(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
await route.handle(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/routing.py", line 74, in app
await response(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/responses.py", line 252, in __call__
async with anyio.create_task_group() as task_group:
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
yield
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in __call__
async with anyio.create_task_group() as task_group:
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
raise exc
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__
with collapse_excgroups():
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
raise exc
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/responses.py", line 255, in wrap
await func()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/starlette/responses.py", line 244, in stream_response
async for chunk in self.body_iterator:
File "/disk1/minamoto/vllm/vllm/entrypoints/openai/serving_completion.py", line 258, in completion_stream_generator
async for prompt_idx, res in result_generator:
File "/disk1/minamoto/vllm/vllm/utils.py", line 444, in merge_async_iterators
item = await d
File "/disk1/minamoto/vllm/vllm/engine/multiprocessing/client.py", line 633, in _process_request
raise request_output
vllm.engine.multiprocessing.MQEngineDeadError: Engine loop is not running. Inspect the stacktrace to find the original error: AssertionError().
[rank0]:[W1127 02:04:49.768143444 ProcessGroupNCCL.cpp:1250] Warning: WARNING: process group has NOT been destroyed before we destruct ProcessGroupNCCL. On normal program exit, the application should call destroy_process_group to ensure that any pending NCCL operations have finished in this process. In rare cases this process can exit before this point and block the progress of another member of the process group. This constraint has always been present, but this warning has only been added since PyTorch 2.4 (function operator())
DEBUG 11-27 02:04:56 client.py:165] Heartbeat successful.
ERROR 11-27 02:04:56 client.py:282] RuntimeError('Engine process (pid 144218) died.')
ERROR 11-27 02:04:56 client.py:282] NoneType: None
DEBUG 11-27 02:04:58 client.py:186] Waiting for output from MQLLMEngine.
DEBUG 11-27 02:04:58 client.py:186] Waiting for output from MQLLMEngine.
Client-side error:
Starting initial single prompt test run...
Traceback (most recent call last):
File "/disk1/minamoto/vllm/lab2/benchmark_serving.py", line 966, in <module>
main(args)
File "/disk1/minamoto/vllm/lab2/benchmark_serving.py", line 671, in main
benchmark_result = asyncio.run(
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/disk1/minamoto/vllm/lab2/benchmark_serving.py", line 427, in benchmark
raise ValueError(
ValueError: Initial test run failed - Please make sure benchmark arguments are correctly specified. Error: Traceback (most recent call last):
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/aiohttp/client_proto.py", line 92, in connection_lost
uncompleted = self._parser.feed_eof()
File "aiohttp/_http_parser.pyx", line 513, in aiohttp._http_parser.HttpParser.feed_eof
aiohttp.http_exceptions.TransferEncodingError: 400, message:
Not enough data for satisfy transfer length header.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/disk1/minamoto/vllm/lab2/backend_request_func.py", line 259, in async_request_openai_completions
async for chunk_bytes in response.content:
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/aiohttp/streams.py", line 52, in __anext__
rv = await self.read_func()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/aiohttp/streams.py", line 349, in readline
return await self.readuntil()
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/aiohttp/streams.py", line 383, in readuntil
await self._wait("readuntil")
File "/home/minamoto/miniconda3/envs/vllm_main/lib/python3.10/site-packages/aiohttp/streams.py", line 344, in _wait
await waiter
aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
Before submitting a new issue...
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
Minamoto25
changed the title
[Bug]: AssertError when testing VLLM performance with artificial preempt mode set to "swap" and VLLM_TEST_ENABLE_ARTIFICIAL_PREEMPT=1
[Bug]: AssertError when testing VLLM performance with preempt mode set to "swap" and VLLM_TEST_ENABLE_ARTIFICIAL_PREEMPT=1
Nov 27, 2024
Your current environment
The output of `python collect_env.py`
Model Input Dumps
No response
🐛 Describe the bug
When setting the environment variable
VLLM_TEST_ENABLE_ARTIFICIAL_PREEMPT
on the server and enabling the swap preemption mode, running thebenchmarks/benchmark_serving.py
script to test the performance of VLLM triggers an AssertionError.Steps to Reproduce:
Client-side:
Server-side:
Server-side error:
Client-side error:
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: