Skip to content

Commit

Permalink
clone so3 embedding object
Browse files Browse the repository at this point in the history
  • Loading branch information
rayg1234 committed Jul 25, 2024
1 parent bceb1a5 commit 9675b28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def forward(
batch, # for GraphDropPath
node_offset: int = 0,
):
output_embedding = x
output_embedding = x.clone()

x_res = output_embedding.embedding
output_embedding.embedding = self.norm_1(output_embedding.embedding)
Expand Down

0 comments on commit 9675b28

Please sign in to comment.