[P/D]Remove mooncake kvpool unused parameter local_hostname (#5574)

### What this PR does / why we need it?
In mooncake kvpool, `local_hostname` is not used. Instead, the local IP
is obtained directly via `get_ip()`. Therefore, remove this parameter to
avoid confusion.

### How was this patch tested?

- vLLM version: v0.13.0
- vLLM main:
7157596103

Signed-off-by: LCAIZJ <leichao139636@163.com>
This commit is contained in:
Chao Lei
2026-01-05 20:18:59 +08:00
committed by GitHub
parent d86021f7b4
commit 473431e7e2

View File

@@ -76,7 +76,6 @@ class MooncakeBackend(Backend):
@dataclass
class MooncakeStoreConfig:
local_hostname: str
metadata_server: str
global_segment_size: Union[int, str]
local_buffer_size: int
@@ -89,7 +88,6 @@ class MooncakeStoreConfig:
with open(file_path) as file:
config = json.load(file)
return MooncakeStoreConfig(
local_hostname=config.get("local_hostname"),
metadata_server=config.get("metadata_server"),
global_segment_size=_parse_global_segment_size(
config.get("global_segment_size",