Platform: Nvidia Thor Developer Kit
JetPack Version: 7.1
Summary: Attempted to run Nemotron 30B via vLLM container and it failed.
I used this reference command…
#!/bin/bash
# Run Command
docker run -it --rm --pull always \
--runtime=nvidia --network host \
-e HF_TOKEN=$HF_TOKEN \
-e VLLM_USE_FLASHINFER_MOE_FP4=1 \
-e VLLM_FLASHINFER_MOE_BACKEND=throughput \
-v $HOME/.cache/huggingface:/root/.cache/huggingface \
nvcr.io/nvidia/vllm:25.12.post1-py3 \
bash -c "wget -q -O /tmp/nano_v3_reasoning_parser.py \
--header=\"Authorization: Bearer \$HF_TOKEN\" \
https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4/resolve/main/nano_v3_reasoning_parser.py \
&& vllm serve nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4 \
--gpu-memory-utilization 0.5 \
--trust-remote-code \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--reasoning-parser-plugin /tmp/nano_v3_reasoning_parser.py \
--reasoning-parser nano_v3 \
--kv-cache-dtype fp8"
This takes about 30 minutes to compile flashinfer. I would also recommend mounting another volume: -v $HOME/.cache/flashinfer:/root/.cache/flashinfer to save on loading / compilation time (but only after a successful launch).
The command seemed to work, but did present with hundreds of errors like this:
EngineCore_DP0 pid=194) Unsupported tile (128, 256, 256) and cluster (2, 2, 1) shape combination for arch 100.
(EngineCore_DP0 pid=194) Config was Cutlass GEMM Tactic
(EngineCore_DP0 pid=194) style=TMA Warp Specialized
(EngineCore_DP0 pid=194) sm: 100
(EngineCore_DP0 pid=194) tile shape ID: 128x256x128
(EngineCore_DP0 pid=194) cluster shape ID: 2x2x1
(EngineCore_DP0 pid=194) dynamic cluster shape ID: undefined
(EngineCore_DP0 pid=194) fallback cluster shape ID: undefined
(EngineCore_DP0 pid=194) mainloop sched: 0
(EngineCore_DP0 pid=194) epi sched: 2
(EngineCore_DP0 pid=194) enable cuda kernel: false
(EngineCore_DP0 pid=194) epilogue fusion type: 0
(EngineCore_DP0 pid=194) swap_ab: true
....
(EngineCore_DP0 pid=194) 2026-03-06 12:50:32,202 - WARNING - autotuner.py:490 - flashinfer.jit: [Autotuner]: Skipping tactic <flashinfer.fused_moe.core.get_cutlass_fused_moe_module.<locals>.MoERunner object at 0xfffbf77fdfa0> 117, due to failure while profiling: void tensorrt_llm::kernels::cutlass_kernels_oss::dispatchMoeGemmSelectClusterShapeTmaWarpSpecialized(tensorrt_llm::kernels::cutlass_kernels::TmaWarpSpecializedGroupedGemmInput, int, tensorrt_llm::cutlass_extensions::CutlassGemmConfig, int, cudaStream_t, int*, size_t*) [with Arch = cutlass::arch::Sm100; T = __nv_fp4_e2m1; WeightType = __nv_fp4_e2m1; OutputType = __nv_bfloat16; EpilogueTag = tensorrt_llm::cutlass_extensions::EpilogueOpDefault; tensorrt_llm::kernels::cutlass_kernels::TmaWarpSpecializedGroupedGemmInput::EpilogueFusion FUSION = tensorrt_llm::kernels::cutlass_kernels::TmaWarpSpecializedGroupedGemmInput::EpilogueFusion::FINALIZE; TileShape = cute::tuple<cute::C<128>, cute::C<32>, cute::C<256> >; cudaStream_t = CUstream_st*; size_t = long unsigned int]
Later it finished loading, appearing to work:
(APIServer pid=1) INFO: Started server process [1]
(APIServer pid=1) INFO: Waiting for application startup.
(APIServer pid=1) INFO: Application startup complete.
(APIServer pid=1) INFO: 127.0.0.1:39846 - "GET /v1/models HTTP/1.1" 200 OK
(APIServer pid=1) INFO 03-06 12:54:25 [chat_utils.py:574] Detected the chat template content format to be 'string'. You can set `--chat-template-content-format` to override this.
(APIServer pid=1) INFO: 127.0.0.1:42852 - "POST /v1/chat/completions HTTP/1.1" 200 OK
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [dump_input.py:72] Dumping input data for V1 LLM engine (v0.12.0+35a9f223.nv25.12.post1) with config: model='nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4', speculative_config=None, tokenizer='nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=262144, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, disable_custom_all_reduce=False, quantization=modelopt_fp4, enforce_eager=False, kv_cache_dtype=fp8, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='nano_v3', reasoning_parser_plugin='/tmp/nano_v3_reasoning_parser.py', 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), seed=0, served_model_name=nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'level': None, 'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '/root/.cache/vllm/torch_compile_cache/12d1aea5f2', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::kda_attention', 'vllm::sparse_attn_indexer'], 'compile_mm_encoder': False, 'compile_sizes': [], 'inductor_compile_config': {'enable_auto_functionalized_v2': 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, 'eliminate_noops': True, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>}, 'local_cache_dir': '/root/.cache/vllm/torch_compile_cache/12d1aea5f2/rank_0_0/backbone'},
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [dump_input.py:79] Dumping scheduler output for model execution: SchedulerOutput(scheduled_new_reqs=[], scheduled_cached_reqs=CachedRequestData(req_ids=['chatcmpl-989ec1ccffc77bb2'], resumed_req_ids=[], new_token_ids=[], all_token_ids={}, new_block_ids=[null], num_computed_tokens=[62], num_output_tokens=[15]), num_scheduled_tokens={chatcmpl-989ec1ccffc77bb2: 1}, total_num_scheduled_tokens=1, scheduled_spec_decode_tokens={}, scheduled_encoder_inputs={}, num_common_prefix_blocks=[0, 0, 0, 0, 0], finished_req_ids=[], free_encoder_mm_hashes=[], preempted_req_ids=[], pending_structured_output_tokens=false, kv_connector_metadata=null, ec_connector_metadata=null)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [dump_input.py:81] Dumping scheduler stats: SchedulerStats(num_running_reqs=1, num_waiting_reqs=0, step_counter=0, current_wave=0, kv_cache_usage=0.0009861932938856066, prefix_cache_stats=PrefixCacheStats(reset=False, requests=0, queries=0, hits=0, preempted_requests=0, preempted_queries=0, preempted_hits=0), connector_prefix_cache_stats=None, kv_cache_eviction_events=[], spec_decoding_stats=None, kv_connector_stats=None, waiting_lora_adapters={}, running_lora_adapters={})
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] EngineCore encountered a fatal error.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] Traceback (most recent call last):
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 836, in run_engine_core
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] engine_core.run_busy_loop()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 863, in run_busy_loop
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] self._process_engine_step()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 892, in _process_engine_step
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] outputs, model_executed = self.step_fn()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 348, in step
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] model_output = self.model_executor.sample_tokens(grammar_output)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 107, in sample_tokens
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return self.collective_rpc(
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 75, in collective_rpc
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 479, in run_method
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return func(*args, **kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return func(*args, **kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 540, in sample_tokens
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return self.model_runner.sample_tokens(grammar_output)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return func(*args, **kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 3187, in sample_tokens
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ) = self._bookkeeping_sync(
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 2611, in _bookkeeping_sync
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] valid_sampled_token_ids = self._to_list(sampled_token_ids)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5359, in _to_list
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] self.transfer_event.synchronize()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] torch.AcceleratorError: CUDA error: an illegal instruction was encountered
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] Search for `cudaErrorIllegalInstruction' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
I launched a chat window:
docker exec -ti docker exec -ti naughty_bhaskara bash
root@localhost:/workspace# vllm chat
/usr/local/lib/python3.12/dist-packages/torchvision/io/image.py:14: UserWarning: Failed to load image Python extension: 'Could not load this library: /usr/local/lib/python3.12/dist-packages/torchvision/image.so'If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
warn(
[2026-03-06 12:53:26] INFO _client.py:1025: HTTP Request: GET http://localhost:8000/v1/models "HTTP/1.1 200 OK"
Using model: nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4
Please enter a message for the chat model:
> Tell me about SOC2 compliance needs in enterprise applications. Give me a list of common questions during an audit of compliance, and system requirements for our software application.
[2026-03-06 12:54:25] INFO _client.py:1025: HTTP Request: POST http://localhost:8000/v1/chat/completions "HTTP/1.1 200 OK"
Traceback (most recent call last):
File "/usr/local/bin/vllm", line 7, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 73, in main
args.dispatch_function(args)
File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/openai.py", line 152, in cmd
output = _print_chat_stream(stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/openai.py", line 49, in _print_chat_stream
for chunk in stream:
File "/usr/local/lib/python3.12/dist-packages/openai/_streaming.py", line 46, in __iter__
for item in self._iterator:
File "/usr/local/lib/python3.12/dist-packages/openai/_streaming.py", line 92, in __stream__
raise APIError(
openai.APIError: EngineCore encountered an issue. See stack trace (above) for the root cause.
I opened the vllm serve window to find this error:
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [dump_input.py:72] Dumping input data for V1 LLM engine (v0.12.0+35a9f223.nv25.12.post1) with config: model='nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4', speculative_config=None, tokenizer='nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=262144, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, disable_custom_all_reduce=False, quantization=modelopt_fp4, enforce_eager=False, kv_cache_dtype=fp8, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='nano_v3', reasoning_parser_plugin='/tmp/nano_v3_reasoning_parser.py', 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), seed=0, served_model_name=nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4, enable_prefix_caching=False, enable_chunked_prefill=True, pooler_config=None, compilation_config={'level': None, 'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '/root/.cache/vllm/torch_compile_cache/12d1aea5f2', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::kda_attention', 'vllm::sparse_attn_indexer'], 'compile_mm_encoder': False, 'compile_sizes': [], 'inductor_compile_config': {'enable_auto_functionalized_v2': 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, 'eliminate_noops': True, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>}, 'local_cache_dir': '/root/.cache/vllm/torch_compile_cache/12d1aea5f2/rank_0_0/backbone'},
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [dump_input.py:79] Dumping scheduler output for model execution: SchedulerOutput(scheduled_new_reqs=[], scheduled_cached_reqs=CachedRequestData(req_ids=['chatcmpl-989ec1ccffc77bb2'], resumed_req_ids=[], new_token_ids=[], all_token_ids={}, new_block_ids=[null], num_computed_tokens=[62], num_output_tokens=[15]), num_scheduled_tokens={chatcmpl-989ec1ccffc77bb2: 1}, total_num_scheduled_tokens=1, scheduled_spec_decode_tokens={}, scheduled_encoder_inputs={}, num_common_prefix_blocks=[0, 0, 0, 0, 0], finished_req_ids=[], free_encoder_mm_hashes=[], preempted_req_ids=[], pending_structured_output_tokens=false, kv_connector_metadata=null, ec_connector_metadata=null)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [dump_input.py:81] Dumping scheduler stats: SchedulerStats(num_running_reqs=1, num_waiting_reqs=0, step_counter=0, current_wave=0, kv_cache_usage=0.0009861932938856066, prefix_cache_stats=PrefixCacheStats(reset=False, requests=0, queries=0, hits=0, preempted_requests=0, preempted_queries=0, preempted_hits=0), connector_prefix_cache_stats=None, kv_cache_eviction_events=[], spec_decoding_stats=None, kv_connector_stats=None, waiting_lora_adapters={}, running_lora_adapters={})
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] EngineCore encountered a fatal error.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] Traceback (most recent call last):
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 836, in run_engine_core
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] engine_core.run_busy_loop()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 863, in run_busy_loop
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] self._process_engine_step()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 892, in _process_engine_step
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] outputs, model_executed = self.step_fn()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 348, in step
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] model_output = self.model_executor.sample_tokens(grammar_output)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 107, in sample_tokens
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return self.collective_rpc(
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/uniproc_executor.py", line 75, in collective_rpc
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] result = run_method(self.driver_worker, method, args, kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/serial_utils.py", line 479, in run_method
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return func(*args, **kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return func(*args, **kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 540, in sample_tokens
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return self.model_runner.sample_tokens(grammar_output)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] return func(*args, **kwargs)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 3187, in sample_tokens
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ) = self._bookkeeping_sync(
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 2611, in _bookkeeping_sync
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] valid_sampled_token_ids = self._to_list(sampled_token_ids)
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 5359, in _to_list
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] self.transfer_event.synchronize()
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] torch.AcceleratorError: CUDA error: an illegal instruction was encountered
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] Search for `cudaErrorIllegalInstruction' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] For debugging consider passing CUDA_LAUNCH_BLOCKING=1
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845]
Seems like the root cause is this error message:
(EngineCore_DP0 pid=194) ERROR 03-06 12:54:55 [core.py:845] torch.AcceleratorError: CUDA error: an illegal instruction was encountered
Any thoughts on how to resolve this issue?