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
75
75
export MUJOCO_GL=egl
76
76
export PYOPENGL_PLATFORM=egl
77
77
export LAZY_LEGACY_OP=False
78
+ export COMPOSITE_LP_AGGREGATE=0
78
79
79
80
conda env config vars set MUJOCO_PY_MUJOCO_PATH=$root_dir /.mujoco/mujoco210 \
80
81
DISPLAY=unix:0.0 \
Original file line number Diff line number Diff line change 7
7
from pathlib import Path
8
8
9
9
import 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"
10
16
11
17
commands = {
12
18
"dt" : """python sota-implementations/decision_transformer/dt.py \
You can’t perform that action at this time.
0 commit comments