File tree 5 files changed +3
-6
lines changed
linux_olddeps/scripts_gym_0_13
5 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 76
76
export MUJOCO_GL=egl
77
77
fi
78
78
79
- export DISPLAY=:0
80
79
export SDL_VIDEODRIVER=dummy
81
80
82
81
# legacy from bash scripts: remove?
83
82
conda env config vars set \
84
83
MAX_IDLE_COUNT=1000 \
85
- MUJOCO_GL=$MUJOCO_GL PYOPENGL_PLATFORM=$MUJOCO_GL DISPLAY=: 0 SDL_VIDEODRIVER=dummy LAZY_LEGACY_OP=False RL_LOGGING_LEVEL=DEBUG TOKENIZERS_PARALLELISM=true
84
+ MUJOCO_GL=$MUJOCO_GL PYOPENGL_PLATFORM=$MUJOCO_GL DISPLAY=unix:0. 0 SDL_VIDEODRIVER=dummy LAZY_LEGACY_OP=False RL_LOGGING_LEVEL=DEBUG TOKENIZERS_PARALLELISM=true
86
85
87
86
pip3 install pip --upgrade
88
87
pip install virtualenv
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export MKL_THREADING_LAYER=GNU
21
21
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test.py -v --durations 200
22
22
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k ' test_gym'
23
23
24
- export DISPLAY=' :99.0 '
24
+ export DISPLAY=unix:0.0
25
25
Xvfb :99 -screen 0 1400x900x24 > /dev/null 2>&1 &
26
26
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 -k " gym and not isaac" --error-for-skips --mp_fork
27
27
coverage combine
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export BATCHED_PIPE_TIMEOUT=60
24
24
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test.py -v --durations 200
25
25
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k ' test_gym'
26
26
27
- export DISPLAY=' :99.0 '
27
+ export DISPLAY=unix:0.0
28
28
Xvfb :99 -screen 0 1400x900x24 > /dev/null 2>&1 &
29
29
CKPT_BACKEND=torch MUJOCO_GL=egl python .github/unittest/helpers/coverage_run_parallel.py -m pytest --instafail -v --durations 200 --ignore test/test_distributed.py --ignore test/test_rlhf.py
30
30
# pytest --instafail -v --durations 200
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ echo " - python=${PYTHON_VERSION}" >> "${this_dir}/environment.yml"
68
68
cat " ${this_dir} /environment.yml"
69
69
70
70
export MUJOCO_PY_MUJOCO_PATH=$root_dir /.mujoco/mujoco210
71
- export DISPLAY=unix:0.0
72
71
# export MJLIB_PATH=$root_dir/.mujoco/mujoco-2.1.1/lib/libmujoco.so.2.1.1
73
72
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$root_dir /.mujoco/mujoco210/bin
74
73
export SDL_VIDEODRIVER=dummy
Original file line number Diff line number Diff line change 47
47
yum install -y xorg-x11-server-Xvfb
48
48
# xhost +local:docker
49
49
# Xvfb :1 -screen 0 1024x768x24 &
50
- # export DISPLAY=:1
51
50
52
51
root_dir="$(pwd)"
53
52
conda_dir="${root_dir}/conda"
You can’t perform that action at this time.
0 commit comments