Skip to content

Commit 81293c6

Browse files
author
Vincent Moens
committed
[Versioning] Bump 0.8.0
ghstack-source-id: 74b3ef7 Pull-Request-resolved: #2920
1 parent d45d926 commit 81293c6

File tree

88 files changed

+147
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+147
-76
lines changed

.github/scripts/pre-build-script-win.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
pip install --upgrade setuptools
44

5-
export TORCHRL_BUILD_VERSION=0.7.0
5+
export TORCHRL_BUILD_VERSION=0.8.0
66

7+
${CONDA_RUN} pip install "pybind11[global]"
8+
${CONDA_RUN} conda install anaconda::cmake -y
79
${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U

.github/scripts/pre-build-script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
pip install --upgrade setuptools
44

5+
${CONDA_RUN} pip install "pybind11[global]"
6+
${CONDA_RUN} conda install anaconda::cmake -y
57
${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U

.github/scripts/td_script.sh

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
#!/bin/bash
22

3-
export TORCHRL_BUILD_VERSION=0.7.0
3+
export TORCHRL_BUILD_VERSION=0.8.0
44
pip install --upgrade setuptools
55

66
# Check if ARCH is set to aarch64
77
ARCH=${ARCH:-} # This sets ARCH to an empty string if it's not defined
88

99
if pip list | grep -q torch; then
1010
echo "Torch is installed."
11-
if [[ "$ARCH" == "aarch64" ]]; then
12-
${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U --no-deps
13-
else
14-
${CONDA_RUN} pip install tensordict-nightly -U
15-
fi
11+
${CONDA_RUN} pip install "pybind11[global]"
12+
${CONDA_RUN} conda install anaconda::cmake -y
13+
${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U --no-deps
1614
elif [[ -n "${SMOKE_TEST_SCRIPT:-}" ]]; then
1715
${CONDA_RUN} ${PIP_INSTALL_TORCH}
18-
if [[ "$ARCH" == "aarch64" ]]; then
19-
${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U --no-deps
20-
else
21-
${CONDA_RUN} pip install tensordict-nightly -U
22-
fi
16+
# TODO: revert when nightlies of tensordict are fixed
17+
# if [[ "$ARCH" == "aarch64" ]]; then
18+
${CONDA_RUN} pip install "pybind11[global]"
19+
${CONDA_RUN} conda install anaconda::cmake -y
20+
${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U --no-deps
2321
else
2422
echo "Torch is not installed - tensordict will be installed later."
2523
fi

.github/scripts/version_script.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
set TORCHRL_BUILD_VERSION=0.7.0
2+
set TORCHRL_BUILD_VERSION=0.8.0
33
echo TORCHRL_BUILD_VERSION is set to %TORCHRL_BUILD_VERSION%
44

55
@echo on

.github/unittest/linux/scripts/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies:
1919
- pytest-timeout
2020
- pytest-asyncio
2121
- expecttest
22+
- pybind11[global]
2223
- pyyaml
2324
- scipy
2425
- hydra-core

.github/unittest/linux/scripts/run_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -v
99

1010
if [[ $OSTYPE != 'darwin'* ]]; then
1111
apt-get update && apt-get upgrade -y
12-
apt-get install -y vim git wget libsdl2-dev libsdl2-2.0-0
12+
apt-get install -y vim git wget libsdl2-dev libsdl2-2.0-0 cmake
1313

1414
apt-get install -y libglfw3 libgl1-mesa-glx libosmesa6 libglew-dev
1515
apt-get install -y libglvnd0 libgl1 libglx0 libegl1 libgles2

.github/unittest/linux_distributed/scripts/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies:
1818
- pytest-rerunfailures
1919
- pytest-asyncio
2020
- expecttest
21+
- pybind11[global]
2122
- pyyaml
2223
- scipy
2324
- hydra-core

.github/unittest/linux_libs/scripts_ataridqn/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies:
1717
- pytest-error-for-skips
1818
- pytest-asyncio
1919
- expecttest
20+
- pybind11[global]
2021
- pyyaml
2122
- scipy
2223
- hydra-core

.github/unittest/linux_libs/scripts_ataridqn/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
eval "$(./conda/bin/conda shell.bash hook)"
66
conda activate ./env
77

8-
apt-get update && apt-get remove swig -y && apt-get install -y git gcc patchelf libosmesa6-dev libgl1-mesa-glx libglfw3 swig3.0
8+
apt-get update && apt-get remove swig -y && apt-get install -y git gcc patchelf libosmesa6-dev libgl1-mesa-glx libglfw3 swig3.0 cmake
99
ln -s /usr/bin/swig3.0 /usr/bin/swig
1010

1111
export LAZY_LEGACY_OP=False

.github/unittest/linux_libs/scripts_ataridqn/setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -e
99
set -v
1010

1111

12-
apt-get update && apt-get upgrade -y && apt-get install -y git
12+
apt-get update && apt-get upgrade -y && apt-get install -y git cmake
1313
# Avoid error: "fatal: unsafe repository"
1414
git config --global --add safe.directory '*'
1515
apt-get install -y wget \

0 commit comments

Comments
 (0)