Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 13, 2024
1 parent 9468d56 commit 95ffff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sota-implementations/discrete_sac/discrete_sac.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def update(sampled_tensordict):
with timeit("update"):
torch.compiler.cudagraph_mark_step_begin()
sampled_tensordict = sampled_tensordict.to(device)
loss_out = update(sampled_tensordict)
loss_out = update(sampled_tensordict).clone()

tds.append(loss_out)

Expand Down

0 comments on commit 95ffff3

Please sign in to comment.