Remove redundant type conversion (#4513)
This commit is contained in:
@@ -69,7 +69,7 @@ class TpModelWorkerClient:
|
||||
self.future_token_ids_ct = 0
|
||||
self.future_token_ids_limit = self.max_running_requests * 3
|
||||
self.future_token_ids_map = torch.empty(
|
||||
(self.max_running_requests * 5,), dtype=torch.int32, device=self.device
|
||||
(self.max_running_requests * 5,), dtype=torch.int64, device=self.device
|
||||
)
|
||||
|
||||
# Launch threads
|
||||
|
||||
Reference in New Issue
Block a user