[P/D]Make kv-transfer env variable take effect & Fix load-balance proxy (#3981)

### What this PR does / why we need it?
Make kv-transfer env variable take effect and Fix load-balance proxy.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
By CI.


- vLLM version: v0.11.0
- vLLM main:
83f478bb19

---------

Signed-off-by: liziyu <liziyu16@huawei.com>
Signed-off-by: nwpu-zxr <zhouxuerong2@huawei.com>
Co-authored-by: liziyu <liziyu16@huawei.com>
This commit is contained in:
zxr2333
2025-11-06 12:02:47 +08:00
committed by GitHub
parent 737cad2b6b
commit b206e831e9
7 changed files with 33 additions and 13 deletions

View File

@@ -561,9 +561,12 @@ async def metaserver(request: Request):
max_retries=global_args.max_retries,
base_delay=global_args.retry_delay)
proxy_state.release_prefiller(prefiller_idx, prefiller_score)
proxy_state.release_prefiller_kv(prefiller_idx,prefiller_score)
except Exception as e:
logger.error(f"Post metaserver failed with: {str(e)}")
proxy_state.release_prefiller(prefiller_idx, prefiller_score)
proxy_state.release_prefiller_kv(prefiller_idx, prefiller_score)
if __name__ == '__main__':