`````
INFO 02-12 17:09:38 [__init__.py:217] Automatically detected platform rocm.
(EngineCore_DP0 pid=476) INFO 02-12 17:09:45 [core.py:644] Waiting for init message from front-end.
(EngineCore_DP0 pid=476) INFO 02-12 17:09:45 [core.py:78] Initializing a V1 LLM engine (v0.11.0) with config: model='/model', speculative_config=None, tokenizer='/model', skip_tokenizer_ini
t=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.float16, max_seq_len=8192, download_dir=None, load_format=auto, tensor_parallel_siz
e=1, pipeline_parallel_size=1, data_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=True, kv_cache_dtype=auto, device_config=cuda, structured_outputs_conf
ig=StructuredOutputsConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser=''), observability_config=Observabilit
yConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None), seed=0, served_model_name=bge-m3, enable_prefix_caching=False, chunked_prefill_enable
d=False, pooler_config=PoolerConfig(pooling_type='CLS', normalize=True, dimensions=None, enable_chunked_processing=None, max_embed_len=None, activation=None, logit_bias=None, softmax=None,
step_tag_id=None, returned_token_ids=None), compilation_config={"level":0,"debug_dump_path":"","cache_dir":"","backend":"","custom_ops":[],"splitting_ops":null,"use_inductor":true,"compile_
sizes":[],"inductor_compile_config":{},"inductor_passes":{},"cudagraph_mode":0,"use_cudagraph":true,"cudagraph_num_of_warmups":0,"cudagraph_capture_sizes":[],"cudagraph_copy_inputs":false,"
full_cuda_graph":false,"use_inductor_graph_partition":false,"pass_config":{},"max_capture_size":0,"local_cache_dir":null}
(EngineCore_DP0 pid=476) WARNING 02-12 17:09:46 [worker_base.py:40] VLLM_RANK0_NUMA is unset or set incorrectly, vllm will not bind to numa! VLLM_RANK0_NUMA = -1
(EngineCore_DP0 pid=476) INFO 02-12 17:09:46 [worker_base.py:287] ########## 476 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, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 6
7, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111
, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 14
9, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 1
87, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254}
(EngineCore_DP0 pid=476) INFO 02-12 17:09:46 [worker_base.py:288] ########## 476 process(rank0) is running on memnode(s): {0, 1, 2, 3, 4, 5, 6, 7}
get_mempolicy: Operation not permitted
(EngineCore_DP0 pid=476) INFO 02-12 17:09:54 [parallel_state.py:1212] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, TP rank 0, EP rank 0
(EngineCore_DP0 pid=476) INFO 02-12 17:09:55 [gpu_model_runner.py:2608] Starting to load model /model...
(EngineCore_DP0 pid=476) INFO 02-12 17:09:55 [gpu_model_runner.py:2640] Loading model from scratch...
(EngineCore_DP0 pid=476) INFO 02-12 17:09:55 [rocm.py:262] Using Flash Attention backend on V1 engine. (only supports block size 64)
Loading pt checkpoint shards: 0% Completed | 0/1 [00:00, ?it/s]
Loading pt checkpoint shards: 100% Completed | 1/1 [00:01<00:00, 1.67s/it]
Loading pt checkpoint shards: 100% Completed | 1/1 [00:01<00:00, 1.67s/it]
(EngineCore_DP0 pid=476)
(EngineCore_DP0 pid=476) INFO 02-12 17:10:01 [default_loader.py:267] Loading weights took 5.38 seconds
(EngineCore_DP0 pid=476) INFO 02-12 17:10:01 [gpu_model_runner.py:2659] Model loading took 1.0558 GiB and 5.452642 seconds
(EngineCore_DP0 pid=476) WARNING 02-12 17:10:01 [cudagraph_dispatcher.py:106] cudagraph dispatching keys are not initialized. No cudagraph will be used.
(EngineCore_DP0 pid=476) INFO 02-12 17:10:06 [core.py:211] init engine (profile, create kv cache, warmup model) took 4.94 seconds
(EngineCore_DP0 pid=476) INFO 02-12 17:10:08 [config.py:841] Found sentence-transformers tokenize configuration.
(EngineCore_DP0 pid=476) INFO 02-12 17:10:08 [core.py:122] Disabling chunked prefill for model without KVCache
(EngineCore_DP0 pid=476) INFO 02-12 17:10:08 [__init__.py:396] Cudagraph is disabled under eager mode
(EngineCore_DP0 pid=476) INFO 02-12 17:10:08 [__init__.py:455] Only "last" pooling supports chunked prefill and prefix caching; disabling both.
(APIServer pid=25) INFO 02-12 17:10:08 [api_server.py:1634] Supported_tasks: ['embed', 'encode']
(APIServer pid=25) INFO 02-12 17:10:08 [api_server.py:1912] Starting vLLM API server 0 on http://0.0.0.0:8000
```
调用bge模型,会报错:
```(APIServer pid=25) INFO: 172.17.0.1:64300 - "POST /v1/embeddings HTTP/1.1" 500 Internal Server Error
(APIServer pid=25) ERROR: Exception in ASGI application
(APIServer pid=25) Traceback (most recent call last):
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 416, in run_asgi
(APIServer pid=25) result = await app( # type: ignore[func-returns-value]
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
(APIServer pid=25) return await self.app(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1135, in __call__
(APIServer pid=25) await super().__call__(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 107, in __call__
(APIServer pid=25) await self.middleware_stack(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
(APIServer pid=25) raise exc
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
(APIServer pid=25) await self.app(scope, receive, _send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
(APIServer pid=25) await self.app(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/prometheus_fastapi_instrumentator/middleware.py", line 177, in __call__
(APIServer pid=25) raise exc
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/prometheus_fastapi_instrumentator/middleware.py", line 175, in __call__
(APIServer pid=25) await self.app(scope, receive, send_wrapper)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 63, in __call__
(APIServer pid=25) await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
(APIServer pid=25) raise exc
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
(APIServer pid=25) await app(scope, receive, sender)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
(APIServer pid=25) await self.app(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 716, in __call__
(APIServer pid=25) await self.middleware_stack(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 736, in app
(APIServer pid=25) await route.handle(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 290, in handle
(APIServer pid=25) await self.app(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 120, in app
(APIServer pid=25) await wrap_app_handling_exceptions(app, request)(scope, receive, send)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
(APIServer pid=25) raise exc
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
(APIServer pid=25) await app(scope, receive, sender)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 106, in app
(APIServer pid=25) response = await f(request)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 427, in app
(APIServer pid=25) raw_response = await run_endpoint_function(
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 313, in run_endpoint_function
(APIServer pid=25) return await dependant.call(**values)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/utils.py", line 86, in wrapper
(APIServer pid=25) return handler_task.result()
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/utils.py", line 109, in wrapper
(APIServer pid=25) return await func(*args, **kwargs)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 696, in create_embedding
(APIServer pid=25) return JSONResponse(content=generator.model_dump())
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 189, in __init__
(APIServer pid=25) super().__init__(content, status_code, headers, media_type, background)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 46, in __init__
(APIServer pid=25) self.body = self.render(content)
(APIServer pid=25) File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 192, in render
(APIServer pid=25) return json.dumps(
(APIServer pid=25) File "/usr/lib/python3.10/json/__init__.py", line 238, in dumps
(APIServer pid=25) **kw).encode(obj)
(APIServer pid=25) File "/usr/lib/python3.10/json/encoder.py", line 199, in encode
(APIServer pid=25) chunks = self.iterencode(o, _one_shot=True)
(APIServer pid=25) File "/usr/lib/python3.10/json/encoder.py", line 257, in iterencode
(APIServer pid=25) return _iterencode(o, 0)
(APIServer pid=25) ValueError: Out of range float values are not JSON compliant
(APIServer pid=25) INFO: 172.17.0.1:64290 - "POST /v1/embeddings HTTP/1.1" 500 Internal Server Error
```