UCX_TLS=cuda_ipc,cuda_copy,tcp \
> LMCACHE_CONFIG_FILE=/work/vllm-0.8.5/examples/lmcache/disagg_prefill_lmcache_v1/configs/lmcache-prefiller-config.yaml \
> LMCACHE_USE_EXPERIMENTAL=True \
> VLLM_ENABLE_V1_MULTIPROCESSING=1 \
> VLLM_WORKER_MULTIPROC_METHOD=spawn \
> CUDA_VISIBLE_DEVICES=0 \
> vllm serve /work/Qwen/Qwen2.5-0.5B-Instruct \
> --port 8100 \
> --disable-log-requests \
> --enforce-eager \
> --kv-transfer-config \
> '{"kv_connector":"LMCacheConnectorV1","kv_role":"kv_producer","kv_connector_extra_config": {"discard_partial_chunks": false, "lmcache_rpc_port": "producer1"}}'
INFO 05-14 02:41:16 [__init__.py:239] Automatically detected platform cuda.
INFO 05-14 02:41:20 [api_server.py:1043] vLLM API server version 0.8.5
INFO 05-14 02:41:20 [api_server.py:1044] args: Namespace(subparser='serve', model_tag='/work/Qwen/Qwen2.5-0.5B-Instruct', config='', host=None, port=8100, uvicorn_log_level='info', disable_uvicorn_access_log=False, allow_credentials=False, allowed_origins=['*'], allowed_methods=['*'], allowed_headers=['*'], api_key=None, lora_modules=None, prompt_adapters=None, chat_template=None, chat_template_content_format='auto', response_role='assistant', ssl_keyfile=None, ssl_certfile=None, ssl_ca_certs=None, enable_ssl_refresh=False, ssl_cert_reqs=0, root_path=None, middleware=[], return_tokens_as_token_ids=False, disable_frontend_multiprocessing=False, enable_request_id_headers=False, enable_auto_tool_choice=False, tool_call_parser=None, tool_parser_plugin='', model='/work/Qwen/Qwen2.5-0.5B-Instruct', task='auto', tokenizer=None, hf_config_path=None, skip_tokenizer_init=False, revision=None, code_revision=None, tokenizer_revision=None, tokenizer_mode='auto', trust_remote_code=False, allowed_local_media_path=None, load_format='auto', download_dir=None, model_loader_extra_config={}, use_tqdm_on_load=True, config_format=<ConfigFormat.AUTO: 'auto'>, dtype='auto', max_model_len=None, guided_decoding_backend='auto', reasoning_parser=None, logits_processor_pattern=None, model_impl='auto', distributed_executor_backend=None, pipeline_parallel_size=1, tensor_parallel_size=1, data_parallel_size=1, enable_expert_parallel=False, max_parallel_loading_workers=None, ray_workers_use_nsight=False, disable_custom_all_reduce=False, block_size=None, gpu_memory_utilization=0.9, swap_space=4, kv_cache_dtype='auto', num_gpu_blocks_override=None, enable_prefix_caching=None, prefix_caching_hash_algo='builtin', cpu_offload_gb=0, calculate_kv_scales=False, disable_sliding_window=False, use_v2_block_manager=True, seed=None, max_logprobs=20, disable_log_stats=False, quantization=None, rope_scaling=None, rope_theta=None, hf_token=None, hf_overrides=None, enforce_eager=True, max_seq_len_to_capture=8192, tokenizer_pool_size=0, tokenizer_pool_type='ray', tokenizer_pool_extra_config={}, limit_mm_per_prompt={}, mm_processor_kwargs=None, disable_mm_preprocessor_cache=False, enable_lora=None, enable_lora_bias=False, max_loras=1, max_lora_rank=16, lora_extra_vocab_size=256, lora_dtype='auto', long_lora_scaling_factors=None, max_cpu_loras=None, fully_sharded_loras=False, enable_prompt_adapter=None, max_prompt_adapters=1, max_prompt_adapter_token=0, device='auto', speculative_config=None, ignore_patterns=[], served_model_name=None, qlora_adapter_name_or_path=None, show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, disable_async_output_proc=False, max_num_batched_tokens=None, max_num_seqs=None, max_num_partial_prefills=1, max_long_partial_prefills=1, long_prefill_token_threshold=0, num_lookahead_slots=0, scheduler_delay_factor=0.0, preemption_mode=None, num_scheduler_steps=1, multi_step_stream_outputs=True, scheduling_policy='fcfs', enable_chunked_prefill=None, disable_chunked_mm_input=False, scheduler_cls='vllm.core.scheduler.Scheduler', override_neuron_config=None, override_pooler_config=None, compilation_config=None, kv_transfer_config=KVTransferConfig(kv_connector='LMCacheConnectorV1', kv_buffer_device='cuda', kv_buffer_size=1000000000.0, kv_role='kv_producer', kv_rank=None, kv_parallel_size=1, kv_ip='127.0.0.1', kv_port=14579, kv_connector_extra_config={'discard_partial_chunks': False, 'lmcache_rpc_port': 'producer1'}), worker_cls='auto', worker_extension_cls='', generation_config='auto', override_generation_config=None, enable_sleep_mode=False, additional_config=None, enable_reasoning=False, disable_cascade_attn=False, disable_log_requests=True, max_log_len=None, disable_fastapi_docs=False, enable_prompt_tokens_details=False, enable_server_load_tracking=False, dispatch_function=<function ServeSubcommand.cmd at 0x7f5910656e60>)
WARNING 05-14 02:41:20 [utils.py:2267] Found ulimit of 1024 and failed to automatically increase with error current limit exceeds maximum limit. This can cause fd limit errors like `OSError: [Errno 24] Too many open files`. Consider increasing with ulimit -n
INFO 05-14 02:41:28 [config.py:717] This model supports multiple tasks: {'reward', 'generate', 'embed', 'classify', 'score'}. Defaulting to 'generate'.
INFO 05-14 02:41:28 [config.py:2003] Chunked prefill is enabled with max_num_batched_tokens=8192.
WARNING 05-14 02:41:28 [cuda.py:93] To see benefits of async output processing, enable CUDA graph. Since, enforce-eager is enabled, async output processor cannot be used
INFO 05-14 02:41:32 [__init__.py:239] Automatically detected platform cuda.
INFO 05-14 02:41:35 [core.py:58] Initializing a V1 LLM engine (v0.8.5) with config: model='/work/Qwen/Qwen2.5-0.5B-Instruct', speculative_config=None, tokenizer='/work/Qwen/Qwen2.5-0.5B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=32768, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=True, kv_cache_dtype=auto, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='auto', reasoning_backend=None), observability_config=ObservabilityConfig(show_hidden_metrics=False, otlp_traces_endpoint=None, collect_model_forward_time=False, collect_model_execute_time=False), seed=None, served_model_name=/work/Qwen/Qwen2.5-0.5B-Instruct, num_scheduler_steps=1, multi_step_stream_outputs=True, enable_prefix_caching=True, chunked_prefill_enabled=True, use_async_output_proc=False, disable_mm_preprocessor_cache=False, mm_processor_kwargs=None, pooler_config=None, compilation_config={"splitting_ops":[],"compile_sizes":[],"cudagraph_capture_sizes":[],"max_capture_size":0}
WARNING 05-14 02:41:35 [utils.py:2522] Methods determine_num_available_blocks,device_config,get_cache_block_size_bytes,initialize_cache not implemented in <vllm.v1.worker.gpu_worker.Worker object at 0x7f79a4660d60>
[rank0]:[W514 02:41:36.836683514 ProcessGroupGloo.cpp:727] Warning: Unable to resolve hostname to a (local) address. Using the loopback address as fallback. Manually set the network interface to bind to with GLOO_SOCKET_IFNAME. (function operator())
INFO 05-14 02:41:36 [parallel_state.py:1004] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, TP rank 0
INFO 05-14 02:41:36 [factory.py:64] Creating v1 connector with name: LMCacheConnectorV1
WARNING 05-14 02:41:36 [base.py:58] Initializing KVConnectorBase_V1. This API is experimental and subject to change in the future as we iterate the design.
[2025-05-14 02:41:36,425] LMCache INFO: Loading LMCache config file /work/vllm-0.8.5/examples/lmcache/disagg_prefill_lmcache_v1/configs/lmcache-prefiller-config.yaml (utils.py:32:lmcache.integration.vllm.utils)
[2025-05-14 02:41:36,428] LMCache INFO: Creating LMCacheEngine instance vllm-instance (cache_engine.py:444:lmcache.experimental.cache_engine)
[2025-05-14 02:41:36,428] LMCache INFO: Creating LMCacheEngine with config: LMCacheEngineConfig(chunk_size=256, local_cpu=False, max_local_cpu_size=0, local_disk=None, max_local_disk_size=0, remote_url=None, remote_serde=None, save_decode_cache=False, enable_blending=False, blend_recompute_ratio=0.15, blend_min_tokens=256, blend_special_str=' # # ', enable_p2p=False, lookup_url=None, distributed_url=None, error_handling=False, enable_controller=False, lmcache_instance_id='lmcache_default_instance', controller_url=None, lmcache_worker_url=None, enable_nixl=True, nixl_role='sender', nixl_peer_host='localhost', nixl_peer_port=55555, nixl_buffer_size=1073741824, nixl_buffer_device='cuda', nixl_enable_gc=True) (cache_engine.py:73:lmcache.experimental.cache_engine)
[1747215696.528332] [b3ab5fdd703b:1615 :0] ucp_context.c:1268 UCX WARN transports 'cuda_ipc','cuda_copy' are not available, please use one or more of: mm, posix, self, shm, sm, sysv, tcp
Backend UCX was instantiated
Initialized NIXL agent: NixlRole.SENDER
ERROR 05-14 02:41:36 [core.py:396] EngineCore failed to start.
ERROR 05-14 02:41:36 [core.py:396] Traceback (most recent call last):
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 387, in run_engine_core
ERROR 05-14 02:41:36 [core.py:396] engine_core = EngineCoreProc(*args, **kwargs)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 329, in __init__
ERROR 05-14 02:41:36 [core.py:396] super().__init__(vllm_config, executor_class, log_stats,
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 64, in __init__
ERROR 05-14 02:41:36 [core.py:396] self.model_executor = executor_class(vllm_config)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 52, in __init__
ERROR 05-14 02:41:36 [core.py:396] self._init_executor()
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/uniproc_executor.py", line 46, in _init_executor
ERROR 05-14 02:41:36 [core.py:396] self.collective_rpc("init_device")
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/uniproc_executor.py", line 56, in collective_rpc
ERROR 05-14 02:41:36 [core.py:396] answer = run_method(self.driver_worker, method, args, kwargs)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/utils.py", line 2456, in run_method
ERROR 05-14 02:41:36 [core.py:396] return func(*args, **kwargs)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker_base.py", line 604, in init_device
ERROR 05-14 02:41:36 [core.py:396] self.worker.init_device() # type: ignore
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/v1/worker/gpu_worker.py", line 135, in init_device
ERROR 05-14 02:41:36 [core.py:396] init_worker_distributed_environment(self.vllm_config, self.rank,
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/v1/worker/gpu_worker.py", line 329, in init_worker_distributed_environment
ERROR 05-14 02:41:36 [core.py:396] ensure_kv_transfer_initialized(vllm_config)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/kv_transfer/kv_transfer_state.py", line 63, in ensure_kv_transfer_initialized
ERROR 05-14 02:41:36 [core.py:396] _KV_CONNECTOR_AGENT = KVConnectorFactory.create_connector_v1(
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/kv_transfer/kv_connector/factory.py", line 73, in create_connector_v1
ERROR 05-14 02:41:36 [core.py:396] return connector_cls(config, role)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/kv_transfer/kv_connector/v1/lmcache_connector.py", line 25, in __init__
ERROR 05-14 02:41:36 [core.py:396] self._lmcache_engine = LMCacheConnectorV1Impl(vllm_config, role, self)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/integration/vllm/vllm_v1_adapter.py", line 314, in __init__
ERROR 05-14 02:41:36 [core.py:396] self.lmcache_engine = init_lmcache_engine(
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/integration/vllm/vllm_adapter.py", line 111, in init_lmcache_engine
ERROR 05-14 02:41:36 [core.py:396] engine = LMCacheEngineBuilder.get_or_create(ENGINE_NAME, config, metadata,
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/cache_engine.py", line 449, in get_or_create
ERROR 05-14 02:41:36 [core.py:396] engine = LMCacheEngine(config, metadata, memory_allocator,
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/cache_engine.py", line 98, in __init__
ERROR 05-14 02:41:36 [core.py:396] self.storage_manager = DistributedStorageManager(
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/storage_manager.py", line 535, in __init__
ERROR 05-14 02:41:36 [core.py:396] self.storage_backend = NixlBackend.CreateNixlBackend(config, metadata)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/nixl_backend.py", line 412, in CreateNixlBackend
ERROR 05-14 02:41:36 [core.py:396] backend = NixlBackend(nixl_config)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/nixl_backend.py", line 249, in __init__
ERROR 05-14 02:41:36 [core.py:396] self._nixl_channel = NixlChannel(nixl_config)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/connector/nixl_connector_v2.py", line 454, in __init__
ERROR 05-14 02:41:36 [core.py:396] self._pipe = NixlPipe(nixl_config, self._side_channel)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/connector/nixl_connector_v2.py", line 190, in __init__
ERROR 05-14 02:41:36 [core.py:396] self._reg_descs = self._agent.register_memory(self._transfer_buffers)
ERROR 05-14 02:41:36 [core.py:396] File "/usr/local/lib/python3.10/dist-packages/nixl/_api.py", line 265, in register_memory
ERROR 05-14 02:41:36 [core.py:396] self.agent.registerMem(reg_descs, handle_list)
ERROR 05-14 02:41:36 [core.py:396] nixl._bindings.nixlBackendError: NIXL_ERR_BACKEND
Process EngineCore_0:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 400, in run_engine_core
raise e
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 387, in run_engine_core
engine_core = EngineCoreProc(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 329, in __init__
super().__init__(vllm_config, executor_class, log_stats,
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 64, in __init__
self.model_executor = executor_class(vllm_config)
File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 52, in __init__
self._init_executor()
File "/usr/local/lib/python3.10/dist-packages/vllm/executor/uniproc_executor.py", line 46, in _init_executor
self.collective_rpc("init_device")
File "/usr/local/lib/python3.10/dist-packages/vllm/executor/uniproc_executor.py", line 56, in collective_rpc
answer = run_method(self.driver_worker, method, args, kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/utils.py", line 2456, in run_method
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker_base.py", line 604, in init_device
self.worker.init_device() # type: ignore
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/worker/gpu_worker.py", line 135, in init_device
init_worker_distributed_environment(self.vllm_config, self.rank,
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/worker/gpu_worker.py", line 329, in init_worker_distributed_environment
ensure_kv_transfer_initialized(vllm_config)
File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/kv_transfer/kv_transfer_state.py", line 63, in ensure_kv_transfer_initialized
_KV_CONNECTOR_AGENT = KVConnectorFactory.create_connector_v1(
File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/kv_transfer/kv_connector/factory.py", line 73, in create_connector_v1
return connector_cls(config, role)
File "/usr/local/lib/python3.10/dist-packages/vllm/distributed/kv_transfer/kv_connector/v1/lmcache_connector.py", line 25, in __init__
self._lmcache_engine = LMCacheConnectorV1Impl(vllm_config, role, self)
File "/usr/local/lib/python3.10/dist-packages/lmcache/integration/vllm/vllm_v1_adapter.py", line 314, in __init__
self.lmcache_engine = init_lmcache_engine(
File "/usr/local/lib/python3.10/dist-packages/lmcache/integration/vllm/vllm_adapter.py", line 111, in init_lmcache_engine
engine = LMCacheEngineBuilder.get_or_create(ENGINE_NAME, config, metadata,
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/cache_engine.py", line 449, in get_or_create
engine = LMCacheEngine(config, metadata, memory_allocator,
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/cache_engine.py", line 98, in __init__
self.storage_manager = DistributedStorageManager(
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/storage_manager.py", line 535, in __init__
self.storage_backend = NixlBackend.CreateNixlBackend(config, metadata)
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/nixl_backend.py", line 412, in CreateNixlBackend
backend = NixlBackend(nixl_config)
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/nixl_backend.py", line 249, in __init__
self._nixl_channel = NixlChannel(nixl_config)
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/connector/nixl_connector_v2.py", line 454, in __init__
self._pipe = NixlPipe(nixl_config, self._side_channel)
File "/usr/local/lib/python3.10/dist-packages/lmcache/experimental/storage_backend/connector/nixl_connector_v2.py", line 190, in __init__
self._reg_descs = self._agent.register_memory(self._transfer_buffers)
File "/usr/local/lib/python3.10/dist-packages/nixl/_api.py", line 265, in register_memory
self.agent.registerMem(reg_descs, handle_list)
nixl._bindings.nixlBackendError: NIXL_ERR_BACKEND
^CException ignored in: <function Context.__del__ at 0x7f7a84a380d0>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/zmq/sugar/context.py", line 142, in __del__
self.destroy()
File "/usr/local/lib/python3.10/dist-packages/zmq/sugar/context.py", line 324, in destroy
self.term()
File "/usr/local/lib/python3.10/dist-packages/zmq/sugar/context.py", line 266, in term
super().term()
File "_zmq.py", line 564, in zmq.backend.cython._zmq.Context.term
File "_zmq.py", line 160, in zmq.backend.cython._zmq._check_rc
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core.py", line 371, in signal_handler
raise SystemExit()
SystemExit:
[rank0]:[W514 02:57:14.981244545 ProcessGroupNCCL.cpp:1496] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
^CTraceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core_client.py", line 398, in __init__
self._wait_for_engine_startup()
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core_client.py", line 423, in _wait_for_engine_startup
events = poller.poll(STARTUP_POLL_PERIOD_MS)
File "/usr/local/lib/python3.10/dist-packages/zmq/sugar/poll.py", line 106, in poll
return zmq_poll(self.sockets, timeout=timeout)
File "_zmq.py", line 1555, in zmq.backend.cython._zmq.zmq_poll
File "_zmq.py", line 160, in zmq.backend.cython._zmq._check_rc
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/vllm", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/cli/main.py", line 53, in main
args.dispatch_function(args)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/cli/serve.py", line 27, in cmd
uvloop.run(run_server(args))
File "/usr/local/lib/python3.10/dist-packages/uvloop/__init__.py", line 82, in run
return loop.run_until_complete(wrapper())
File "uvloop/loop.pyx", line 1511, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1504, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1377, in uvloop.loop.Loop.run_forever
File "uvloop/loop.pyx", line 555, in uvloop.loop.Loop._run
File "uvloop/loop.pyx", line 474, in uvloop.loop.Loop._on_idle
File "uvloop/cbhandles.pyx", line 83, in uvloop.loop.Handle._run
File "uvloop/cbhandles.pyx", line 61, in uvloop.loop.Handle._run
File "/usr/local/lib/python3.10/dist-packages/uvloop/__init__.py", line 61, in wrapper
return await main
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 1078, in run_server
async with build_async_engine_client(args) as engine_client:
File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 146, in build_async_engine_client
async with build_async_engine_client_from_engine_args(
File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 178, in build_async_engine_client_from_engine_args
async_llm = AsyncLLM.from_vllm_config(
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/async_llm.py", line 150, in from_vllm_config
return cls(
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/async_llm.py", line 118, in __init__
self.engine_core = core_client_class(
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core_client.py", line 642, in __init__
super().__init__(
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core_client.py", line 410, in __init__
self._finalizer()
File "/usr/lib/python3.10/weakref.py", line 591, in __call__
return info.func(*info.args, **(info.kwargs or {}))
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core_client.py", line 319, in __call__
core_engine.close()
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/engine/core_client.py", line 295, in close
proc_handle.shutdown()
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/utils.py", line 128, in shutdown
self._finalizer()
File "/usr/lib/python3.10/weakref.py", line 591, in __call__
return info.func(*info.args, **(info.kwargs or {}))
File "/usr/local/lib/python3.10/dist-packages/vllm/v1/utils.py", line 137, in shutdown
proc.join(5)
File "/usr/lib/python3.10/multiprocessing/process.py", line 149, in join
res = self._popen.wait(timeout)
File "/usr/lib/python3.10/multiprocessing/popen_fork.py", line 40, in wait
if not wait([self.sentinel], timeout):
File "/usr/lib/python3.10/multiprocessing/connection.py", line 931, in wait
ready = selector.select(timeout)
File "/usr/lib/python3.10/selectors.py", line 416, in select
fd_event_list = self._selector.poll(timeout)
I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.
Your current environment
My test environment is as follow:
My testing method:
Errors encountered during operation:
pip list
How would you like to use vllm
I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.
Before submitting a new issue...