Skip to content

Commit

Permalink
Change config param cuda_graph to enable_cuda_graph
Browse files Browse the repository at this point in the history
Signed-off-by: Vasudevan Rengasamy <[email protected]>
  • Loading branch information
vasunvidia committed Apr 10, 2024
1 parent 6b8a5da commit 6834b18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def forward(
context = None

# CUDA graph requires returned values to be Tensors
if self.config.cuda_graph and self.training:
if self.config.enable_cuda_graph and self.training:
return hidden_states
return hidden_states, context

Expand Down

0 comments on commit 6834b18

Please sign in to comment.