File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
.github/unittest/linux_sota/scripts Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ export SDL_VIDEODRIVER=dummy
7575export MUJOCO_GL=egl
7676export PYOPENGL_PLATFORM=egl
7777export LAZY_LEGACY_OP=False
78+ export COMPOSITE_LP_AGGREGATE=0
7879
7980conda env config vars set MUJOCO_PY_MUJOCO_PATH=$root_dir /.mujoco/mujoco210 \
8081 DISPLAY=unix:0.0 \
Original file line number Diff line number Diff line change 77from pathlib import Path
88
99import pytest
10+ from tensordict .nn import composite_lp_aggregate
11+
12+ # Check that we're using the new behavior
13+ assert (
14+ not composite_lp_aggregate ()
15+ ), "Composite LP must be set to False. Run this test with COMPOSITE_LP_AGGREGATE=0"
1016
1117commands = {
1218 "dt" : """python sota-implementations/decision_transformer/dt.py \
You can’t perform that action at this time.
0 commit comments