mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 11:02:05 +00:00
[fix] multi graphs capture error
This commit is contained in:
@@ -42,7 +42,6 @@ class CUDAGraphRunner:
|
||||
self.graph = torch.cuda.CUDAGraph()
|
||||
with torch.cuda.graph(self.graph, pool=memory_pool):
|
||||
hidden_states = self.model(
|
||||
# batch,
|
||||
input_tokens_ids,
|
||||
output_tensor,
|
||||
inputmetadata,
|
||||
|
Reference in New Issue
Block a user