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
2 parents 163ca84 + 836b83c commit 2a802dd
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 2a802dd

Please sign in to comment.