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 17, 2024
1 parent ce2de43 commit 595808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sota-implementations/cql/discrete_cql_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def update(sampled_tensordict):
sampled_tensordict = sampled_tensordict.to(device)
with timeit("update"):
torch.compiler.cudagraph_mark_step_begin()
loss_dict = update(sampled_tensordict)
loss_dict = update(sampled_tensordict).clone()
tds.append(loss_dict)

# Update priority
Expand Down

0 comments on commit 595808e

Please sign in to comment.