Skip to content

Commit d4125c5

Browse files
committed
amend
1 parent ca1fed8 commit d4125c5

File tree

27 files changed

+61
-16
lines changed

27 files changed

+61
-16
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ else
9999
fi
100100

101101
# sanity check: remove?
102-
python3 -c """
102+
python -c """
103103
import dm_control
104104
from dm_control import composer
105105
from tensorboard import *

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ unset PYTORCH_VERSION
88
set -e
99

1010
root_dir="$(git rev-parse --show-toplevel)"
11+
# Add uv to PATH (it was installed in setup_env.sh)
12+
export PATH="$HOME/.local/bin:$PATH"
1113
source "${root_dir}/.venv/bin/activate"
1214

1315
if [ "${CU_VERSION:-}" == cpu ] ; then

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ unset PYTORCH_VERSION
77

88
set -euxo pipefail
99

10+
# Make uv available (installed in setup_env.sh)
11+
export PATH="$HOME/.local/bin:$PATH"
12+
1013
root_dir="$(git rev-parse --show-toplevel)"
1114
source "${root_dir}/.venv/bin/activate"
1215

.github/unittest/linux_libs/scripts_brax/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ except Exception as e:
6262
print('Falling back to JAX CPU')
6363
"
6464

65-
python3 -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'
65+
python -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'
6666

6767
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestBrax --error-for-skips
6868
coverage combine

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ apt-get update && apt-get install -y \
2525
set -e
2626

2727
root_dir="$(git rev-parse --show-toplevel)"
28+
# Add uv to PATH (it was installed in setup_env.sh)
29+
export PATH="$HOME/.local/bin:$PATH"
2830
source "${root_dir}/.venv/bin/activate"
2931

3032
if [ "${CU_VERSION:-}" == cpu ] ; then

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ unset PYTORCH_VERSION
88
set -e
99

1010
root_dir="$(git rev-parse --show-toplevel)"
11+
# Add uv to PATH (it was installed in setup_env.sh)
12+
export PATH="$HOME/.local/bin:$PATH"
1113
source "${root_dir}/.venv/bin/activate"
1214

1315
if [ "${CU_VERSION:-}" == cpu ] ; then

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ uv venv "${env_dir}" --python="${PYTHON_VERSION}"
5858
source "${env_dir}/bin/activate"
5959

6060

61-
python3 -m uv pip install pip --upgrade
61+
v pip install pip --upgrade
6262

6363
#pip3 uninstall cython -y
6464
#pip uninstall cython -y
6565
#conda uninstall cython -y
66-
python3 -m uv pip install "cython<3" --upgrade
66+
uv pip install "cython<3" --upgrade
6767
#conda install -c anaconda cython="<3.0.0" -y
6868

6969

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ unset PYTORCH_VERSION
88
set -e
99

1010
root_dir="$(git rev-parse --show-toplevel)"
11+
# Add uv to PATH (it was installed in setup_env.sh)
12+
export PATH="$HOME/.local/bin:$PATH"
1113
source "${root_dir}/.venv/bin/activate"
1214

1315
if [ "${CU_VERSION:-}" == cpu ] ; then

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ unset PYTORCH_VERSION
88
set -e
99

1010
root_dir="$(git rev-parse --show-toplevel)"
11+
# Add uv to PATH (it was installed in setup_env.sh)
12+
export PATH="$HOME/.local/bin:$PATH"
1113
source "${root_dir}/.venv/bin/activate"
1214

1315
if [ "${CU_VERSION:-}" == cpu ] ; then

.github/unittest/linux_libs/scripts_gym/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ apt-get update && apt-get install -y git wget gcc g++
88
set -e
99
set -v
1010

11+
# Make uv available (installed in setup_env.sh)
12+
export PATH="$HOME/.local/bin:$PATH"
13+
1114
root_dir="$(git rev-parse --show-toplevel)"
1215
source "${root_dir}/.venv/bin/activate"
1316

0 commit comments

Comments
 (0)