File tree 1 file changed +14
-4
lines changed 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,23 @@ jobs:
28
28
with :
29
29
repository : pytorch/rl
30
30
upload-artifact : docs
31
- runner : " linux.g5.4xlarge.nvidia.gpu"
32
- docker-image : " nvidia/cudagl:11.4.0-base"
33
31
timeout : 120
34
32
script : |
35
33
set -e
36
34
set -v
37
- apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils
35
+ # apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils
36
+ yum makecache
37
+ # yum install -y glfw glew mesa-libGL mesa-libGL-devel mesa-libOSMesa-devel egl-utils freeglut
38
+ # Install Mesa and OpenGL Libraries:
39
+ yum install -y glfw mesa-libGL mesa-libGL-devel egl-utils freeglut mesa-libGLU mesa-libEGL
40
+ # Install DRI Drivers:
41
+ yum install -y mesa-dri-drivers
42
+ # Install Xvfb for Headless Environments:
43
+ yum install -y xorg-x11-server-Xvfb
44
+ # xhost +local:docker
45
+ # Xvfb :1 -screen 0 1024x768x24 &
46
+ # export DISPLAY=:1
47
+
38
48
root_dir="$(pwd)"
39
49
conda_dir="${root_dir}/conda"
40
50
env_dir="${root_dir}/env"
51
61
conda activate "${env_dir}"
52
62
53
63
# 2. upgrade pip, ninja and packaging
54
- apt-get install python3-pip unzip -y -f
64
+ # apt-get install python3-pip unzip -y -f
55
65
python3 -m pip install --upgrade pip
56
66
python3 -m pip install setuptools ninja packaging cmake -U
57
67
You can’t perform that action at this time.
0 commit comments