Fix grammar in BlockPool.reset_prefix_cache docstring: "to invalid" → "to invalidate" (#59886)

Signed-off-by: zhangchengzhucufe-dev <zhangchengzhucufe@gmail.com>
This commit is contained in:
zhangchengzhucufe-dev
2026-10-06 10:19:54 +00:00
committed by GitHub
parent 888074b42d
commit 68088ed392
+1 -1
View File
@@ -829,7 +829,7 @@ class BlockPool:
def reset_prefix_cache(self) -> bool:
"""Reset prefix cache. This function may be used in RLHF
flows to invalid prefix caching after the weights are updated,
flows to invalidate prefix caching after the weights are updated,
or used for resetting prefix caching status for benchmarking.
Returns: