vllm - 💡(How to fix) Fix [Bug]: Can't instantiate a local model if importing torch_geometric [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#39540Fetched 2026-04-11 06:12:52
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
commented ×1labeled ×1

Error Message

DEBUG 04-10 18:40:08 [plugins/init.py:36] No plugins for group vllm.platform_plugins found. DEBUG 04-10 18:40:08 [platforms/init.py:37] Checking if TPU platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:56] TPU platform is not available because: No module named 'libtpu' DEBUG 04-10 18:40:08 [platforms/init.py:62] Checking if CUDA platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:85] Confirmed CUDA platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:113] Checking if ROCm platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:127] ROCm platform is not available because: No module named 'amdsmi' DEBUG 04-10 18:40:08 [platforms/init.py:134] Checking if XPU platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:165] Checking if CPU platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:62] Checking if CUDA platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:85] Confirmed CUDA platform is available. DEBUG 04-10 18:40:08 [platforms/init.py:247] Automatically detected platform cuda. DEBUG 04-10 18:40:13 [plugins/init.py:44] Available plugins for group vllm.general_plugins: DEBUG 04-10 18:40:13 [plugins/init.py:46] - lora_filesystem_resolver -> vllm.plugins.lora_resolvers.filesystem_resolver:register_filesystem_resolver DEBUG 04-10 18:40:13 [plugins/init.py:46] - lora_hf_hub_resolver -> vllm.plugins.lora_resolvers.hf_hub_resolver:register_hf_hub_resolver DEBUG 04-10 18:40:13 [plugins/init.py:49] All plugins in this group will be loaded. Set VLLM_PLUGINS to control which plugins to load. INFO 04-10 18:40:13 [entrypoints/utils.py:233] non-default args: {'trust_remote_code': True, 'max_model_len': 2048, 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.1-8B-Instruct'} DEBUG 04-10 18:40:14 [model_executor/models/registry.py:827] Loaded model info for class vllm.model_executor.models.llama.LlamaForCausalLM from cache DEBUG 04-10 18:40:14 [logging_utils/log_time.py:29] Registry inspect model class: Elapsed time 0.0037591 secs INFO 04-10 18:40:14 [config/model.py:549] Resolved architecture: LlamaForCausalLM INFO 04-10 18:40:14 [config/model.py:1678] Using max model len 2048 DEBUG 04-10 18:40:14 [config/model.py:1743] Generative models support chunked prefill. DEBUG 04-10 18:40:14 [config/model.py:1801] Generative models support prefix caching. DEBUG 04-10 18:40:14 [engine/arg_utils.py:2116] Enabling chunked prefill by default DEBUG 04-10 18:40:14 [engine/arg_utils.py:2146] Enabling prefix caching by default DEBUG 04-10 18:40:14 [engine/arg_utils.py:2232] Defaulting max_num_batched_tokens to 8192 for LLM_CLASS usage context. DEBUG 04-10 18:40:14 [engine/arg_utils.py:2242] Defaulting max_num_seqs to 256 for LLM_CLASS usage context. INFO 04-10 18:40:14 [config/scheduler.py:238] Chunked prefill is enabled with max_num_batched_tokens=8192. INFO 04-10 18:40:14 [config/vllm.py:790] Asynchronous scheduling is enabled. DEBUG 04-10 18:40:15 [v1/engine/llm_engine.py:173] Enabling multiprocessing for LLMEngine. DEBUG 04-10 18:40:15 [tokenizers/registry.py:68] Loading CachedHfTokenizer for tokenizer_mode='hf' DEBUG 04-10 18:40:16 [renderers/registry.py:57] Loading HfRenderer for renderer_mode='hf' DEBUG 04-10 18:40:16 [plugins/io_processors/init.py:36] No IOProcessor plugins requested by the model (EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1018] Waiting for init message from front-end. DEBUG 04-10 18:40:16 [v1/engine/utils.py:1158] HELLO from local core engine process 0. (EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1029] Received init message: EngineHandshakeMetadata(addresses=EngineZmqAddresses(inputs=['ipc:///tmp/d00a898a-7cf3-446c-bdbf-00edb1aa8cae'], outputs=['ipc:///tmp/e5ab9f08-2760-479d-bc49-3f28e1cb3071'], coordinator_input=None, coordinator_output=None, frontend_stats_publish_address=None), parallel_config={}) (EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:826] Has DP Coordinator: False, stats publish address: None (EngineCore pid=2636223) INFO 04-10 18:40:16 [v1/engine/core.py:105] Initializing a V1 LLM engine (v0.19.0) with config: model='meta-llama/Llama-3.1-8B-Instruct', speculative_config=None, tokenizer='meta-llama/Llama-3.1-8B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=meta-llama/Llama-3.1-8B-Instruct, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_images_per_batch': 0, 'compile_sizes': [], 'compile_ranges_endpoints': [8192], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': True, 'alignment_asserts': True, 'scalar_asserts': True, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []} (EngineCore pid=2636223) WARNING 04-10 18:40:16 [logger.py:305] VLLM_TRACE_FUNCTION is enabled. It will record every function executed by Python. This will slow down the code. It is suggested to be used for debugging hang or crashes only. (EngineCore pid=2636223) INFO 04-10 18:40:16 [logger.py:310] Trace frame log is saved to /tmp/jlllsarcinelli/vllm/vllm-instance-1775857214399617276/VLLM_TRACE_FUNCTION_for_process_2636223_thread_133147902263424_at_2026-04-10_18:40:16.558168.log (EngineCore pid=2636223) DEBUG 04-10 18:40:16 [utils/import_utils.py:74] Loading module triton_kernels from /exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/third_party/triton_kernels/init.py. (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] EngineCore failed to start. (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Traceback (most recent call last): (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] return func(*args, **kwargs) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in init (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] super().init( (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in init (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] self.model_executor = executor_class(vllm_config) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] return func(*args, **kwargs) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in init (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] self._init_executor() (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] self.driver_worker.init_device() (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] self.worker.init_device() # type: ignore (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] ^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] return func(*args, **kwargs) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch.accelerator.set_device_index(self.device) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/init.py", line 190, in set_device_index (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch._C._accelerator_setDeviceIndex(device_index) (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/init.py", line 424, in _lazy_init (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch._C._cuda_init() (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch.AcceleratorError: CUDA error: initialization error (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Search for cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information. (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] For debugging consider passing CUDA_LAUNCH_BLOCKING=1 (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Compile with TORCH_USE_CUDA_DSAto enable device-side assertions. (EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] (EngineCore pid=2636223) Process EngineCore: (EngineCore pid=2636223) Traceback (most recent call last): (EngineCore pid=2636223) File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap (EngineCore pid=2636223) self.run() (EngineCore pid=2636223) File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run (EngineCore pid=2636223) self._target(*self._args, **self._kwargs) (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1112, in run_engine_core (EngineCore pid=2636223) raise e (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core (EngineCore pid=2636223) engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=2636223) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=2636223) return func(*args, **kwargs) (EngineCore pid=2636223) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__ (EngineCore pid=2636223) super().__init__( (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__ (EngineCore pid=2636223) self.model_executor = executor_class(vllm_config) (EngineCore pid=2636223) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=2636223) return func(*args, **kwargs) (EngineCore pid=2636223) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__ (EngineCore pid=2636223) self._init_executor() (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor (EngineCore pid=2636223) self.driver_worker.init_device() (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device (EngineCore pid=2636223) self.worker.init_device() # type: ignore (EngineCore pid=2636223) ^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=2636223) return func(*args, **kwargs) (EngineCore pid=2636223) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device (EngineCore pid=2636223) torch.accelerator.set_device_index(self.device) (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index (EngineCore pid=2636223) torch._C._accelerator_setDeviceIndex(device_index) (EngineCore pid=2636223) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init (EngineCore pid=2636223) torch._C._cuda_init() (EngineCore pid=2636223) torch.AcceleratorError: CUDA error: initialization error (EngineCore pid=2636223) Search forcudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information. (EngineCore pid=2636223) CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. (EngineCore pid=2636223) For debugging consider passing CUDA_LAUNCH_BLOCKING=1 (EngineCore pid=2636223) Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. (EngineCore pid=2636223) Traceback (most recent call last): File "/exp/jlllsarcinelli/pseudo-task-agents-dev/notebooks/test.py", line 5, in <module> vllm.LLM( File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/entrypoints/llm.py", line 382, in init self.llm_engine = LLMEngine.from_engine_args( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 177, in from_engine_args return cls( ^^^^ File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 111, in init self.engine_core = EngineCoreClient.make_client( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 101, in make_client return SyncMPClient(vllm_config, executor_class, log_stats) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 710, in init super().init( File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in init with launch_core_engines( File "/usr/lib/python3.12/contextlib.py", line 144, in exit next(self.gen) File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 998, in launch_core_engines wait_for_engine_startup( File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1057, in wait_for_engine_startup raise RuntimeError( RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Root Cause

DEBUG 04-10 18:40:08 [plugins/__init__.py:36] No plugins for group vllm.platform_plugins found.
DEBUG 04-10 18:40:08 [platforms/__init__.py:37] Checking if TPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:56] TPU platform is not available because: No module named 'libtpu'
DEBUG 04-10 18:40:08 [platforms/__init__.py:62] Checking if CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:85] Confirmed CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:113] Checking if ROCm platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:127] ROCm platform is not available because: No module named 'amdsmi'
DEBUG 04-10 18:40:08 [platforms/__init__.py:134] Checking if XPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:165] Checking if CPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:62] Checking if CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:85] Confirmed CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:247] Automatically detected platform cuda.
DEBUG 04-10 18:40:13 [plugins/__init__.py:44] Available plugins for group vllm.general_plugins:
DEBUG 04-10 18:40:13 [plugins/__init__.py:46] - lora_filesystem_resolver -> vllm.plugins.lora_resolvers.filesystem_resolver:register_filesystem_resolver
DEBUG 04-10 18:40:13 [plugins/__init__.py:46] - lora_hf_hub_resolver -> vllm.plugins.lora_resolvers.hf_hub_resolver:register_hf_hub_resolver
DEBUG 04-10 18:40:13 [plugins/__init__.py:49] All plugins in this group will be loaded. Set `VLLM_PLUGINS` to control which plugins to load.
INFO 04-10 18:40:13 [entrypoints/utils.py:233] non-default args: {'trust_remote_code': True, 'max_model_len': 2048, 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.1-8B-Instruct'}
DEBUG 04-10 18:40:14 [model_executor/models/registry.py:827] Loaded model info for class vllm.model_executor.models.llama.LlamaForCausalLM from cache
DEBUG 04-10 18:40:14 [logging_utils/log_time.py:29] Registry inspect model class: Elapsed time 0.0037591 secs
INFO 04-10 18:40:14 [config/model.py:549] Resolved architecture: LlamaForCausalLM
INFO 04-10 18:40:14 [config/model.py:1678] Using max model len 2048
DEBUG 04-10 18:40:14 [config/model.py:1743] Generative models support chunked prefill.
DEBUG 04-10 18:40:14 [config/model.py:1801] Generative models support prefix caching.
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2116] Enabling chunked prefill by default
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2146] Enabling prefix caching by default
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2232] Defaulting max_num_batched_tokens to 8192 for LLM_CLASS usage context.
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2242] Defaulting max_num_seqs to 256 for LLM_CLASS usage context.
INFO 04-10 18:40:14 [config/scheduler.py:238] Chunked prefill is enabled with max_num_batched_tokens=8192.
INFO 04-10 18:40:14 [config/vllm.py:790] Asynchronous scheduling is enabled.
DEBUG 04-10 18:40:15 [v1/engine/llm_engine.py:173] Enabling multiprocessing for LLMEngine.
DEBUG 04-10 18:40:15 [tokenizers/registry.py:68] Loading CachedHfTokenizer for tokenizer_mode='hf'
DEBUG 04-10 18:40:16 [renderers/registry.py:57] Loading HfRenderer for renderer_mode='hf'
DEBUG 04-10 18:40:16 [plugins/io_processors/__init__.py:36] No IOProcessor plugins requested by the model
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1018] Waiting for init message from front-end.
DEBUG 04-10 18:40:16 [v1/engine/utils.py:1158] HELLO from local core engine process 0.
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1029] Received init message: EngineHandshakeMetadata(addresses=EngineZmqAddresses(inputs=['ipc:///tmp/d00a898a-7cf3-446c-bdbf-00edb1aa8cae'], outputs=['ipc:///tmp/e5ab9f08-2760-479d-bc49-3f28e1cb3071'], coordinator_input=None, coordinator_output=None, frontend_stats_publish_address=None), parallel_config={})
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:826] Has DP Coordinator: False, stats publish address: None
(EngineCore pid=2636223) INFO 04-10 18:40:16 [v1/engine/core.py:105] Initializing a V1 LLM engine (v0.19.0) with config: model='meta-llama/Llama-3.1-8B-Instruct', speculative_config=None, tokenizer='meta-llama/Llama-3.1-8B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=meta-llama/Llama-3.1-8B-Instruct, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_images_per_batch': 0, 'compile_sizes': [], 'compile_ranges_endpoints': [8192], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': True, 'alignment_asserts': True, 'scalar_asserts': True, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []}
(EngineCore pid=2636223) WARNING 04-10 18:40:16 [logger.py:305] VLLM_TRACE_FUNCTION is enabled. It will record every function executed by Python. This will slow down the code. It is suggested to be used for debugging hang or crashes only.
(EngineCore pid=2636223) INFO 04-10 18:40:16 [logger.py:310] Trace frame log is saved to /tmp/jlllsarcinelli/vllm/vllm-instance-1775857214399617276/VLLM_TRACE_FUNCTION_for_process_2636223_thread_133147902263424_at_2026-04-10_18:40:16.558168.log
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [utils/import_utils.py:74] Loading module triton_kernels from /exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/third_party/triton_kernels/__init__.py.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] EngineCore failed to start.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Traceback (most recent call last):
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     super().__init__(
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self._init_executor()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.driver_worker.init_device()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.worker.init_device()  # type: ignore
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch.accelerator.set_device_index(self.device)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch._C._accelerator_setDeviceIndex(device_index)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch._C._cuda_init()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch.AcceleratorError: CUDA error: initialization error
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Search for `cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] 
(EngineCore pid=2636223) Process EngineCore:
(EngineCore pid=2636223) Traceback (most recent call last):
(EngineCore pid=2636223)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=2636223)     self.run()
(EngineCore pid=2636223)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=2636223)     self._target(*self._args, **self._kwargs)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1112, in run_engine_core
(EngineCore pid=2636223)     raise e
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=2636223)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=2636223)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=2636223)     super().__init__(
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__
(EngineCore pid=2636223)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=2636223)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__
(EngineCore pid=2636223)     self._init_executor()
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor
(EngineCore pid=2636223)     self.driver_worker.init_device()
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device
(EngineCore pid=2636223)     self.worker.init_device()  # type: ignore
(EngineCore pid=2636223)     ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device
(EngineCore pid=2636223)     torch.accelerator.set_device_index(self.device)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index
(EngineCore pid=2636223)     torch._C._accelerator_setDeviceIndex(device_index)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init
(EngineCore pid=2636223)     torch._C._cuda_init()
(EngineCore pid=2636223) torch.AcceleratorError: CUDA error: initialization error
(EngineCore pid=2636223) Search for `cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore pid=2636223) CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore pid=2636223) For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore pid=2636223) Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore pid=2636223) 
Traceback (most recent call last):
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/notebooks/test.py", line 5, in <module>
    vllm.LLM(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/entrypoints/llm.py", line 382, in __init__
    self.llm_engine = LLMEngine.from_engine_args(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 177, in from_engine_args
    return cls(
           ^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 111, in __init__
    self.engine_core = EngineCoreClient.make_client(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 101, in make_client
    return SyncMPClient(vllm_config, executor_class, log_stats)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 710, in __init__
    super().__init__(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
    with launch_core_engines(
  File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 998, in launch_core_engines
    wait_for_engine_startup(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1057, in wait_for_engine_startup
    raise RuntimeError(
RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Fix Action

Fix / Workaround

============================== CPU Info

Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 20 On-line CPU(s) list: 0-19 Vendor ID: GenuineIntel Model name: 13th Gen Intel(R) Core(TM) i5-13600KF CPU family: 6 Model: 183 Thread(s) per core: 2 Core(s) per socket: 14 Socket(s): 1 Stepping: 1 CPU(s) scaling MHz: 90% CPU max MHz: 5300.0000 CPU min MHz: 800.0000 BogoMIPS: 6988.80 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 est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities Virtualization: VT-x L1d cache: 544 KiB (14 instances) L1i cache: 704 KiB (14 instances) L2 cache: 20 MiB (8 instances) L3 cache: 24 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-19 Vulnerability Gather data sampling: Not affected Vulnerability Ghostwrite: Not affected Vulnerability Indirect target selection: 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 Old microcode: Not affected Vulnerability Reg file data sampling: Mitigation; Clear Register File Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S Vulnerability Srbds: Not affected Vulnerability Tsa: Not affected Vulnerability Tsx async abort: Not affected Vulnerability Vmscape: Mitigation; IBPB before exit to userspace

Code Example

Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : Ubuntu 24.04.3 LTS (x86_64)
GCC version                  : (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.39

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu128
Is debug build               : False
CUDA used to build PyTorch   : 12.8
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.3 (main, Mar  3 2026, 12:15:18) [GCC 13.3.0] (64-bit runtime)
Python platform              : Linux-6.17.0-20-generic-x86_64-with-glibc2.39

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.0.140
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 4090
Nvidia driver version        : 580.126.09
cuDNN version                : Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.2
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           39 bits physical, 48 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  20
On-line CPU(s) list:                     0-19
Vendor ID:                               GenuineIntel
Model name:                              13th Gen Intel(R) Core(TM) i5-13600KF
CPU family:                              6
Model:                                   183
Thread(s) per core:                      2
Core(s) per socket:                      14
Socket(s):                               1
Stepping:                                1
CPU(s) scaling MHz:                      90%
CPU max MHz:                             5300.0000
CPU min MHz:                             800.0000
BogoMIPS:                                6988.80
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 est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
Virtualization:                          VT-x
L1d cache:                               544 KiB (14 instances)
L1i cache:                               704 KiB (14 instances)
L2 cache:                                20 MiB (8 instances)
L3 cache:                                24 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-19
Vulnerability Gather data sampling:      Not affected
Vulnerability Ghostwrite:                Not affected
Vulnerability Indirect target selection: 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 Old microcode:             Not affected
Vulnerability Reg file data sampling:    Mitigation; Clear Register File
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Mitigation; IBPB before exit to userspace

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pyzmq==27.1.0
[pip3] sentence-transformers==5.4.0
[pip3] torch==2.10.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torch-geometric==2.7.0
[pip3] torchaudio==2.10.0
[pip3] torchvision==0.25.0
[pip3] transformers==4.57.6
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.19.0
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	0-19	0		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

==============================
     Environment Variables
==============================
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_jlllsarcinelli

---

import vllm
import torch_geometric

vllm.LLM(
    model='meta-llama/Llama-3.1-8B-Instruct', 
    max_model_len=2048, # Have to limit this otherwise the model won't fit into my GPU
)

---

export VLLM_LOGGING_LEVEL=DEBUG
export VLLM_TRACE_FUNCTION=1

---

DEBUG 04-10 18:40:08 [plugins/__init__.py:36] No plugins for group vllm.platform_plugins found.
DEBUG 04-10 18:40:08 [platforms/__init__.py:37] Checking if TPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:56] TPU platform is not available because: No module named 'libtpu'
DEBUG 04-10 18:40:08 [platforms/__init__.py:62] Checking if CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:85] Confirmed CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:113] Checking if ROCm platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:127] ROCm platform is not available because: No module named 'amdsmi'
DEBUG 04-10 18:40:08 [platforms/__init__.py:134] Checking if XPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:165] Checking if CPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:62] Checking if CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:85] Confirmed CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:247] Automatically detected platform cuda.
DEBUG 04-10 18:40:13 [plugins/__init__.py:44] Available plugins for group vllm.general_plugins:
DEBUG 04-10 18:40:13 [plugins/__init__.py:46] - lora_filesystem_resolver -> vllm.plugins.lora_resolvers.filesystem_resolver:register_filesystem_resolver
DEBUG 04-10 18:40:13 [plugins/__init__.py:46] - lora_hf_hub_resolver -> vllm.plugins.lora_resolvers.hf_hub_resolver:register_hf_hub_resolver
DEBUG 04-10 18:40:13 [plugins/__init__.py:49] All plugins in this group will be loaded. Set `VLLM_PLUGINS` to control which plugins to load.
INFO 04-10 18:40:13 [entrypoints/utils.py:233] non-default args: {'trust_remote_code': True, 'max_model_len': 2048, 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.1-8B-Instruct'}
DEBUG 04-10 18:40:14 [model_executor/models/registry.py:827] Loaded model info for class vllm.model_executor.models.llama.LlamaForCausalLM from cache
DEBUG 04-10 18:40:14 [logging_utils/log_time.py:29] Registry inspect model class: Elapsed time 0.0037591 secs
INFO 04-10 18:40:14 [config/model.py:549] Resolved architecture: LlamaForCausalLM
INFO 04-10 18:40:14 [config/model.py:1678] Using max model len 2048
DEBUG 04-10 18:40:14 [config/model.py:1743] Generative models support chunked prefill.
DEBUG 04-10 18:40:14 [config/model.py:1801] Generative models support prefix caching.
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2116] Enabling chunked prefill by default
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2146] Enabling prefix caching by default
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2232] Defaulting max_num_batched_tokens to 8192 for LLM_CLASS usage context.
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2242] Defaulting max_num_seqs to 256 for LLM_CLASS usage context.
INFO 04-10 18:40:14 [config/scheduler.py:238] Chunked prefill is enabled with max_num_batched_tokens=8192.
INFO 04-10 18:40:14 [config/vllm.py:790] Asynchronous scheduling is enabled.
DEBUG 04-10 18:40:15 [v1/engine/llm_engine.py:173] Enabling multiprocessing for LLMEngine.
DEBUG 04-10 18:40:15 [tokenizers/registry.py:68] Loading CachedHfTokenizer for tokenizer_mode='hf'
DEBUG 04-10 18:40:16 [renderers/registry.py:57] Loading HfRenderer for renderer_mode='hf'
DEBUG 04-10 18:40:16 [plugins/io_processors/__init__.py:36] No IOProcessor plugins requested by the model
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1018] Waiting for init message from front-end.
DEBUG 04-10 18:40:16 [v1/engine/utils.py:1158] HELLO from local core engine process 0.
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1029] Received init message: EngineHandshakeMetadata(addresses=EngineZmqAddresses(inputs=['ipc:///tmp/d00a898a-7cf3-446c-bdbf-00edb1aa8cae'], outputs=['ipc:///tmp/e5ab9f08-2760-479d-bc49-3f28e1cb3071'], coordinator_input=None, coordinator_output=None, frontend_stats_publish_address=None), parallel_config={})
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:826] Has DP Coordinator: False, stats publish address: None
(EngineCore pid=2636223) INFO 04-10 18:40:16 [v1/engine/core.py:105] Initializing a V1 LLM engine (v0.19.0) with config: model='meta-llama/Llama-3.1-8B-Instruct', speculative_config=None, tokenizer='meta-llama/Llama-3.1-8B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=meta-llama/Llama-3.1-8B-Instruct, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_images_per_batch': 0, 'compile_sizes': [], 'compile_ranges_endpoints': [8192], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': True, 'alignment_asserts': True, 'scalar_asserts': True, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []}
(EngineCore pid=2636223) WARNING 04-10 18:40:16 [logger.py:305] VLLM_TRACE_FUNCTION is enabled. It will record every function executed by Python. This will slow down the code. It is suggested to be used for debugging hang or crashes only.
(EngineCore pid=2636223) INFO 04-10 18:40:16 [logger.py:310] Trace frame log is saved to /tmp/jlllsarcinelli/vllm/vllm-instance-1775857214399617276/VLLM_TRACE_FUNCTION_for_process_2636223_thread_133147902263424_at_2026-04-10_18:40:16.558168.log
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [utils/import_utils.py:74] Loading module triton_kernels from /exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/third_party/triton_kernels/__init__.py.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] EngineCore failed to start.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Traceback (most recent call last):
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     super().__init__(
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self._init_executor()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.driver_worker.init_device()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.worker.init_device()  # type: ignore
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch.accelerator.set_device_index(self.device)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch._C._accelerator_setDeviceIndex(device_index)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch._C._cuda_init()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch.AcceleratorError: CUDA error: initialization error
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Search for `cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] 
(EngineCore pid=2636223) Process EngineCore:
(EngineCore pid=2636223) Traceback (most recent call last):
(EngineCore pid=2636223)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=2636223)     self.run()
(EngineCore pid=2636223)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=2636223)     self._target(*self._args, **self._kwargs)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1112, in run_engine_core
(EngineCore pid=2636223)     raise e
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=2636223)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=2636223)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=2636223)     super().__init__(
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__
(EngineCore pid=2636223)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=2636223)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__
(EngineCore pid=2636223)     self._init_executor()
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor
(EngineCore pid=2636223)     self.driver_worker.init_device()
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device
(EngineCore pid=2636223)     self.worker.init_device()  # type: ignore
(EngineCore pid=2636223)     ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device
(EngineCore pid=2636223)     torch.accelerator.set_device_index(self.device)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index
(EngineCore pid=2636223)     torch._C._accelerator_setDeviceIndex(device_index)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init
(EngineCore pid=2636223)     torch._C._cuda_init()
(EngineCore pid=2636223) torch.AcceleratorError: CUDA error: initialization error
(EngineCore pid=2636223) Search for `cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore pid=2636223) CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore pid=2636223) For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore pid=2636223) Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore pid=2636223) 
Traceback (most recent call last):
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/notebooks/test.py", line 5, in <module>
    vllm.LLM(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/entrypoints/llm.py", line 382, in __init__
    self.llm_engine = LLMEngine.from_engine_args(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 177, in from_engine_args
    return cls(
           ^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 111, in __init__
    self.engine_core = EngineCoreClient.make_client(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 101, in make_client
    return SyncMPClient(vllm_config, executor_class, log_stats)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 710, in __init__
    super().__init__(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
    with launch_core_engines(
  File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 998, in launch_core_engines
    wait_for_engine_startup(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1057, in wait_for_engine_startup
    raise RuntimeError(
RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}
RAW_BUFFERClick to expand / collapse

Your current environment

<details> <summary>The output of <code>python collect_env.py</code></summary>
Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : Ubuntu 24.04.3 LTS (x86_64)
GCC version                  : (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.39

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu128
Is debug build               : False
CUDA used to build PyTorch   : 12.8
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.3 (main, Mar  3 2026, 12:15:18) [GCC 13.3.0] (64-bit runtime)
Python platform              : Linux-6.17.0-20-generic-x86_64-with-glibc2.39

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.0.140
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 4090
Nvidia driver version        : 580.126.09
cuDNN version                : Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.2
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            x86_64
CPU op-mode(s):                          32-bit, 64-bit
Address sizes:                           39 bits physical, 48 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  20
On-line CPU(s) list:                     0-19
Vendor ID:                               GenuineIntel
Model name:                              13th Gen Intel(R) Core(TM) i5-13600KF
CPU family:                              6
Model:                                   183
Thread(s) per core:                      2
Core(s) per socket:                      14
Socket(s):                               1
Stepping:                                1
CPU(s) scaling MHz:                      90%
CPU max MHz:                             5300.0000
CPU min MHz:                             800.0000
BogoMIPS:                                6988.80
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 est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
Virtualization:                          VT-x
L1d cache:                               544 KiB (14 instances)
L1i cache:                               704 KiB (14 instances)
L2 cache:                                20 MiB (8 instances)
L3 cache:                                24 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-19
Vulnerability Gather data sampling:      Not affected
Vulnerability Ghostwrite:                Not affected
Vulnerability Indirect target selection: 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 Old microcode:             Not affected
Vulnerability Reg file data sampling:    Mitigation; Clear Register File
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Mitigation; IBPB before exit to userspace

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.6
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.8.4.1
[pip3] nvidia-cuda-cupti-cu12==12.8.90
[pip3] nvidia-cuda-nvrtc-cu12==12.8.93
[pip3] nvidia-cuda-runtime-cu12==12.8.90
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft-cu12==11.3.3.83
[pip3] nvidia-cufile-cu12==1.13.1.3
[pip3] nvidia-curand-cu12==10.3.9.90
[pip3] nvidia-cusolver-cu12==11.7.3.90
[pip3] nvidia-cusparse-cu12==12.5.8.93
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nvjitlink-cu12==12.8.93
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvtx-cu12==12.8.90
[pip3] pyzmq==27.1.0
[pip3] sentence-transformers==5.4.0
[pip3] torch==2.10.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torch-geometric==2.7.0
[pip3] torchaudio==2.10.0
[pip3] torchvision==0.25.0
[pip3] transformers==4.57.6
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.19.0
vLLM Build Flags:
  CUDA Archs: Not Set; ROCm: Disabled
GPU Topology:
  	GPU0	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	0-19	0		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

==============================
     Environment Variables
==============================
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_jlllsarcinelli
</details>

🐛 Describe the bug

Importing pytorch_geometric causes the engine to fail loading a local model:

import vllm
import torch_geometric

vllm.LLM(
    model='meta-llama/Llama-3.1-8B-Instruct', 
    max_model_len=2048, # Have to limit this otherwise the model won't fit into my GPU
)

I did try changing the order of the imports, but got the same results.

I also did set the following variables:

export VLLM_LOGGING_LEVEL=DEBUG
export VLLM_TRACE_FUNCTION=1

Here's the output:

DEBUG 04-10 18:40:08 [plugins/__init__.py:36] No plugins for group vllm.platform_plugins found.
DEBUG 04-10 18:40:08 [platforms/__init__.py:37] Checking if TPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:56] TPU platform is not available because: No module named 'libtpu'
DEBUG 04-10 18:40:08 [platforms/__init__.py:62] Checking if CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:85] Confirmed CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:113] Checking if ROCm platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:127] ROCm platform is not available because: No module named 'amdsmi'
DEBUG 04-10 18:40:08 [platforms/__init__.py:134] Checking if XPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:165] Checking if CPU platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:62] Checking if CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:85] Confirmed CUDA platform is available.
DEBUG 04-10 18:40:08 [platforms/__init__.py:247] Automatically detected platform cuda.
DEBUG 04-10 18:40:13 [plugins/__init__.py:44] Available plugins for group vllm.general_plugins:
DEBUG 04-10 18:40:13 [plugins/__init__.py:46] - lora_filesystem_resolver -> vllm.plugins.lora_resolvers.filesystem_resolver:register_filesystem_resolver
DEBUG 04-10 18:40:13 [plugins/__init__.py:46] - lora_hf_hub_resolver -> vllm.plugins.lora_resolvers.hf_hub_resolver:register_hf_hub_resolver
DEBUG 04-10 18:40:13 [plugins/__init__.py:49] All plugins in this group will be loaded. Set `VLLM_PLUGINS` to control which plugins to load.
INFO 04-10 18:40:13 [entrypoints/utils.py:233] non-default args: {'trust_remote_code': True, 'max_model_len': 2048, 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.1-8B-Instruct'}
DEBUG 04-10 18:40:14 [model_executor/models/registry.py:827] Loaded model info for class vllm.model_executor.models.llama.LlamaForCausalLM from cache
DEBUG 04-10 18:40:14 [logging_utils/log_time.py:29] Registry inspect model class: Elapsed time 0.0037591 secs
INFO 04-10 18:40:14 [config/model.py:549] Resolved architecture: LlamaForCausalLM
INFO 04-10 18:40:14 [config/model.py:1678] Using max model len 2048
DEBUG 04-10 18:40:14 [config/model.py:1743] Generative models support chunked prefill.
DEBUG 04-10 18:40:14 [config/model.py:1801] Generative models support prefix caching.
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2116] Enabling chunked prefill by default
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2146] Enabling prefix caching by default
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2232] Defaulting max_num_batched_tokens to 8192 for LLM_CLASS usage context.
DEBUG 04-10 18:40:14 [engine/arg_utils.py:2242] Defaulting max_num_seqs to 256 for LLM_CLASS usage context.
INFO 04-10 18:40:14 [config/scheduler.py:238] Chunked prefill is enabled with max_num_batched_tokens=8192.
INFO 04-10 18:40:14 [config/vllm.py:790] Asynchronous scheduling is enabled.
DEBUG 04-10 18:40:15 [v1/engine/llm_engine.py:173] Enabling multiprocessing for LLMEngine.
DEBUG 04-10 18:40:15 [tokenizers/registry.py:68] Loading CachedHfTokenizer for tokenizer_mode='hf'
DEBUG 04-10 18:40:16 [renderers/registry.py:57] Loading HfRenderer for renderer_mode='hf'
DEBUG 04-10 18:40:16 [plugins/io_processors/__init__.py:36] No IOProcessor plugins requested by the model
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1018] Waiting for init message from front-end.
DEBUG 04-10 18:40:16 [v1/engine/utils.py:1158] HELLO from local core engine process 0.
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:1029] Received init message: EngineHandshakeMetadata(addresses=EngineZmqAddresses(inputs=['ipc:///tmp/d00a898a-7cf3-446c-bdbf-00edb1aa8cae'], outputs=['ipc:///tmp/e5ab9f08-2760-479d-bc49-3f28e1cb3071'], coordinator_input=None, coordinator_output=None, frontend_stats_publish_address=None), parallel_config={})
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [v1/engine/core.py:826] Has DP Coordinator: False, stats publish address: None
(EngineCore pid=2636223) INFO 04-10 18:40:16 [v1/engine/core.py:105] Initializing a V1 LLM engine (v0.19.0) with config: model='meta-llama/Llama-3.1-8B-Instruct', speculative_config=None, tokenizer='meta-llama/Llama-3.1-8B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=2048, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, decode_context_parallel_size=1, dcp_comm_backend=ag_rs, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, enable_return_routed_experts=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01, cudagraph_metrics=False, enable_layerwise_nvtx_tracing=False, enable_mfu_metrics=False, enable_mm_processor_stats=False, enable_logging_iteration_details=False), seed=0, served_model_name=meta-llama/Llama-3.1-8B-Instruct, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::unified_kv_cache_update', 'vllm::unified_mla_kv_cache_update'], 'compile_mm_encoder': False, 'cudagraph_mm_encoder': False, 'encoder_cudagraph_token_budgets': [], 'encoder_cudagraph_max_images_per_batch': 0, 'compile_sizes': [], 'compile_ranges_endpoints': [8192], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': True, 'alignment_asserts': True, 'scalar_asserts': True, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>, 'evaluate_guards': False, 'assume_32_bit_indexing': False}, 'local_cache_dir': None, 'fast_moe_cold_start': True, 'static_all_moe_layers': []}
(EngineCore pid=2636223) WARNING 04-10 18:40:16 [logger.py:305] VLLM_TRACE_FUNCTION is enabled. It will record every function executed by Python. This will slow down the code. It is suggested to be used for debugging hang or crashes only.
(EngineCore pid=2636223) INFO 04-10 18:40:16 [logger.py:310] Trace frame log is saved to /tmp/jlllsarcinelli/vllm/vllm-instance-1775857214399617276/VLLM_TRACE_FUNCTION_for_process_2636223_thread_133147902263424_at_2026-04-10_18:40:16.558168.log
(EngineCore pid=2636223) DEBUG 04-10 18:40:16 [utils/import_utils.py:74] Loading module triton_kernels from /exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/third_party/triton_kernels/__init__.py.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] EngineCore failed to start.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Traceback (most recent call last):
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     super().__init__(
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self._init_executor()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.driver_worker.init_device()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     self.worker.init_device()  # type: ignore
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     return func(*args, **kwargs)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch.accelerator.set_device_index(self.device)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch._C._accelerator_setDeviceIndex(device_index)
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108]     torch._C._cuda_init()
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] torch.AcceleratorError: CUDA error: initialization error
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Search for `cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore pid=2636223) ERROR 04-10 18:40:17 [v1/engine/core.py:1108] 
(EngineCore pid=2636223) Process EngineCore:
(EngineCore pid=2636223) Traceback (most recent call last):
(EngineCore pid=2636223)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=2636223)     self.run()
(EngineCore pid=2636223)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=2636223)     self._target(*self._args, **self._kwargs)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1112, in run_engine_core
(EngineCore pid=2636223)     raise e
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1082, in run_engine_core
(EngineCore pid=2636223)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=2636223)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 848, in __init__
(EngineCore pid=2636223)     super().__init__(
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 114, in __init__
(EngineCore pid=2636223)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=2636223)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 103, in __init__
(EngineCore pid=2636223)     self._init_executor()
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 47, in _init_executor
(EngineCore pid=2636223)     self.driver_worker.init_device()
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/worker_base.py", line 312, in init_device
(EngineCore pid=2636223)     self.worker.init_device()  # type: ignore
(EngineCore pid=2636223)     ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=2636223)     return func(*args, **kwargs)
(EngineCore pid=2636223)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 255, in init_device
(EngineCore pid=2636223)     torch.accelerator.set_device_index(self.device)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/accelerator/__init__.py", line 190, in set_device_index
(EngineCore pid=2636223)     torch._C._accelerator_setDeviceIndex(device_index)
(EngineCore pid=2636223)   File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 424, in _lazy_init
(EngineCore pid=2636223)     torch._C._cuda_init()
(EngineCore pid=2636223) torch.AcceleratorError: CUDA error: initialization error
(EngineCore pid=2636223) Search for `cudaErrorInitializationError' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore pid=2636223) CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore pid=2636223) For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore pid=2636223) Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore pid=2636223) 
Traceback (most recent call last):
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/notebooks/test.py", line 5, in <module>
    vllm.LLM(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/entrypoints/llm.py", line 382, in __init__
    self.llm_engine = LLMEngine.from_engine_args(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 177, in from_engine_args
    return cls(
           ^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/llm_engine.py", line 111, in __init__
    self.engine_core = EngineCoreClient.make_client(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 101, in make_client
    return SyncMPClient(vllm_config, executor_class, log_stats)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 710, in __init__
    super().__init__(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
    with launch_core_engines(
  File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 998, in launch_core_engines
    wait_for_engine_startup(
  File "/exp/jlllsarcinelli/pseudo-task-agents-dev/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1057, in wait_for_engine_startup
    raise RuntimeError(
RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

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.

extent analysis

TL;DR

The issue is likely caused by a conflict between PyTorch Geometric and the vLLM library, resulting in a CUDA initialization error when trying to load a local model.

Guidance

  1. Check CUDA version compatibility: Ensure that the CUDA version used to build PyTorch (12.8) is compatible with the CUDA runtime version (12.0.140) and the NVIDIA driver version (580.126.09).
  2. Verify PyTorch Geometric installation: Confirm that PyTorch Geometric is installed correctly and its dependencies are met, as it may be causing a conflict with the vLLM library.
  3. Try importing PyTorch before PyTorch Geometric: Import PyTorch before importing PyTorch Geometric to see if it resolves the issue, as the order of imports might be causing the conflict.
  4. Check for CUDA initialization errors: Look for any CUDA initialization errors in the stacktrace, such as cudaErrorInitializationError, and try to resolve them by updating the CUDA driver or runtime.

Example

No code example is provided as the issue seems to be related to library conflicts and CUDA initialization errors.

Notes

The provided stacktrace suggests a CUDA initialization error, which might be caused by a conflict between PyTorch Geometric and the vLLM library. Resolving this issue may require updating the CUDA driver, runtime, or PyTorch version.

Recommendation

Apply workaround: Try importing PyTorch before PyTorch Geometric and verify that the CUDA versions are compatible to resolve the conflict. If the issue persists, consider updating the CUDA driver or runtime to ensure compatibility with the PyTorch version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Bug]: Can't instantiate a local model if importing torch_geometric [1 comments, 1 participants]