Skip to content

Commit

Permalink
minor: remove list tensors
Browse files Browse the repository at this point in the history
  • Loading branch information
Zymrael committed Jan 10, 2024
1 parent 75efed0 commit e391e25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ def prefill_via_direct_recurrence(
state = poles * state + x1v_[:, :, i]
output[:, :, i] = torch.sum(residues * state, dim=-2)[..., 0] # .real

list_tensors(self.layer_idx)
inference_params.state_dict[self.layer_idx] = torch.view_as_complex(state)

return output
Expand Down

0 comments on commit e391e25

Please sign in to comment.