Skip to content

Commit 695fd2c

Browse files
committed
amend
1 parent ba83964 commit 695fd2c

File tree

28 files changed

+120
-81
lines changed

28 files changed

+120
-81
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ uv pip install hypothesis future cloudpickle pygame "moviepy<2.0.0" tqdm \
8484
pytest pytest-cov pytest-mock pytest-instafail pytest-rerunfailures \
8585
pytest-timeout pytest-asyncio expecttest "pybind11[global]" pyyaml scipy \
8686
hydra-core tensorboard "imageio==2.26.0" wandb dm_control "mujoco<3.3.6" \
87-
mlflow av coverage ray transformers ninja timm protobuf
87+
mlflow av coverage ray transformers ninja timm protobuf setuptools
8888

8989
# Install pip for compatibility with packages that expect it
9090
uv pip install pip

.github/unittest/linux_libs/scripts_ataridqn/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ root_dir="$(git rev-parse --show-toplevel)"
1212
export PATH="$HOME/.local/bin:$PATH"
1313
source "${root_dir}/.venv/bin/activate"
1414

15+
# Install build dependencies EARLY (required for --no-build-isolation)
16+
printf "* Installing build dependencies\n"
17+
uv pip install setuptools ninja "pybind11[global]"
18+
1519
if [ "${CU_VERSION:-}" == cpu ] ; then
1620
version="cpu"
1721
else
@@ -56,10 +60,6 @@ fi
5660
# smoke test
5761
python -c "import functorch;import tensordict"
5862

59-
# Install build dependencies (required for --no-build-isolation)
60-
printf "* Installing build dependencies\n"
61-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
62-
6363
printf "* Installing torchrl\n"
6464
uv pip install -e . --no-build-isolation
6565

.github/unittest/linux_libs/scripts_brax/install.sh

100755100644
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export PATH="$HOME/.local/bin:$PATH"
1313
root_dir="$(git rev-parse --show-toplevel)"
1414
source "${root_dir}/.venv/bin/activate"
1515

16+
# Install build dependencies EARLY (required for --no-build-isolation)
17+
printf "* Installing build dependencies\n"
18+
uv pip install setuptools ninja "pybind11[global]"
19+
20+
1621
if [ "${CU_VERSION:-}" == cpu ] ; then
1722
version="cpu"
1823
else
@@ -47,14 +52,11 @@ else
4752
fi
4853

4954
# install tensordict
50-
uv pip install git+https://github.com/pytorch/tensordict.git --progress-bar off
55+
uv pip install git+https://github.com/pytorch/tensordict.git off
5156

5257
# smoke test
5358
python -c "import functorch;import tensordict"
5459

55-
# Install build dependencies (required for --no-build-isolation)
56-
printf "* Installing build dependencies\n"
57-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
5860

5961
printf "* Installing torchrl\n"
6062
uv pip install -e . --no-build-isolation

.github/unittest/linux_libs/scripts_brax/setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ printf "* Installing dependencies (except PyTorch)\n"
5353
uv pip install hypothesis future cloudpickle pytest pytest-cov pytest-mock \
5454
pytest-instafail pytest-rerunfailures pytest-error-for-skips pytest-asyncio \
5555
expecttest "pybind11[global]" pyyaml scipy hydra-core "jax[cuda12]>=0.7.0" \
56-
brax psutil
56+
brax psutil setuptools
5757

5858
#yum makecache
5959
# sudo yum -y install glfw

.github/unittest/linux_libs/scripts_chess/install.sh

100755100644
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ root_dir="$(git rev-parse --show-toplevel)"
2929
export PATH="$HOME/.local/bin:$PATH"
3030
source "${root_dir}/.venv/bin/activate"
3131

32+
# Install build dependencies EARLY (required for --no-build-isolation)
33+
printf "* Installing build dependencies\n"
34+
uv pip install setuptools ninja "pybind11[global]"
35+
36+
3237
if [ "${CU_VERSION:-}" == cpu ] ; then
3338
version="cpu"
3439
else
@@ -72,9 +77,6 @@ fi
7277
# smoke test
7378
python -c "import functorch;import tensordict"
7479

75-
# Install build dependencies (required for --no-build-isolation)
76-
printf "* Installing build dependencies\n"
77-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
7880

7981
printf "* Installing torchrl\n"
8082
uv pip install -e . --no-build-isolation

.github/unittest/linux_libs/scripts_d4rl/install.sh

100755100644
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ root_dir="$(git rev-parse --show-toplevel)"
1212
export PATH="$HOME/.local/bin:$PATH"
1313
source "${root_dir}/.venv/bin/activate"
1414

15+
# Install build dependencies EARLY (required for --no-build-isolation)
16+
printf "* Installing build dependencies\n"
17+
uv pip install setuptools ninja "pybind11[global]"
18+
19+
1520
if [ "${CU_VERSION:-}" == cpu ] ; then
1621
version="cpu"
1722
else
@@ -56,9 +61,6 @@ fi
5661
# smoke test
5762
python -c "import functorch;import tensordict"
5863

59-
# Install build dependencies (required for --no-build-isolation)
60-
printf "* Installing build dependencies\n"
61-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
6264

6365
printf "* Installing torchrl\n"
6466
uv pip install -e . --no-build-isolation

.github/unittest/linux_libs/scripts_d4rl/run_test.sh

100755100644
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ set -e
55
root_dir="$(git rev-parse --show-toplevel)"
66
source "${root_dir}/.venv/bin/activate"
77

8+
# Install build dependencies EARLY (required for --no-build-isolation)
9+
printf "* Installing build dependencies\n"
10+
uv pip install setuptools ninja "pybind11[global]"
11+
12+
813
apt-get update && apt-get remove swig -y && apt-get install -y git gcc patchelf libosmesa6-dev libgl1-mesa-glx libglfw3 swig3.0 cmake
914
ln -s /usr/bin/swig3.0 /usr/bin/swig
1015

@@ -14,8 +19,6 @@ cd d4rl
1419
#uv pip install -U 'mujoco-py<2.1,>=2.0'
1520
uv pip install -U "gym[classic_control,atari,accept-rom-license]"==0.23
1621
uv pip install -U six
17-
# Install build dependencies (required for --no-build-isolation)
18-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
1922
uv pip install -e . --no-build-isolation
2023
cd ..
2124

.github/unittest/linux_libs/scripts_d4rl/setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ printf "* Installing dependencies (except PyTorch)\n"
9292
# Install dependencies
9393
uv pip install hypothesis future cloudpickle pytest pytest-cov pytest-mock \
9494
pytest-instafail pytest-rerunfailures pytest-timeout expecttest \
95-
"pybind11[global]" pyyaml scipy hydra-core tensorboard
95+
"pybind11[global]" pyyaml scipy hydra-core tensorboard setuptools
9696

9797
# 5. env variables
9898
if [[ $OSTYPE == 'darwin'* ]]; then

.github/unittest/linux_libs/scripts_envpool/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ root_dir="$(git rev-parse --show-toplevel)"
1212
export PATH="$HOME/.local/bin:$PATH"
1313
source "${root_dir}/.venv/bin/activate"
1414

15+
# Install build dependencies EARLY (required for --no-build-isolation)
16+
printf "* Installing build dependencies\n"
17+
uv pip install setuptools ninja "pybind11[global]"
18+
1519
if [ "${CU_VERSION:-}" == cpu ] ; then
1620
version="cpu"
1721
echo "Using cpu build"
@@ -41,9 +45,5 @@ python -c "import functorch"
4145
# install tensordict
4246
uv pip install git+https://github.com/pytorch/tensordict
4347

44-
# Install build dependencies (required for --no-build-isolation)
45-
printf "* Installing build dependencies\n"
46-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
47-
4848
printf "* Installing torchrl\n"
4949
uv pip install -e . --no-build-isolation

.github/unittest/linux_libs/scripts_gen-dgrl/install.sh

100755100644
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ root_dir="$(git rev-parse --show-toplevel)"
1212
export PATH="$HOME/.local/bin:$PATH"
1313
source "${root_dir}/.venv/bin/activate"
1414

15+
# Install build dependencies EARLY (required for --no-build-isolation)
16+
printf "* Installing build dependencies\n"
17+
uv pip install setuptools ninja "pybind11[global]"
18+
19+
1520
if [ "${CU_VERSION:-}" == cpu ] ; then
1621
version="cpu"
1722
else
@@ -56,9 +61,6 @@ fi
5661
# smoke test
5762
python -c "import functorch;import tensordict"
5863

59-
# Install build dependencies (required for --no-build-isolation)
60-
printf "* Installing build dependencies\n"
61-
uv pip install setuptools wheel ninja "pybind11[global]" cmake
6264

6365
printf "* Installing torchrl\n"
6466
uv pip install -e . --no-build-isolation

0 commit comments

Comments
 (0)