Skip to content

Commit

Permalink
Update (base update)
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 13, 2024
1 parent 8920180 commit 836b83c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sota-implementations/decision_transformer/online_dt.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def update(data):
data = offline_buffer.sample()

with timeit("update"):
torch.compiler.cudagraph_mark_step_begin()
loss_vals = update(data.to(model_device))

scheduler.step()
Expand Down

0 comments on commit 836b83c

Please sign in to comment.