Skip to content

Commit 14eb964

Browse files
committed
Update
[ghstack-poisoned]
1 parent 2260c72 commit 14eb964

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/unittest/linux_libs/scripts_gym/run_all.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,9 @@ else
6060
fi
6161

6262
# 6. Install tensordict
63+
# Note: tensordict dropped Python 3.9 support after 0.6.x, so we pin to 0.6.2 for py39 compatibility
6364
printf "* Installing tensordict\n"
64-
if [[ "$RELEASE" == 0 ]]; then
65-
uv pip install "pybind11[global]"
66-
# Use pip for --ignore-requires-python (not supported by uv)
67-
pip install git+https://github.com/pytorch/tensordict.git --no-deps --ignore-requires-python
68-
else
69-
# Use pip for --ignore-requires-python (not supported by uv)
70-
pip install tensordict --no-deps --ignore-requires-python
71-
fi
65+
uv pip install "tensordict==0.6.2" --no-deps
7266

7367
# Smoke test tensordict
7468
python -c "import tensordict"

0 commit comments

Comments
 (0)