Skip to content
Open
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
1f6f327
Fixed MultiSyncCollector set_seed and split_trajs issue
ParamThakkar123 Jan 19, 2026
e2aaf6b
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 20, 2026
40642d5
Revert "Fixed MultiSyncCollector set_seed and split_trajs issue"
ParamThakkar123 Jan 20, 2026
efdc89c
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 21, 2026
628f44b
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 23, 2026
a476a77
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 24, 2026
0f565c5
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 25, 2026
7fb086b
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 26, 2026
ff72793
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 28, 2026
69001ed
Added Support for index_select in TensorSpec
ParamThakkar123 Jan 28, 2026
4ab13be
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 29, 2026
2e8face
rebase
ParamThakkar123 Jan 29, 2026
56e1529
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Jan 31, 2026
ba6a19f
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 4, 2026
8be545b
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 5, 2026
54abe29
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 8, 2026
6b099f5
Add OpenEnv environments
ParamThakkar123 Feb 9, 2026
8f41393
Updates
ParamThakkar123 Feb 9, 2026
4a9a6e7
Merge branch 'main' of https://github.com/pytorch/rl into add/openenv
ParamThakkar123 Feb 10, 2026
9b8b119
Using ChatEnv as base class
ParamThakkar123 Feb 10, 2026
f790843
Merge branch 'main' of https://github.com/pytorch/rl into add/openenv
ParamThakkar123 Feb 10, 2026
cf6940c
Added History
ParamThakkar123 Feb 10, 2026
16ee592
Merge branch 'main' of https://github.com/pytorch/rl into add/openenv
ParamThakkar123 Feb 11, 2026
a6c0fda
Fixes
ParamThakkar123 Feb 11, 2026
9af50f2
Fixed circular import error
ParamThakkar123 Feb 12, 2026
78dd00a
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 12, 2026
4918107
Merge branch 'main' of https://github.com/pytorch/rl into add/openenv
ParamThakkar123 Feb 12, 2026
93c67a0
edits
vmoens Feb 13, 2026
f3eb268
Merge remote-tracking branch 'origin/main' into add/openenv
vmoens Feb 13, 2026
94fe080
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 13, 2026
e1212f2
Merge branch 'main' of https://github.com/ParamThakkar123/rl into add…
ParamThakkar123 Feb 17, 2026
8902b83
Merge branch 'main' of https://github.com/pytorch/rl into add/openenv
ParamThakkar123 Feb 17, 2026
1619008
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 18, 2026
3aeaefe
Merge branch 'main' of https://github.com/pytorch/rl
ParamThakkar123 Feb 26, 2026
3ecdf9f
Merge branch 'main' of https://github.com/ParamThakkar123/rl into add…
ParamThakkar123 Feb 26, 2026
dfaa211
Rebase, and circular imports fixed
ParamThakkar123 May 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/unittest/linux_libs/scripts_openenv/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
channels:
- pytorch
- defaults
dependencies:
- pip
- pip:
- hypothesis
- future
- cloudpickle
- pytest
- pytest-cov
- pytest-mock
- pytest-instafail
- pytest-rerunfailures
- pytest-error-for-skips
- expecttest
- pybind11[global]
- pyyaml
- scipy
- hydra-core
- openenv-core
60 changes: 60 additions & 0 deletions .github/unittest/linux_libs/scripts_openenv/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/usr/bin/env bash

unset PYTORCH_VERSION
# For unittest, nightly PyTorch is used as the following section,
# so no need to set PYTORCH_VERSION.
# In fact, keeping PYTORCH_VERSION forces us to hardcode PyTorch version in config.

set -e

eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env

if [ "${CU_VERSION:-}" == cpu ] ; then
version="cpu"
else
if [[ ${#CU_VERSION} -eq 4 ]]; then
CUDA_VERSION="${CU_VERSION:2:1}.${CU_VERSION:3:1}"
elif [[ ${#CU_VERSION} -eq 5 ]]; then
CUDA_VERSION="${CU_VERSION:2:2}.${CU_VERSION:4:1}"
fi
echo "Using CUDA $CUDA_VERSION as determined by CU_VERSION ($CU_VERSION)"
version="$(python -c "print('.'.join(\"${CUDA_VERSION}\".split('.')[:2]))")"
fi

# submodules
git submodule sync && git submodule update --init --recursive

printf "Installing PyTorch with cu128"
if [[ "$TORCH_VERSION" == "nightly" ]]; then
if [ "${CU_VERSION:-}" == cpu ] ; then
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U
else
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128 -U
fi
elif [[ "$TORCH_VERSION" == "stable" ]]; then
if [ "${CU_VERSION:-}" == cpu ] ; then
pip3 install torch --index-url https://download.pytorch.org/whl/cpu
else
pip3 install torch --index-url https://download.pytorch.org/whl/cu128
fi
else
printf "Failed to install pytorch"
exit 1
fi

# install tensordict
if [[ "$RELEASE" == 0 ]]; then
pip3 install git+https://github.com/pytorch/tensordict.git
else
pip3 install tensordict
fi

# smoke test
python -c "import functorch;import tensordict"

printf "* Installing torchrl\n"
python -m pip install -e . --no-build-isolation

# smoke test
python -c "import torchrl"
6 changes: 6 additions & 0 deletions .github/unittest/linux_libs/scripts_openenv/post_process.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

set -e

eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env
Loading
Loading