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 15, 2024
1 parent 8a623ac commit 5f4cdfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sota-implementations/iql/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def make_offline_replay_buffer(rb_cfg):
dataset_id=rb_cfg.dataset,
split_trajs=False,
batch_size=rb_cfg.batch_size,
sampler=SamplerWithoutReplacement(drop_last=False),
# We use drop_last to avoid recompiles (and dynamic shapes)
sampler=SamplerWithoutReplacement(drop_last=True),
prefetch=4,
direct_download=True,
)
Expand Down

0 comments on commit 5f4cdfe

Please sign in to comment.