vllm - ✅(Solved) Fix [Bug]: AttributeError when loading Mamba2ForCausalLM with BitsAndBytes quantization [1 pull requests, 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#41874Fetched 2026-05-07 03:32:13
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
cross-referenced ×1labeled ×1

Error Message

(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] (APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] █ █ █▄ ▄█ (APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] ▄▄ ▄█ █ █ █ ▀▄▀ █ version 0.20.1 (APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] █▄█▀ █ █ █ █ model mistralai/Mamba-Codestral-7B-v0.1 (APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] ▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀ ▀ (APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] (APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:233] non-default args: {'model_tag': 'mistralai/Mamba-Codestral-7B-v0.1', 'model': 'mistralai/Mamba-Codestral-7B-v0.1', 'quantization': 'bitsandbytes', 'load_format': 'bitsandbytes', 'gpu_memory_utilization': 0.5} (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000 (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] Traceback (most recent call last): (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] if hf_value := hf_config.get_text_config().max_position_embeddings: (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in getattribute (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] return super().getattribute(key) (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings' (APIServer pid=29411) INFO 05-06 16:35:57 [config.py:303] Inferred from consolidated*.safetensors files torch.bfloat16 dtype. (APIServer pid=29411) INFO 05-06 16:35:57 [model.py:555] Resolved architecture: Mamba2ForCausalLM (APIServer pid=29411) INFO 05-06 16:35:57 [model.py:1680] Using max model len 128000 (APIServer pid=29411) INFO 05-06 16:35:58 [nixl_utils.py:20] Setting UCX_RCACHE_MAX_UNRELEASED to '1024' to avoid a rare memory leak in UCX when using NIXL. (APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:34] NIXL is not available (APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:44] NIXL agent config is not available (APIServer pid=29411) INFO 05-06 16:35:58 [vllm.py:840] Asynchronous scheduling is enabled. (APIServer pid=29411) INFO 05-06 16:35:58 [kernel.py:205] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native']) (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000 (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] Traceback (most recent call last): (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] if hf_value := hf_config.get_text_config().max_position_embeddings: (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in getattribute (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] return super().getattribute(key) (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings' WARNING 05-06 16:36:04 [nixl_utils.py:34] NIXL is not available WARNING 05-06 16:36:04 [nixl_utils.py:44] NIXL agent config is not available (EngineCore pid=29470) INFO 05-06 16:36:04 [core.py:109] Initializing a V1 LLM engine (v0.20.1) with config: model='mistralai/Mamba-Codestral-7B-v0.1', speculative_config=None, tokenizer='mistralai/Mamba-Codestral-7B-v0.1', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=128000, download_dir=None, load_format=bitsandbytes, 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=bitsandbytes, quantization_config=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=mistralai/Mamba-Codestral-7B-v0.1, enable_prefix_caching=False, 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'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', '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::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', '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_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, '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': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native']), enable_flashinfer_autotune=True, moe_backend='auto') (EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1402] world_size=1 rank=0 local_rank=0 distributed_init_method=tcp://192.168.1.70:48709 backend=nccl (EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1715] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A (EngineCore pid=29470) INFO 05-06 16:36:05 [gpu_model_runner.py:4777] Starting to load model mistralai/Mamba-Codestral-7B-v0.1... (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] EngineCore failed to start. (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] Traceback (most recent call last): (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] return func(*args, **kwargs) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in init (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] super().init( (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in init (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self.model_executor = executor_class(vllm_config) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] return func(*args, **kwargs) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in init (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self._init_executor() (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self.driver_worker.load_model() (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self.model_runner.load_model(load_dummy_weights=load_dummy_weights) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] return func(*args, **kwargs) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self.model = model_loader.load_model( (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] return func(*args, **kwargs) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self.load_weights(model, model_config) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] self._verify_model_compatibility(model, model_config) (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] raise AttributeError( (EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found. (EngineCore pid=29470) Process EngineCore: (EngineCore pid=29470) Traceback (most recent call last): (EngineCore pid=29470) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap (EngineCore pid=29470) self.run() (EngineCore pid=29470) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 108, in run (EngineCore pid=29470) self._target(*self._args, **self._kwargs) (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1140, in run_engine_core (EngineCore pid=29470) raise e (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core (EngineCore pid=29470) engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs) (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) return func(*args, **kwargs) (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in init (EngineCore pid=29470) super().init( (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in init (EngineCore pid=29470) self.model_executor = executor_class(vllm_config) (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) return func(*args, **kwargs) (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in init (EngineCore pid=29470) self._init_executor() (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor (EngineCore pid=29470) self.driver_worker.load_model() (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model (EngineCore pid=29470) self.model_runner.load_model(load_dummy_weights=load_dummy_weights) (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) return func(*args, **kwargs) (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model (EngineCore pid=29470) self.model = model_loader.load_model( (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (EngineCore pid=29470) return func(*args, **kwargs) (EngineCore pid=29470) ^^^^^^^^^^^^^^^^^^^^^ (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model (EngineCore pid=29470) self.load_weights(model, model_config) (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights (EngineCore pid=29470) self._verify_model_compatibility(model, model_config) (EngineCore pid=29470) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility (EngineCore pid=29470) raise AttributeError( (EngineCore pid=29470) AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found. [rank0]:[W506 16:36:07.858149419 ProcessGroupNCCL.cpp:1575] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator()) (APIServer pid=29411) Traceback (most recent call last): (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/bin/vllm", line 10, in <module> (APIServer pid=29411) sys.exit(main()) (APIServer pid=29411) ^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/main.py", line 92, in main (APIServer pid=29411) args.dispatch_function(args) (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/serve.py", line 122, in cmd (APIServer pid=29411) uvloop.run(run_server(args)) (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/init.py", line 96, in run (APIServer pid=29411) return __asyncio.run( (APIServer pid=29411) ^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run (APIServer pid=29411) return runner.run(main) (APIServer pid=29411) ^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run (APIServer pid=29411) return self._loop.run_until_complete(task) (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/init.py", line 48, in wrapper (APIServer pid=29411) return await main (APIServer pid=29411) ^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 678, in run_server (APIServer pid=29411) await run_server_worker(listen_address, sock, args, **uvicorn_kwargs) (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 692, in run_server_worker (APIServer pid=29411) async with build_async_engine_client( (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in aenter (APIServer pid=29411) return await anext(self.gen) (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 100, in build_async_engine_client (APIServer pid=29411) async with build_async_engine_client_from_engine_args( (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in aenter (APIServer pid=29411) return await anext(self.gen) (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 136, in build_async_engine_client_from_engine_args (APIServer pid=29411) async_llm = AsyncLLM.from_vllm_config( (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 217, in from_vllm_config (APIServer pid=29411) return cls( (APIServer pid=29411) ^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 146, in init (APIServer pid=29411) self.engine_core = EngineCoreClient.make_async_mp_client( (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (APIServer pid=29411) return func(*args, **kwargs) (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 130, in make_async_mp_client (APIServer pid=29411) return AsyncMPClient(*client_args) (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper (APIServer pid=29411) return func(*args, **kwargs) (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 900, in init (APIServer pid=29411) super().init( (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in init (APIServer pid=29411) with launch_core_engines( (APIServer pid=29411) ^^^^^^^^^^^^^^^^^^^^ (APIServer pid=29411) File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 144, in exit (APIServer pid=29411) next(self.gen) (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1119, in launch_core_engines (APIServer pid=29411) wait_for_engine_startup( (APIServer pid=29411) File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1178, in wait_for_engine_startup (APIServer pid=29411) raise RuntimeError( (APIServer pid=29411) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Root Cause

(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]        █     █     █▄   ▄█
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.20.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]   █▄█▀ █     █     █     █  model   mistralai/Mamba-Codestral-7B-v0.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     ▀
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:233] non-default args: {'model_tag': 'mistralai/Mamba-Codestral-7B-v0.1', 'model': 'mistralai/Mamba-Codestral-7B-v0.1', 'quantization': 'bitsandbytes', 'load_format': 'bitsandbytes', 'gpu_memory_utilization': 0.5}
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
(APIServer pid=29411) INFO 05-06 16:35:57 [config.py:303] Inferred from consolidated*.safetensors files torch.bfloat16 dtype.
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:555] Resolved architecture: Mamba2ForCausalLM
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:1680] Using max model len 128000
(APIServer pid=29411) INFO 05-06 16:35:58 [nixl_utils.py:20] Setting UCX_RCACHE_MAX_UNRELEASED to '1024' to avoid a rare memory leak in UCX when using NIXL.
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:34] NIXL is not available
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:44] NIXL agent config is not available
(APIServer pid=29411) INFO 05-06 16:35:58 [vllm.py:840] Asynchronous scheduling is enabled.
(APIServer pid=29411) INFO 05-06 16:35:58 [kernel.py:205] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'])
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
WARNING 05-06 16:36:04 [nixl_utils.py:34] NIXL is not available
WARNING 05-06 16:36:04 [nixl_utils.py:44] NIXL agent config is not available
(EngineCore pid=29470) INFO 05-06 16:36:04 [core.py:109] Initializing a V1 LLM engine (v0.20.1) with config: model='mistralai/Mamba-Codestral-7B-v0.1', speculative_config=None, tokenizer='mistralai/Mamba-Codestral-7B-v0.1', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=128000, download_dir=None, load_format=bitsandbytes, 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=bitsandbytes, quantization_config=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=mistralai/Mamba-Codestral-7B-v0.1, enable_prefix_caching=False, 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'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', '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::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', '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_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, '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': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native']), enable_flashinfer_autotune=True, moe_backend='auto')
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1402] world_size=1 rank=0 local_rank=0 distributed_init_method=tcp://192.168.1.70:48709 backend=nccl
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1715] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(EngineCore pid=29470) INFO 05-06 16:36:05 [gpu_model_runner.py:4777] Starting to load model mistralai/Mamba-Codestral-7B-v0.1...
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] EngineCore failed to start.
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] Traceback (most recent call last):
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     super().__init__(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._init_executor()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.driver_worker.load_model()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model = model_loader.load_model(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.load_weights(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     raise AttributeError(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
(EngineCore pid=29470) Process EngineCore:
(EngineCore pid=29470) Traceback (most recent call last):
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=29470)     self.run()
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=29470)     self._target(*self._args, **self._kwargs)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1140, in run_engine_core
(EngineCore pid=29470)     raise e
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470)     super().__init__(
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470)     self._init_executor()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470)     self.driver_worker.load_model()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470)     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470)     self.model = model_loader.load_model(
(EngineCore pid=29470)                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470)     self.load_weights(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470)     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470)     raise AttributeError(
(EngineCore pid=29470) AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
[rank0]:[W506 16:36:07.858149419 ProcessGroupNCCL.cpp:1575] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=29411) Traceback (most recent call last):
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/bin/vllm", line 10, in <module>
(APIServer pid=29411)     sys.exit(main())
(APIServer pid=29411)              ^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/main.py", line 92, in main
(APIServer pid=29411)     args.dispatch_function(args)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/serve.py", line 122, in cmd
(APIServer pid=29411)     uvloop.run(run_server(args))
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=29411)     return __asyncio.run(
(APIServer pid=29411)            ^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=29411)     return runner.run(main)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=29411)     return self._loop.run_until_complete(task)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=29411)     return await main
(APIServer pid=29411)            ^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 678, in run_server
(APIServer pid=29411)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 692, in run_server_worker
(APIServer pid=29411)     async with build_async_engine_client(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 100, in build_async_engine_client
(APIServer pid=29411)     async with build_async_engine_client_from_engine_args(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 136, in build_async_engine_client_from_engine_args
(APIServer pid=29411)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=29411)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 217, in from_vllm_config
(APIServer pid=29411)     return cls(
(APIServer pid=29411)            ^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 146, in __init__
(APIServer pid=29411)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=29411)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 130, in make_async_mp_client
(APIServer pid=29411)     return AsyncMPClient(*client_args)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 900, in __init__
(APIServer pid=29411)     super().__init__(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
(APIServer pid=29411)     with launch_core_engines(
(APIServer pid=29411)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=29411)     next(self.gen)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1119, in launch_core_engines
(APIServer pid=29411)     wait_for_engine_startup(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1178, in wait_for_engine_startup
(APIServer pid=29411)     raise RuntimeError(
(APIServer pid=29411) 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: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 24 On-line CPU(s) list: 0-23 Vendor ID: AuthenticAMD Model name: AMD Ryzen 9 5900X 12-Core Processor CPU family: 25 Model: 33 Thread(s) per core: 2 Core(s) per socket: 12 Socket(s): 1 Stepping: 2 Frequency boost: enabled CPU max MHz: 4954.5649 CPU min MHz: 567.0890 BogoMIPS: 7386.05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap Virtualization: AMD-V L1d cache: 384 KiB (12 instances) L1i cache: 384 KiB (12 instances) L2 cache: 6 MiB (12 instances) L3 cache: 64 MiB (2 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-23 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: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode 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; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsa: Vulnerable: No microcode Vulnerability Tsx async abort: Not affected

(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]        █     █     █▄   ▄█
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.20.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]   █▄█▀ █     █     █     █  model   mistralai/Mamba-Codestral-7B-v0.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     ▀
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:233] non-default args: {'model_tag': 'mistralai/Mamba-Codestral-7B-v0.1', 'model': 'mistralai/Mamba-Codestral-7B-v0.1', 'quantization': 'bitsandbytes', 'load_format': 'bitsandbytes', 'gpu_memory_utilization': 0.5}
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
(APIServer pid=29411) INFO 05-06 16:35:57 [config.py:303] Inferred from consolidated*.safetensors files torch.bfloat16 dtype.
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:555] Resolved architecture: Mamba2ForCausalLM
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:1680] Using max model len 128000
(APIServer pid=29411) INFO 05-06 16:35:58 [nixl_utils.py:20] Setting UCX_RCACHE_MAX_UNRELEASED to '1024' to avoid a rare memory leak in UCX when using NIXL.
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:34] NIXL is not available
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:44] NIXL agent config is not available
(APIServer pid=29411) INFO 05-06 16:35:58 [vllm.py:840] Asynchronous scheduling is enabled.
(APIServer pid=29411) INFO 05-06 16:35:58 [kernel.py:205] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'])
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
WARNING 05-06 16:36:04 [nixl_utils.py:34] NIXL is not available
WARNING 05-06 16:36:04 [nixl_utils.py:44] NIXL agent config is not available
(EngineCore pid=29470) INFO 05-06 16:36:04 [core.py:109] Initializing a V1 LLM engine (v0.20.1) with config: model='mistralai/Mamba-Codestral-7B-v0.1', speculative_config=None, tokenizer='mistralai/Mamba-Codestral-7B-v0.1', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=128000, download_dir=None, load_format=bitsandbytes, 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=bitsandbytes, quantization_config=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=mistralai/Mamba-Codestral-7B-v0.1, enable_prefix_caching=False, 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'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', '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::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', '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_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, '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': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native']), enable_flashinfer_autotune=True, moe_backend='auto')
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1402] world_size=1 rank=0 local_rank=0 distributed_init_method=tcp://192.168.1.70:48709 backend=nccl
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1715] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(EngineCore pid=29470) INFO 05-06 16:36:05 [gpu_model_runner.py:4777] Starting to load model mistralai/Mamba-Codestral-7B-v0.1...
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] EngineCore failed to start.
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] Traceback (most recent call last):
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     super().__init__(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._init_executor()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.driver_worker.load_model()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model = model_loader.load_model(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.load_weights(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     raise AttributeError(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
(EngineCore pid=29470) Process EngineCore:
(EngineCore pid=29470) Traceback (most recent call last):
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=29470)     self.run()
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=29470)     self._target(*self._args, **self._kwargs)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1140, in run_engine_core
(EngineCore pid=29470)     raise e
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470)     super().__init__(
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470)     self._init_executor()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470)     self.driver_worker.load_model()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470)     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470)     self.model = model_loader.load_model(
(EngineCore pid=29470)                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470)     self.load_weights(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470)     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470)     raise AttributeError(
(EngineCore pid=29470) AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
[rank0]:[W506 16:36:07.858149419 ProcessGroupNCCL.cpp:1575] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=29411) Traceback (most recent call last):
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/bin/vllm", line 10, in <module>
(APIServer pid=29411)     sys.exit(main())
(APIServer pid=29411)              ^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/main.py", line 92, in main
(APIServer pid=29411)     args.dispatch_function(args)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/serve.py", line 122, in cmd
(APIServer pid=29411)     uvloop.run(run_server(args))
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=29411)     return __asyncio.run(
(APIServer pid=29411)            ^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=29411)     return runner.run(main)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=29411)     return self._loop.run_until_complete(task)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=29411)     return await main
(APIServer pid=29411)            ^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 678, in run_server
(APIServer pid=29411)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 692, in run_server_worker
(APIServer pid=29411)     async with build_async_engine_client(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 100, in build_async_engine_client
(APIServer pid=29411)     async with build_async_engine_client_from_engine_args(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 136, in build_async_engine_client_from_engine_args
(APIServer pid=29411)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=29411)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 217, in from_vllm_config
(APIServer pid=29411)     return cls(
(APIServer pid=29411)            ^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 146, in __init__
(APIServer pid=29411)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=29411)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 130, in make_async_mp_client
(APIServer pid=29411)     return AsyncMPClient(*client_args)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 900, in __init__
(APIServer pid=29411)     super().__init__(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
(APIServer pid=29411)     with launch_core_engines(
(APIServer pid=29411)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=29411)     next(self.gen)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1119, in launch_core_engines
(APIServer pid=29411)     wait_for_engine_startup(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1178, in wait_for_engine_startup
(APIServer pid=29411)     raise RuntimeError(
(APIServer pid=29411) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

PR fix notes

PR #41875: [Bugfix] Enable BitsAndBytes support for Mamba-2

Description (problem / solution / changelog)

Purpose

This PR enables BitsAndBytes (4-bit/8-bit) quantization support for the Mamba2ForCausalLM architecture.

Currently, attempting to load a Mamba-2 model (e.g., mistralai/Mamba-Codestral-7B-v0.1) with --quantization bitsandbytes results in a fatal AttributeError during initialization. This is because the BitsAndBytesModelLoader requires the model class to define a packed_modules_mapping attribute, which was missing from the Mamba-2 implementation.

Since Mamba-2 linear layers (like in_proj) are already packed by design in the architecture, this PR adds an empty mapping dictionary to satisfy the loader's requirements and whitelist the architecture for quantization.

Fixes: #41874

Test Plan

To verify this change, I performed in-flight 4-bit quantization on a memory-constrained consumer GPU (RTX 3080 Ti 12GB).

Test command:

vllm serve mistralai/Mamba-Codestral-7B-v0.1 \
    --quantization bitsandbytes \
    --load-format bitsandbytes \
    --gpu-memory-utilization 0.6 \
    --max-model-len 4096 \
    --enforce-eager

Test Result

Before change:

(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.

After change:

(APIServer pid=30162) INFO 05-06 16:53:35 [api_server.py:617] Starting vLLM server on http://0.0.0.0:8000
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:37] Available routes are:
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /openapi.json, Methods: GET, HEAD
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /docs, Methods: GET, HEAD
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /docs/oauth2-redirect, Methods: GET, HEAD
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /redoc, Methods: GET, HEAD
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /tokenize, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /detokenize, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /load, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /version, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /health, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /metrics, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/models, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /ping, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /ping, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /invocations, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/chat/completions, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/chat/completions/batch, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/responses, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/responses/{response_id}, Methods: GET
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/responses/{response_id}/cancel, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/completions, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/messages, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/messages/count_tokens, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /inference/v1/generate, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /scale_elastic_ep, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /is_scaling_elastic_ep, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /generative_scoring, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/chat/completions/render, Methods: POST
(APIServer pid=30162) INFO 05-06 16:53:35 [launcher.py:46] Route: /v1/completions/render, Methods: POST
(APIServer pid=30162) INFO:     Started server process [30162]
(APIServer pid=30162) INFO:     Waiting for application startup.
(APIServer pid=30162) INFO:     Application startup complete.

<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
</details>

Changed files

  • vllm/model_executor/models/mamba2.py (modified, +2/-0)

Code Example

Collecting environment information...
uv is set
==============================
        System Info
==============================
OS                           : Pop!_OS 22.04 LTS (x86_64)
GCC version                  : (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.35

==============================
       PyTorch Info
==============================
PyTorch version              : 2.11.0+cu130
Is debug build               : False
CUDA used to build PyTorch   : 13.0
ROCM used to build PyTorch   : N/A
XPU used to build PyTorch    : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.12 (main, Dec  2 2025, 19:47:35) [Clang 21.1.4 ] (64-bit runtime)
Python platform              : Linux-6.16.3-76061603-generic-x86_64-with-glibc2.35
    
==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : Could not collect
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 3080 Ti
Nvidia driver version        : 580.82.07
cuDNN version                : Could not collect
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:                           48 bits physical, 48 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  24
On-line CPU(s) list:                     0-23
Vendor ID:                               AuthenticAMD
Model name:                              AMD Ryzen 9 5900X 12-Core Processor
CPU family:                              25
Model:                                   33
Thread(s) per core:                      2
Core(s) per socket:                      12
Socket(s):                               1
Stepping:                                2
Frequency boost:                         enabled
CPU max MHz:                             4954.5649
CPU min MHz:                             567.0890
BogoMIPS:                                7386.05
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap
Virtualization:                          AMD-V
L1d cache:                               384 KiB (12 instances)
L1i cache:                               384 KiB (12 instances)
L2 cache:                                6 MiB (12 instances)
L3 cache:                                64 MiB (2 instances)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-23
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:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Vulnerable: Safe RET, no microcode
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; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Vulnerable: No microcode
Vulnerability Tsx async abort:           Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.8.post1
[pip3] numpy==2.3.5
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cudnn-cu13==9.19.0.56
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparselt-cu13==0.8.0
[pip3] nvidia-cutlass-dsl==4.5.0
[pip3] nvidia-cutlass-dsl-libs-base==4.5.0
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu13==2.28.9
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] pyzmq==27.1.0
[pip3] torch==2.11.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torchaudio==2.11.0
[pip3] torchvision==0.26.0
[pip3] transformers==5.8.0
[pip3] triton==3.6.0
[conda] Could not collect

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

---

vllm serve mistralai/Mamba-Codestral-7B-v0.1 --quantization bitsandbytes --load-format bitsandbytes --gpu-memory-utilization 0.5

---

(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]        █     █     █▄   ▄█
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.20.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]   █▄█▀ █     █     █     █  model   mistralai/Mamba-Codestral-7B-v0.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:233] non-default args: {'model_tag': 'mistralai/Mamba-Codestral-7B-v0.1', 'model': 'mistralai/Mamba-Codestral-7B-v0.1', 'quantization': 'bitsandbytes', 'load_format': 'bitsandbytes', 'gpu_memory_utilization': 0.5}
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
(APIServer pid=29411) INFO 05-06 16:35:57 [config.py:303] Inferred from consolidated*.safetensors files torch.bfloat16 dtype.
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:555] Resolved architecture: Mamba2ForCausalLM
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:1680] Using max model len 128000
(APIServer pid=29411) INFO 05-06 16:35:58 [nixl_utils.py:20] Setting UCX_RCACHE_MAX_UNRELEASED to '1024' to avoid a rare memory leak in UCX when using NIXL.
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:34] NIXL is not available
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:44] NIXL agent config is not available
(APIServer pid=29411) INFO 05-06 16:35:58 [vllm.py:840] Asynchronous scheduling is enabled.
(APIServer pid=29411) INFO 05-06 16:35:58 [kernel.py:205] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'])
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
WARNING 05-06 16:36:04 [nixl_utils.py:34] NIXL is not available
WARNING 05-06 16:36:04 [nixl_utils.py:44] NIXL agent config is not available
(EngineCore pid=29470) INFO 05-06 16:36:04 [core.py:109] Initializing a V1 LLM engine (v0.20.1) with config: model='mistralai/Mamba-Codestral-7B-v0.1', speculative_config=None, tokenizer='mistralai/Mamba-Codestral-7B-v0.1', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=128000, download_dir=None, load_format=bitsandbytes, 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=bitsandbytes, quantization_config=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=mistralai/Mamba-Codestral-7B-v0.1, enable_prefix_caching=False, 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'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', '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::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', '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_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, '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': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native']), enable_flashinfer_autotune=True, moe_backend='auto')
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1402] world_size=1 rank=0 local_rank=0 distributed_init_method=tcp://192.168.1.70:48709 backend=nccl
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1715] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(EngineCore pid=29470) INFO 05-06 16:36:05 [gpu_model_runner.py:4777] Starting to load model mistralai/Mamba-Codestral-7B-v0.1...
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] EngineCore failed to start.
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] Traceback (most recent call last):
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     super().__init__(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._init_executor()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.driver_worker.load_model()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model = model_loader.load_model(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.load_weights(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     raise AttributeError(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
(EngineCore pid=29470) Process EngineCore:
(EngineCore pid=29470) Traceback (most recent call last):
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=29470)     self.run()
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=29470)     self._target(*self._args, **self._kwargs)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1140, in run_engine_core
(EngineCore pid=29470)     raise e
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470)     super().__init__(
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470)     self._init_executor()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470)     self.driver_worker.load_model()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470)     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470)     self.model = model_loader.load_model(
(EngineCore pid=29470)                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470)     self.load_weights(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470)     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470)     raise AttributeError(
(EngineCore pid=29470) AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
[rank0]:[W506 16:36:07.858149419 ProcessGroupNCCL.cpp:1575] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=29411) Traceback (most recent call last):
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/bin/vllm", line 10, in <module>
(APIServer pid=29411)     sys.exit(main())
(APIServer pid=29411)              ^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/main.py", line 92, in main
(APIServer pid=29411)     args.dispatch_function(args)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/serve.py", line 122, in cmd
(APIServer pid=29411)     uvloop.run(run_server(args))
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=29411)     return __asyncio.run(
(APIServer pid=29411)            ^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=29411)     return runner.run(main)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=29411)     return self._loop.run_until_complete(task)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=29411)     return await main
(APIServer pid=29411)            ^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 678, in run_server
(APIServer pid=29411)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 692, in run_server_worker
(APIServer pid=29411)     async with build_async_engine_client(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 100, in build_async_engine_client
(APIServer pid=29411)     async with build_async_engine_client_from_engine_args(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 136, in build_async_engine_client_from_engine_args
(APIServer pid=29411)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=29411)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 217, in from_vllm_config
(APIServer pid=29411)     return cls(
(APIServer pid=29411)            ^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 146, in __init__
(APIServer pid=29411)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=29411)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 130, in make_async_mp_client
(APIServer pid=29411)     return AsyncMPClient(*client_args)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 900, in __init__
(APIServer pid=29411)     super().__init__(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
(APIServer pid=29411)     with launch_core_engines(
(APIServer pid=29411)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=29411)     next(self.gen)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1119, in launch_core_engines
(APIServer pid=29411)     wait_for_engine_startup(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1178, in wait_for_engine_startup
(APIServer pid=29411)     raise RuntimeError(
(APIServer pid=29411) 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                           : Pop!_OS 22.04 LTS (x86_64)
GCC version                  : (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.35

==============================
       PyTorch Info
==============================
PyTorch version              : 2.11.0+cu130
Is debug build               : False
CUDA used to build PyTorch   : 13.0
ROCM used to build PyTorch   : N/A
XPU used to build PyTorch    : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.12 (main, Dec  2 2025, 19:47:35) [Clang 21.1.4 ] (64-bit runtime)
Python platform              : Linux-6.16.3-76061603-generic-x86_64-with-glibc2.35
    
==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : Could not collect
CUDA_MODULE_LOADING set to   : 
GPU models and configuration : GPU 0: NVIDIA GeForce RTX 3080 Ti
Nvidia driver version        : 580.82.07
cuDNN version                : Could not collect
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:                           48 bits physical, 48 bits virtual
Byte Order:                              Little Endian
CPU(s):                                  24
On-line CPU(s) list:                     0-23
Vendor ID:                               AuthenticAMD
Model name:                              AMD Ryzen 9 5900X 12-Core Processor
CPU family:                              25
Model:                                   33
Thread(s) per core:                      2
Core(s) per socket:                      12
Socket(s):                               1
Stepping:                                2
Frequency boost:                         enabled
CPU max MHz:                             4954.5649
CPU min MHz:                             567.0890
BogoMIPS:                                7386.05
Flags:                                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap
Virtualization:                          AMD-V
L1d cache:                               384 KiB (12 instances)
L1i cache:                               384 KiB (12 instances)
L2 cache:                                6 MiB (12 instances)
L3 cache:                                64 MiB (2 instances)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-23
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:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Vulnerable: Safe RET, no microcode
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; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Vulnerable: No microcode
Vulnerability Tsx async abort:           Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.8.post1
[pip3] numpy==2.3.5
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cudnn-cu13==9.19.0.56
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparselt-cu13==0.8.0
[pip3] nvidia-cutlass-dsl==4.5.0
[pip3] nvidia-cutlass-dsl-libs-base==4.5.0
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu13==2.28.9
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] pyzmq==27.1.0
[pip3] torch==2.11.0
[pip3] torch-c-dlpack-ext==0.1.5
[pip3] torchaudio==2.11.0
[pip3] torchvision==0.26.0
[pip3] transformers==5.8.0
[pip3] triton==3.6.0
[conda] Could not collect

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

🐛 Describe the bug

Attempting to serve a Mamba-2 architecture model (e.g., mistralai/Mamba-Codestral-7B-v0.1) using --quantization bitsandbytes fails with an AttributeError. The BitsAndBytesModelLoader expects the model class to have a packed_modules_mapping attribute, which is currently missing from Mamba2ForCausalLM.

vllm serve mistralai/Mamba-Codestral-7B-v0.1 --quantization bitsandbytes --load-format bitsandbytes --gpu-memory-utilization 0.5

The results:

(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]        █     █     █▄   ▄█
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]  ▄▄ ▄█ █     █     █ ▀▄▀ █  version 0.20.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]   █▄█▀ █     █     █     █  model   mistralai/Mamba-Codestral-7B-v0.1
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299]    ▀▀  ▀▀▀▀▀ ▀▀▀▀▀ ▀     ▀
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:299] 
(APIServer pid=29411) INFO 05-06 16:35:56 [utils.py:233] non-default args: {'model_tag': 'mistralai/Mamba-Codestral-7B-v0.1', 'model': 'mistralai/Mamba-Codestral-7B-v0.1', 'quantization': 'bitsandbytes', 'load_format': 'bitsandbytes', 'gpu_memory_utilization': 0.5}
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:57 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
(APIServer pid=29411) INFO 05-06 16:35:57 [config.py:303] Inferred from consolidated*.safetensors files torch.bfloat16 dtype.
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:555] Resolved architecture: Mamba2ForCausalLM
(APIServer pid=29411) INFO 05-06 16:35:57 [model.py:1680] Using max model len 128000
(APIServer pid=29411) INFO 05-06 16:35:58 [nixl_utils.py:20] Setting UCX_RCACHE_MAX_UNRELEASED to '1024' to avoid a rare memory leak in UCX when using NIXL.
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:34] NIXL is not available
(APIServer pid=29411) WARNING 05-06 16:35:58 [nixl_utils.py:44] NIXL agent config is not available
(APIServer pid=29411) INFO 05-06 16:35:58 [vllm.py:840] Asynchronous scheduling is enabled.
(APIServer pid=29411) INFO 05-06 16:35:58 [kernel.py:205] Final IR op priority after setting platform defaults: IrOpPriorityConfig(rms_norm=['native'])
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] The params.json file is missing 'max_position_embeddings' and could not get a value from the HF config. Defaulting to 128000
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] Traceback (most recent call last):
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/transformers_utils/config.py", line 1232, in _maybe_retrieve_max_pos_from_hf
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     if hf_value := hf_config.get_text_config().max_position_embeddings:
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/transformers/configuration_utils.py", line 434, in __getattribute__
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]     return super().__getattribute__(key)
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411) WARNING 05-06 16:35:58 [config.py:1235] AttributeError: 'Mamba2Config' object has no attribute 'max_position_embeddings'
WARNING 05-06 16:36:04 [nixl_utils.py:34] NIXL is not available
WARNING 05-06 16:36:04 [nixl_utils.py:44] NIXL agent config is not available
(EngineCore pid=29470) INFO 05-06 16:36:04 [core.py:109] Initializing a V1 LLM engine (v0.20.1) with config: model='mistralai/Mamba-Codestral-7B-v0.1', speculative_config=None, tokenizer='mistralai/Mamba-Codestral-7B-v0.1', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=128000, download_dir=None, load_format=bitsandbytes, 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=bitsandbytes, quantization_config=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=mistralai/Mamba-Codestral-7B-v0.1, enable_prefix_caching=False, 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'], 'ir_enable_torch_wrap': True, 'splitting_ops': ['vllm::unified_attention_with_output', '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::gdn_attention_core_xpu', 'vllm::olmo_hybrid_gdn_full_forward', 'vllm::kda_attention', 'vllm::sparse_attn_indexer', 'vllm::rocm_aiter_sparse_attn_indexer', 'vllm::deepseek_v4_attention', '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_vision_items_per_batch': 0, 'encoder_cudagraph_max_frames_per_batch': None, 'compile_sizes': [], 'compile_ranges_endpoints': [2048], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'size_asserts': False, 'alignment_asserts': False, 'scalar_asserts': False, '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': False, 'static_all_moe_layers': []}, kernel_config=KernelConfig(ir_op_priority=IrOpPriorityConfig(rms_norm=['native']), enable_flashinfer_autotune=True, moe_backend='auto')
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1402] world_size=1 rank=0 local_rank=0 distributed_init_method=tcp://192.168.1.70:48709 backend=nccl
(EngineCore pid=29470) INFO 05-06 16:36:04 [parallel_state.py:1715] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank N/A, EPLB rank N/A
(EngineCore pid=29470) INFO 05-06 16:36:05 [gpu_model_runner.py:4777] Starting to load model mistralai/Mamba-Codestral-7B-v0.1...
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] EngineCore failed to start.
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] Traceback (most recent call last):
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     super().__init__(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._init_executor()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.driver_worker.load_model()
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.model = model_loader.load_model(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     return func(*args, **kwargs)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self.load_weights(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136]     raise AttributeError(
(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
(EngineCore pid=29470) Process EngineCore:
(EngineCore pid=29470) Traceback (most recent call last):
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore pid=29470)     self.run()
(EngineCore pid=29470)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore pid=29470)     self._target(*self._args, **self._kwargs)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1140, in run_engine_core
(EngineCore pid=29470)     raise e
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 1110, in run_engine_core
(EngineCore pid=29470)     engine_core = EngineCoreProc(*args, engine_index=dp_rank, **kwargs)
(EngineCore pid=29470)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 876, in __init__
(EngineCore pid=29470)     super().__init__(
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core.py", line 118, in __init__
(EngineCore pid=29470)     self.model_executor = executor_class(vllm_config)
(EngineCore pid=29470)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/abstract.py", line 109, in __init__
(EngineCore pid=29470)     self._init_executor()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/executor/uniproc_executor.py", line 52, in _init_executor
(EngineCore pid=29470)     self.driver_worker.load_model()
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_worker.py", line 323, in load_model
(EngineCore pid=29470)     self.model_runner.load_model(load_dummy_weights=load_dummy_weights)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/worker/gpu_model_runner.py", line 4793, in load_model
(EngineCore pid=29470)     self.model = model_loader.load_model(
(EngineCore pid=29470)                  ^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(EngineCore pid=29470)     return func(*args, **kwargs)
(EngineCore pid=29470)            ^^^^^^^^^^^^^^^^^^^^^
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/base_loader.py", line 64, in load_model
(EngineCore pid=29470)     self.load_weights(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 783, in load_weights
(EngineCore pid=29470)     self._verify_model_compatibility(model, model_config)
(EngineCore pid=29470)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/model_executor/model_loader/bitsandbytes_loader.py", line 535, in _verify_model_compatibility
(EngineCore pid=29470)     raise AttributeError(
(EngineCore pid=29470) AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.
[rank0]:[W506 16:36:07.858149419 ProcessGroupNCCL.cpp:1575] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
(APIServer pid=29411) Traceback (most recent call last):
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/bin/vllm", line 10, in <module>
(APIServer pid=29411)     sys.exit(main())
(APIServer pid=29411)              ^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/main.py", line 92, in main
(APIServer pid=29411)     args.dispatch_function(args)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/cli/serve.py", line 122, in cmd
(APIServer pid=29411)     uvloop.run(run_server(args))
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=29411)     return __asyncio.run(
(APIServer pid=29411)            ^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=29411)     return runner.run(main)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=29411)     return self._loop.run_until_complete(task)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=29411)     return await main
(APIServer pid=29411)            ^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 678, in run_server
(APIServer pid=29411)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 692, in run_server_worker
(APIServer pid=29411)     async with build_async_engine_client(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 100, in build_async_engine_client
(APIServer pid=29411)     async with build_async_engine_client_from_engine_args(
(APIServer pid=29411)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=29411)     return await anext(self.gen)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/entrypoints/openai/api_server.py", line 136, in build_async_engine_client_from_engine_args
(APIServer pid=29411)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=29411)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 217, in from_vllm_config
(APIServer pid=29411)     return cls(
(APIServer pid=29411)            ^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/async_llm.py", line 146, in __init__
(APIServer pid=29411)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=29411)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 130, in make_async_mp_client
(APIServer pid=29411)     return AsyncMPClient(*client_args)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/tracing/otel.py", line 178, in sync_wrapper
(APIServer pid=29411)     return func(*args, **kwargs)
(APIServer pid=29411)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 900, in __init__
(APIServer pid=29411)     super().__init__(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/core_client.py", line 535, in __init__
(APIServer pid=29411)     with launch_core_engines(
(APIServer pid=29411)          ^^^^^^^^^^^^^^^^^^^^
(APIServer pid=29411)   File "/home/demetriusrowland/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=29411)     next(self.gen)
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1119, in launch_core_engines
(APIServer pid=29411)     wait_for_engine_startup(
(APIServer pid=29411)   File "/home/demetriusrowland/Documents/projects/vllm_repro/.venv/lib/python3.12/site-packages/vllm/v1/engine/utils.py", line 1178, in wait_for_engine_startup
(APIServer pid=29411)     raise RuntimeError(
(APIServer pid=29411) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

with the key error being:

(EngineCore pid=29470) ERROR 05-06 16:36:07 [core.py:1136] AttributeError: Model Mamba2ForCausalLM does not support BitsAndBytes quantization yet. No 'packed_modules_mapping' found.

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.

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