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:
@@ -829,7 +829,7 @@ class BlockPool:
|
|||||||
|
|
||||||
def reset_prefix_cache(self) -> bool:
|
def reset_prefix_cache(self) -> bool:
|
||||||
"""Reset prefix cache. This function may be used in RLHF
|
"""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.
|
or used for resetting prefix caching status for benchmarking.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|||||||
Reference in New Issue
Block a user