Skip to content

Commit

Permalink
Update examples/impala/impala_multi_node_ray.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Moens <vincentmoens@gmail.com>
  • Loading branch information
albertbou92 and vmoens authored Nov 22, 2023
1 parent 4a061b5 commit e7069e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/impala/impala_multi_node_ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def main(cfg: "DictConfig"): # noqa: F821
num_network_updates += 1

# Get a data batch
batch = batch.to(device)
batch = batch.to(device, non_blocking=True)

# Forward pass loss
loss = loss_module(batch)
Expand Down

0 comments on commit e7069e4

Please sign in to comment.