```
root@bogon:/workspace# VLLM_USE_V1=0 vllm serve /soft/models/models/Qwen/Qwen3-Reranker-0.6B --host 0.0.0.0 --port 8002 --served-model-name Qwen3-Reranker-0.6B --trust-remote-code --max-model-len 4096 --api-key root@8301
INFO 03-20 09:23:06 [__init__.py:245] Automatically detected platform rocm.
INFO 03-20 09:23:11 [api_server.py:1395] vLLM API server version 0.9.2
INFO 03-20 09:23:11 [cli_args.py:325] non-default args: {'host': '0.0.0.0', 'port': 8002, 'api_key': 'root@8301', 'model': '/soft/models/models/Qwen/Qwen3-Reranker-0.6B', 'trust_remote_code': True, 'max_model_len': 4096, 'served_model_name': ['Qwen3-Reranker-0.6B']}
INFO 03-20 09:23:26 [config.py:850] This model supports multiple tasks: {'classify', 'generate', 'reward', 'embed'}. Defaulting to 'generate'.
`torch_dtype` is deprecated! Use `dtype` instead!
INFO 03-20 09:23:26 [config.py:1488] Using max model len 4096
INFO 03-20 09:23:27 [api_server.py:268] Started engine process with PID 16114
INFO 03-20 09:23:33 [__init__.py:245] Automatically detected platform rocm.
INFO 03-20 09:23:37 [llm_engine.py:234] Initializing a V0 LLM engine (v0.9.2) with config: model='/soft/models/models/Qwen/Qwen3-Reranker-0.6B', speculative_config=None, tokenizer='/soft/models/models/Qwen/Qwen3-Reranker-0.6B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config={}, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, decoding_config=DecodingConfig(backend='xgrammar', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_backend=''), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None), seed=None, served_model_name=Qwen3-Reranker-0.6B, num_scheduler_steps=1, multi_step_stream_outputs=True, enable_prefix_caching=None, chunked_prefill_enabled=False, use_async_output_proc=True, pooler_config=None, compilation_config={"level":0,"debug_dump_path":"","cache_dir":"","backend":"","custom_ops":[],"splitting_ops":[],"use_inductor":true,"compile_sizes":[],"inductor_compile_config":{},"inductor_passes":{},"use_cudagraph":false,"cudagraph_num_of_warmups":0,"cudagraph_capture_sizes":[256,248,240,232,224,216,208,200,192,184,176,168,160,152,144,136,128,120,112,104,96,88,80,72,64,56,48,40,32,24,16,8,4,2,1],"cudagraph_copy_inputs":false,"full_cuda_graph":false,"max_capture_size":256,"local_cache_dir":null}, use_cached_outputs=True,
INFO 03-20 09:23:38 [rocm.py:305] Using ROCmFlashAttention backend.
WARNING 03-20 09:23:38 [worker_base.py:42] VLLM_RANK0_NUMA is unset or set incorrectly, vllm will not bind to numa! VLLM_RANK0_NUMA = -1
INFO 03-20 09:23:38 [worker_base.py:654] ########## 16114 process(rank0) is running on CPU(s): {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47}
INFO 03-20 09:23:38 [worker_base.py:655] ########## 16114 process(rank0) is running on memnode(s): {0, 1}
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0320 09:23:38.361647 16114 ProcessGroupGloo.cpp:715] Warning: Unable to resolve hostname to a (local) address. Using the loopback address as fallback. Manually set the network interface to bind to with GLOO_SOCKET_IFNAME. (function operator())
INFO 03-20 09:23:38 [parallel_state.py:1153] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, TP rank 0, EP rank 0
INFO 03-20 09:23:38 [model_runner.py:1186] Starting to load model /soft/models/models/Qwen/Qwen3-Reranker-0.6B...
Loading safetensors checkpoint shards: 0% Completed | 0/1 [00:00, ?it/s]
Loading safetensors checkpoint shards: 100% Completed | 1/1 [00:00<00:00, 1.04it/s]
Loading safetensors checkpoint shards: 100% Completed | 1/1 [00:00<00:00, 1.04it/s]
INFO 03-20 09:23:39 [default_loader.py:272] Loading weights took 0.99 seconds
INFO 03-20 09:23:40 [model_runner.py:1218] Model loading took 1.1196 GiB and 1.166477 seconds
rocBLAS error: Tensile solution found, but exception thrown for { a: 0x7f23a0e00000, a_type: "bf16_r", b: 0x7f23d1200000, b_type: "bf16_r", c: 0x7f23c9800000, c_type: "bf16_r", d: 0x7f23c9800000, d_type: "bf16_r", compute_type: "f32_r", transA: 'N', transB: 'N', M: 4096, N: 4096, K: 1024, alpha: 1, row_stride_a: 1, col_stride_a: 4128, row_stride_b: 1, col_stride_b: 1024, row_stride_c: 1, col_stride_c: 4096, row_stride_d: 1, col_stride_d: 4096, beta: 0, batch_count: 1, strided_batch: true, stride_a: 1, stride_b: 1, stride_c: 1, stride_d: 1, offset_a: 0, offset_b: 0, offset_c: 0, offset_d: 0, atomics_mode: atomics_allowed }
Kernel Cijk_Ailk_Bljk_BBH_MT384x128x32_SE_AMAS3_BL1_DRB16_ALT_KME0_ETSP_EPS1_GRVW4_GSU1_ISA928_IU1_KME_GRCMn2_K1_KLA_LDL1_LRVW4_MAC_MMAC_BW0_MMAC_KME1_NLCA3_NLCB1_OLDSR0_PGR1_PLR1_RK0_SU32_SUM0_SUS256_SVW4_TT12_8_USFGRO0_USSB0_VAW2_VSn1_VW4_WG32_16_1_WGM1 not found in any loaded module.
This message will be only be displayed once, unless the ROCBLAS_VERBOSE_TENSILE_ERROR environment variable is set.
ERROR 03-20 09:23:43 [engine.py:476] CUDA error: HIPBLAS_STATUS_INTERNAL_ERROR when calling `hipblasGemmEx( handle, opa, opb, m, n, k, &falpha, a, HIP_R_16BF, lda, b, HIP_R_16BF, ldb, &fbeta, c, HIP_R_16BF, ldc, compute_type, HIPBLAS_GEMM_DEFAULT)`
ERROR 03-20 09:23:43 [engine.py:476] Traceback (most recent call last):
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 464, in run_mp_engine
ERROR 03-20 09:23:43 [engine.py:476] engine = MQLLMEngine.from_vllm_config(
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 139, in from_vllm_config
ERROR 03-20 09:23:43 [engine.py:476] return cls(
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 93, in __init__
ERROR 03-20 09:23:43 [engine.py:476] self.engine = LLMEngine(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/engine/llm_engine.py", line 276, in __init__
ERROR 03-20 09:23:43 [engine.py:476] self._initialize_kv_caches()
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/engine/llm_engine.py", line 424, in _initialize_kv_caches
ERROR 03-20 09:23:43 [engine.py:476] self.model_executor.determine_num_available_blocks())
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 104, in determine_num_available_blocks
ERROR 03-20 09:23:43 [engine.py:476] results = self.collective_rpc("determine_num_available_blocks")
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/executor/uniproc_executor.py", line 57, in collective_rpc
ERROR 03-20 09:23:43 [engine.py:476] answer = run_method(self.driver_worker, method, args, kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/utils/__init__.py", line 2918, in run_method
ERROR 03-20 09:23:43 [engine.py:476] return func(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR 03-20 09:23:43 [engine.py:476] return func(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 257, in determine_num_available_blocks
ERROR 03-20 09:23:43 [engine.py:476] self.model_runner.profile_run()
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR 03-20 09:23:43 [engine.py:476] return func(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 1315, in profile_run
ERROR 03-20 09:23:43 [engine.py:476] self._dummy_run(max_num_batched_tokens, max_num_seqs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 1441, in _dummy_run
ERROR 03-20 09:23:43 [engine.py:476] self.execute_model(model_input, kv_caches, intermediate_tensors)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
ERROR 03-20 09:23:43 [engine.py:476] return func(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 1881, in execute_model
ERROR 03-20 09:23:43 [engine.py:476] hidden_or_intermediate_states = model_executable(
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
ERROR 03-20 09:23:43 [engine.py:476] return self._call_impl(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
ERROR 03-20 09:23:43 [engine.py:476] return forward_call(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen3.py", line 391, in forward
ERROR 03-20 09:23:43 [engine.py:476] hidden_states = self.model(input_ids, positions, intermediate_tensors,
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/compilation/decorators.py", line 179, in __call__
ERROR 03-20 09:23:43 [engine.py:476] return self.forward(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen2.py", line 379, in forward
ERROR 03-20 09:23:43 [engine.py:476] hidden_states, residual = layer(
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
ERROR 03-20 09:23:43 [engine.py:476] return self._call_impl(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
ERROR 03-20 09:23:43 [engine.py:476] return forward_call(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen3.py", line 304, in forward
ERROR 03-20 09:23:43 [engine.py:476] hidden_states = self.self_attn(
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
ERROR 03-20 09:23:43 [engine.py:476] return self._call_impl(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
ERROR 03-20 09:23:43 [engine.py:476] return forward_call(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen3.py", line 190, in forward
ERROR 03-20 09:23:43 [engine.py:476] qkv, _ = self.qkv_proj(hidden_states)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
ERROR 03-20 09:23:43 [engine.py:476] return self._call_impl(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
ERROR 03-20 09:23:43 [engine.py:476] return forward_call(*args, **kwargs)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 777, in forward
ERROR 03-20 09:23:43 [engine.py:476] output_parallel = self.quant_method.apply(self, input_, bias)
ERROR 03-20 09:23:43 [engine.py:476] File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 260, in apply
ERROR 03-20 09:23:43 [engine.py:476] return dispatch_unquantized_gemm()(x, layer.weight.t(), bias)
ERROR 03-20 09:23:43 [engine.py:476] RuntimeError: CUDA error: HIPBLAS_STATUS_INTERNAL_ERROR when calling `hipblasGemmEx( handle, opa, opb, m, n, k, &falpha, a, HIP_R_16BF, lda, b, HIP_R_16BF, ldb, &fbeta, c, HIP_R_16BF, ldc, compute_type, HIPBLAS_GEMM_DEFAULT)`
Process SpawnProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 478, in run_mp_engine
raise e from None
File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 464, in run_mp_engine
engine = MQLLMEngine.from_vllm_config(
File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 139, in from_vllm_config
return cls(
File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/engine.py", line 93, in __init__
self.engine = LLMEngine(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/engine/llm_engine.py", line 276, in __init__
self._initialize_kv_caches()
File "/usr/local/lib/python3.10/dist-packages/vllm/engine/llm_engine.py", line 424, in _initialize_kv_caches
self.model_executor.determine_num_available_blocks())
File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 104, in determine_num_available_blocks
results = self.collective_rpc("determine_num_available_blocks")
File "/usr/local/lib/python3.10/dist-packages/vllm/executor/uniproc_executor.py", line 57, in collective_rpc
answer = run_method(self.driver_worker, method, args, kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/utils/__init__.py", line 2918, in run_method
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 257, in determine_num_available_blocks
self.model_runner.profile_run()
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 1315, in profile_run
self._dummy_run(max_num_batched_tokens, max_num_seqs)
File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 1441, in _dummy_run
self.execute_model(model_input, kv_caches, intermediate_tensors)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 1881, in execute_model
hidden_or_intermediate_states = model_executable(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen3.py", line 391, in forward
hidden_states = self.model(input_ids, positions, intermediate_tensors,
File "/usr/local/lib/python3.10/dist-packages/vllm/compilation/decorators.py", line 179, in __call__
return self.forward(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen2.py", line 379, in forward
hidden_states, residual = layer(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen3.py", line 304, in forward
hidden_states = self.self_attn(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/qwen3.py", line 190, in forward
qkv, _ = self.qkv_proj(hidden_states)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 777, in forward
output_parallel = self.quant_method.apply(self, input_, bias)
File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 260, in apply
return dispatch_unquantized_gemm()(x, layer.weight.t(), bias)
RuntimeError: CUDA error: HIPBLAS_STATUS_INTERNAL_ERROR when calling `hipblasGemmEx( handle, opa, opb, m, n, k, &falpha, a, HIP_R_16BF, lda, b, HIP_R_16BF, ldb, &fbeta, c, HIP_R_16BF, ldc, compute_type, HIPBLAS_GEMM_DEFAULT)`
W0320 09:23:44.593300 16114 ProcessGroupNCCL.cpp:1279] Warning: WARNING: process group has NOT been destroyed before we destruct ProcessGroupNCCL. On normal program exit, the application should call destroy_process_group to ensure that any pending NCCL operations have finished in this process. In rare cases this process can exit before this point and block the progress of another member of the process group. This constraint has always been present, but this warning has only been added since PyTorch 2.4 (function operator())
Traceback (most recent call last):
File "/usr/local/bin/vllm", line 6, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/cli/main.py", line 65, in main
args.dispatch_function(args)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/cli/serve.py", line 55, in cmd
uvloop.run(run_server(args))
File "/usr/local/lib/python3.10/dist-packages/uvloop/__init__.py", line 69, in run
return loop.run_until_complete(wrapper())
File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
File "/usr/local/lib/python3.10/dist-packages/uvloop/__init__.py", line 48, in wrapper
return await main
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 1431, in run_server
await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 1451, in run_server_worker
async with build_async_engine_client(args, client_config) as engine_client:
File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 158, in build_async_engine_client
async with build_async_engine_client_from_engine_args(
File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 291, in build_async_engine_client_from_engine_args
raise RuntimeError(
RuntimeError: Engine process failed to start. See stack trace for the root cause.
root@bogon:/workspace#
root@bogon:/workspace#
```
这有 可以参考下