Skip to content

Commit fda8184

Browse files
author
Vincent Moens
authored
Fix torchrl and tensordict requirements (#2986)
1 parent f5c28eb commit fda8184

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.ci/docker/requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ tensorboard
2828
jinja2==3.1.3
2929
pytorch-lightning
3030
torchx
31-
# TODO: use stable 0.5 when released
32-
-e git+https://github.com/pytorch/rl.git#egg=torchrl
33-
-e git+https://github.com/pytorch/tensordict.git#egg=tensordict
31+
torchrl==0.5.0
32+
tensordict==0.5.0
3433
ax-platform>==0.4.0
3534
nbformat>==5.9.2
3635
datasets

intermediate_source/pinmem_nonblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def pin_copy_to_device_nonblocking(*tensors):
556556
# CUDA-enabled device.
557557
#
558558
# In summary, copying data from CPU to GPU is safe when using ``non_blocking=True``, but for any other direction,
559-
# ``non_blocking=True`` can still be used but the user must make sure that a device synchronization is executed after
559+
# ``non_blocking=True`` can still be used but the user must make sure that a device synchronization is executed before
560560
# the data is accessed.
561561
#
562562
# Practical recommendations

0 commit comments

Comments
 (0)