Skip to content

Commit

Permalink
[Feature] Support for in-place functionalization (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbegley authored Nov 30, 2022
1 parent 2788f06 commit dc6b736
Show file tree
Hide file tree
Showing 30 changed files with 1,328 additions and 2,063 deletions.
4 changes: 4 additions & 0 deletions .circleci/unittest/linux_libs/scripts_gym/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,9 @@ fi
# install tensordict
pip install git+https://github.com/pytorch-labs/tensordict

# smoke test
python -c "import tensordict"

printf "* Installing torchrl\n"
python setup.py develop
python -c "import torchrl"
2 changes: 2 additions & 0 deletions .circleci/unittest/linux_libs/scripts_gym/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -e
eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env

yum makecache && yum install libglvnd-devel mesa-libGL mesa-libGL-devel mesa-libEGL mesa-libEGL-devel glfw mesa-libOSMesa-devel glew glew-devel egl-utils freeglut xorg-x11-server-Xvfb -y

export PYTORCH_TEST_WITH_SLOW='1'
python -m torch.utils.collect_env
# Avoid error: "fatal: unsafe repository"
Expand Down
2 changes: 1 addition & 1 deletion .circleci/unittest/linux_libs/scripts_habitat/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fi
pip install git+https://github.com/pytorch-labs/tensordict

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

printf "* Installing torchrl\n"
pip3 install -e .
Expand Down
5 changes: 4 additions & 1 deletion .circleci/unittest/linux_libs/scripts_jumanji/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ else
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cu116 --force-reinstall
fi

# install tensordict
pip install git+https://github.com/pytorch-labs/tensordict

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

printf "* Installing torchrl\n"
pip3 install -e .
Expand Down
4 changes: 4 additions & 0 deletions .circleci/unittest/linux_olddeps/scripts_gym_0_13/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,9 @@ fi
# install tensordict
pip install git+https://github.com/pytorch-labs/tensordict

# smoke test
python -c "import tensordict"

printf "* Installing torchrl\n"
python setup.py develop
python -c "import torchrl"
Loading

0 comments on commit dc6b736

Please sign in to comment.