"vscode:/vscode.git/clone" did not exist on "8922371e27c1e099f7e1daed4905a9a2ebe66f17"
Commit 326e08de authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Free used recycling tensors

parent a7e631cc
......@@ -233,7 +233,7 @@ class AlphaFold(nn.Module):
z = z + z_prev_emb
# Possibly prevents memory fragmentation
del m_1_prev_emb, z_prev_emb
del m_1_prev, z_prev, x_prev, m_1_prev_emb, z_prev_emb
# Embed the templates + merge with MSA/pair embeddings
if self.config.template.enabled:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment