Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Buffers tensorclass compat and tutorial #1101

Merged
merged 150 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
06ae5d7
TorchRL: pytest should not skip tests for dependencies
rohitnig Apr 12, 2023
9ea8108
amend
vmoens Apr 12, 2023
19c2395
lint
vmoens Apr 12, 2023
dc20cbb
Added error-for-skips for smoke tests on gym/dm_control_pixel/dm_cont…
rohitnig Apr 13, 2023
1da3fad
removed the error for skips for MUJOCO_GL
rohitnig Apr 13, 2023
8c4f3be
Kept the error for skips for MUJOCO_GL
rohitnig Apr 13, 2023
506b87d
Using the AND operator instead of the OR operator in the smoke_test_deps
rohitnig Apr 13, 2023
8ecad5e
Reverted the AND to OR in the smoke_test_deps
rohitnig Apr 13, 2023
66d133d
fixed a typo
rohitnig Apr 13, 2023
dffeefb
Merge branch 'main' into T150564985
vmoens Apr 14, 2023
74891e8
attempt 1
vmoens Apr 14, 2023
bc16af7
Merge remote-tracking branch 'origin/T150564985' into T150564985
vmoens Apr 14, 2023
201992a
attempt 2
vmoens Apr 14, 2023
1c54a01
amend
vmoens Apr 17, 2023
8bf3e26
amend
vmoens Apr 17, 2023
722f87a
amend
vmoens Apr 17, 2023
89740c0
amend
vmoens Apr 17, 2023
a35733a
amend
vmoens Apr 17, 2023
4b2108a
Merge branch 'main' into T150564985
vmoens Apr 18, 2023
6682842
DISPLAY=localhost:0.0
vmoens Apr 18, 2023
36c3c48
Merge branch 'main' into T150564985
vmoens Apr 18, 2023
526b5b8
amend
vmoens Apr 18, 2023
efd233d
amend
vmoens Apr 18, 2023
544af99
amend
vmoens Apr 19, 2023
3f8547d
amend
vmoens Apr 19, 2023
63e904d
Merge branch 'main' into T150564985
vmoens Apr 19, 2023
33d23b7
amend
vmoens Apr 19, 2023
391b02e
amend
vmoens Apr 19, 2023
c46d3af
amend
vmoens Apr 19, 2023
80586f3
Merge branch 'main' into T150564985
vmoens Apr 19, 2023
f0d5885
glew
vmoens Apr 19, 2023
c1f219e
glew
vmoens Apr 19, 2023
4016160
glew
vmoens Apr 19, 2023
c75b142
glew
vmoens Apr 19, 2023
5d66187
egl
vmoens Apr 19, 2023
6aace5b
x11
vmoens Apr 20, 2023
3fa8c2d
lint
vmoens Apr 20, 2023
b8650df
commenting xvfb
vmoens Apr 20, 2023
56bde5b
free-mujoco-py
vmoens Apr 20, 2023
23034d4
free-mujoco-py
vmoens Apr 20, 2023
41bad56
osmesa
vmoens Apr 20, 2023
2e30626
Merge remote-tracking branch 'origin/main' into T150564985
vmoens Apr 24, 2023
9df5ae6
amend
vmoens Apr 24, 2023
a11c8e6
get_nvidia_lib_dir
vmoens Apr 25, 2023
8e267f0
amend
vmoens Apr 25, 2023
0e5ddea
amend
vmoens Apr 25, 2023
d4d00b8
amend
vmoens Apr 25, 2023
58f5292
amend
vmoens Apr 25, 2023
9b868fa
lint
vmoens Apr 25, 2023
78d9e0f
/usr/src/nvidia-470.63.01
vmoens Apr 25, 2023
0f85a09
prints
vmoens Apr 25, 2023
07f592c
empty
vmoens Apr 25, 2023
6e05ce4
2.1.3
vmoens Apr 25, 2023
99c8ba8
empty
vmoens Apr 25, 2023
f637bec
aws_fix2
vmoens Apr 25, 2023
7f609af
gcc gcc-c++
vmoens Apr 25, 2023
233e557
210
vmoens Apr 25, 2023
df8b6e9
empty
vmoens Apr 25, 2023
cf6007b
empty
vmoens Apr 25, 2023
4175778
Merge remote-tracking branch 'origin/main' into T150564985
vmoens Apr 26, 2023
08d5d60
MUJOCO_PY_MUJOCO_PATH
vmoens Apr 26, 2023
d1a716c
LD_LIBRARY_PATH
vmoens Apr 26, 2023
b7e04b6
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/circleci/project/mujoco-py/muj…
vmoens Apr 26, 2023
adfbc79
Merge branch 'main' into T150564985
vmoens Apr 27, 2023
1b3efd3
amend
vmoens Apr 27, 2023
de62064
amend
vmoens Apr 27, 2023
4fdd818
amend
vmoens Apr 27, 2023
e3f156a
libX11
vmoens Apr 27, 2023
b2253fc
-devel
vmoens Apr 27, 2023
2f28941
export DISPLAY=':99.0'
vmoens Apr 27, 2023
7a2c96f
amend
vmoens Apr 27, 2023
83795c6
amend
vmoens Apr 27, 2023
841a625
amend
vmoens Apr 27, 2023
3a0fcfe
amend
vmoens Apr 27, 2023
a78fb3f
edit
vmoens Apr 27, 2023
0dfd95a
init
vmoens Apr 27, 2023
4d5bdd8
amend
vmoens Apr 27, 2023
c9a24ff
rm dm_control
vmoens Apr 27, 2023
04dc12e
LD_PRELOAD
vmoens Apr 27, 2023
a7794e7
amend
vmoens Apr 27, 2023
6aa28e7
cudagl
vmoens Apr 28, 2023
4a59bbb
amend
vmoens Apr 28, 2023
75a3782
X11
vmoens Apr 28, 2023
32a47b0
amend
vmoens Apr 28, 2023
ef89b71
libglew-dev -> libglew-dev
vmoens Apr 28, 2023
db1fd3f
amend
vmoens Apr 28, 2023
74495f4
Merge branch 'main' into T150564985
vmoens Apr 28, 2023
749178d
amend
vmoens Apr 28, 2023
9248eaf
RTOL/ATOL
vmoens Apr 28, 2023
39461c9
Merge remote-tracking branch 'origin/main' into T150564985
vmoens Apr 28, 2023
1b8b12d
amend
vmoens Apr 28, 2023
ce30dba
olddeps
vmoens Apr 28, 2023
181dd65
fix habitat
vmoens Apr 28, 2023
5cf723d
lint
vmoens Apr 28, 2023
32f1217
Merge branch 'main' into T150564985
vmoens Apr 28, 2023
13c2bf7
bf
vmoens Apr 28, 2023
3c04903
bf
vmoens Apr 28, 2023
3809d5d
Merge branch 'T150564985' into refactor_buffer
vmoens Apr 28, 2023
3b14ebf
some tests
vmoens Apr 28, 2023
b9d2eba
amend
vmoens Apr 28, 2023
a65edff
Merge branch 'main' into refactor_buffer
vmoens May 3, 2023
e6cea2b
amend
vmoens May 3, 2023
deaec95
bf
vmoens May 3, 2023
c136089
amend
vmoens May 3, 2023
d09dbd8
amend
vmoens May 3, 2023
2819fbe
amend
vmoens May 4, 2023
ba2aa9c
amend
vmoens May 4, 2023
df57b4f
Merge branch 'main' into unfold_catframes
vmoens May 4, 2023
8cdfc4c
padding
vmoens May 4, 2023
054c766
Merge branch 'unfold_catframes' into refactor_buffer
vmoens May 4, 2023
8230669
amend
vmoens May 4, 2023
a8a27f1
amend
vmoens May 4, 2023
5957bcd
amend
vmoens May 4, 2023
52e990a
Merge branch 'unfold_catframes' into refactor_buffer
vmoens May 4, 2023
11465a6
amend
vmoens May 4, 2023
6472d80
amend
vmoens May 4, 2023
cdcfb08
amend
vmoens May 4, 2023
8964f9b
amend
vmoens May 4, 2023
aa98442
Merge branch 'unfold_catframes' into refactor_buffer
vmoens May 4, 2023
8fafdb8
Merge branch 'main' into refactor_buffer
vmoens May 4, 2023
e2d1ef3
fix envpool
vmoens May 4, 2023
627275b
fix envpool
vmoens May 4, 2023
836e3d2
fix envpool
vmoens May 4, 2023
4e7d754
fix envpool
vmoens May 4, 2023
2b8932b
fix envpool
vmoens May 4, 2023
a082734
fix envpool
vmoens May 4, 2023
d61a506
fix envpool
vmoens May 4, 2023
51d9164
fix envpool
vmoens May 4, 2023
2bdf434
fix trsf
vmoens May 4, 2023
fd85329
fix trsf
vmoens May 4, 2023
0fa999d
fix trsf
vmoens May 4, 2023
85726bb
fix trsf
vmoens May 4, 2023
9d3a84a
fix trsf
vmoens May 4, 2023
6173360
fix trsf
vmoens May 4, 2023
50c52d4
Merge branch 'unfold_catframes' into refactor_buffer
vmoens May 4, 2023
431ab36
amend
vmoens May 4, 2023
614ca70
amend
vmoens May 4, 2023
26bc60b
amend
vmoens May 4, 2023
9407b89
Merge branch 'unfold_catframes' into refactor_buffer
vmoens May 4, 2023
1c6ea4c
lint
vmoens May 4, 2023
35853a9
fix
vmoens May 4, 2023
4d5b6fe
fix
vmoens May 5, 2023
e3179ba
fix
vmoens May 5, 2023
e448a2d
Merge branch 'unfold_catframes' into refactor_buffer
vmoens May 5, 2023
2e891a2
amend
vmoens May 5, 2023
d40d5a7
amend
vmoens May 5, 2023
e07a582
Merge remote-tracking branch 'origin/main' into refactor_buffer
vmoens May 5, 2023
8ff01de
amend
vmoens May 5, 2023
318b499
amend
vmoens May 5, 2023
ade43d3
amend
vmoens May 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
amend
  • Loading branch information
vmoens committed Apr 27, 2023
commit 4d5bdd827999af32293ab2af255b0679da24c604
2 changes: 1 addition & 1 deletion .circleci/unittest/linux_libs/scripts_gym/batch_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ conda activate ./env
$DIR/install.sh

# Extracted from run_test.sh to run once.
yum makecache && yum install libX11-devel xorg-x11-server-Xvfb -y
yum makecache && yum install libX11-devel xorg-x11-server-Xvfb glew glew-devel -y

pip install pyopengl==3.1.0

Expand Down
2 changes: 1 addition & 1 deletion .circleci/unittest/linux_libs/scripts_gym/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cat "${this_dir}/environment.yml"


conda install -c conda-forge gcc -y
conda install -c conda-forge glew -y
#conda install -c conda-forge glew -y
conda install -c anaconda mesa-libegl-cos6-x86_64 -y

echo "Installing X11 with conda"
Expand Down
45 changes: 19 additions & 26 deletions knowledge_base/MUJOCO_INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,16 @@ issues when running `import mujoco_py` and some troubleshooting for each of them
1. GL/glew.h not found
```
/path/to/mujoco-py/mujoco_py/gl/eglshim.c:4:10: fatal error: GL/glew.h: No such file or directory
#include <GL/glew.h>
^~~~~~~~~~~
```
4 | #include <GL/glew.h>
| ^~~~~~~~~~~
```

_Solution_: install glew and glew-devel

- Ubuntu: `sudo apt-get install libglew-dev libglew`
- CentOS: `sudo yum install glew glew-devel`
- Conda: `conda install -c conda-forge glew`

_Solution_: make sure glew is installed (see above: `conda install -c conda-forge glew` or the `apt-get` version of it).
2.
```
include/GL/glu.h:38:10: fatal error: GL/gl.h: No such file or directory
Expand Down Expand Up @@ -227,18 +232,6 @@ RuntimeError: Failed to initialize OpenGL
_Solution_: call `conda install -c anaconda mesa-libgl-devel-cos6-x86_64`

7. ```
fatal error: GL/glew.h: No such file or directory
4 | #include <GL/glew.h>
| ^~~~~~~~~~~
```

_Solution_: install glew and glew-devel

- Ubuntu: `sudo apt-get install libglew-dev libglew`
- CentOS: `sudo yum install glew glew-devel`
- Conda: `conda install -c conda-forge glew`

8. ```
RuntimeError: Failed to initialize OpenGL
```

Expand All @@ -248,7 +241,7 @@ RuntimeError: Failed to initialize OpenGL
- CentOS: `sudo yum install mesa-libEGL mesa-libEGL-devel`
- Conda: `conda install -c anaconda mesa-libegl-cos6-x86_64`

9. ```
8. ```
fatal error: X11/Xlib.h: No such file or directory
| #include <X11/Xlib.h>
| ^~~~~~~~~~~~
Expand All @@ -260,15 +253,15 @@ RuntimeError: Failed to initialize OpenGL
- CentOS: `sudo yum install libX11`
- Conda: `conda install -c conda-forge xorg-libx11`

10. ```
fatal error: GL/osmesa.h: No such file or directory
1 | #include <GL/osmesa.h>
| ^~~~~~~~~~~~~
compilation terminated.
```
9. ```
fatal error: GL/osmesa.h: No such file or directory
1 | #include <GL/osmesa.h>
| ^~~~~~~~~~~~~
compilation terminated.
```

_Solution_: Install Osmesa:

- Ubuntu: `sudo apt-get install libosmesa6-dev`
- CentOS: `sudo yum install mesa-libOSMesa-devel`
- Conda: `conda install -c menpo osmesa`
10. Ubuntu: `sudo apt-get install libosmesa6-dev`
11. CentOS: `sudo yum install mesa-libOSMesa-devel`
12. Conda: `conda install -c menpo osmesa`