misc: fix the req_to_token member change (#967)
This commit is contained in:
@@ -32,7 +32,6 @@ class ReqToTokenPool:
|
||||
self.req_to_token = torch.empty(
|
||||
(size, max_context_len), dtype=torch.int32, device="cuda"
|
||||
)
|
||||
self.can_use_mem_size = size
|
||||
|
||||
def alloc(self, need_size: int) -> List[int]:
|
||||
if need_size > len(self.free_slots):
|
||||
|
||||
Reference in New Issue
Block a user