Skip to content

Commit

Permalink
fix pp release_output (#54672)
Browse files Browse the repository at this point in the history
  • Loading branch information
haohongxiang authored Jun 15, 2023
1 parent 8b818d0 commit 6b778b9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ def can_free(t):
return (
t is not None
and isinstance(t, paddle.Tensor)
and t._is_initialized()
and t.inplace_version == 0
)

Expand Down

0 comments on commit 6b778b9

Please sign in to comment.