[FEAT]Support reset prefix cache by specified device (#15003)
This commit is contained in:
@@ -305,7 +305,7 @@ class DeviceAwareBlockAllocator(ABC):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def reset_prefix_cache(self) -> bool:
|
||||
def reset_prefix_cache(self, device: Optional[Device] = None) -> bool:
|
||||
"""Reset prefix cache."""
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user