[Fix] fix the typo bug for window attention (#1106)
This commit is contained in:
@@ -337,7 +337,7 @@ class ModelRunner:
|
|||||||
use_tensor_cores=use_tensor_cores,
|
use_tensor_cores=use_tensor_cores,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
self.flashinfer_workspace_buffers = torch.empty(
|
self.flashinfer_workspace_buffer = torch.empty(
|
||||||
global_config.flashinfer_workspace_size,
|
global_config.flashinfer_workspace_size,
|
||||||
dtype=torch.uint8,
|
dtype=torch.uint8,
|
||||||
device="cuda",
|
device="cuda",
|
||||||
|
|||||||
Reference in New Issue
Block a user