Skip to content

Commit 6a7dbcf

Browse files
author
Vincent Moens
committed
Update (base update)
[ghstack-poisoned]
2 parents de3dac3 + a901064 commit 6a7dbcf

24 files changed

+350
-10
lines changed

.github/unittest/linux_sota/scripts/run_all.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export SDL_VIDEODRIVER=dummy
7575
export MUJOCO_GL=egl
7676
export PYOPENGL_PLATFORM=egl
7777
export LAZY_LEGACY_OP=False
78+
export COMPOSITE_LP_AGGREGATE=0
7879

7980
conda env config vars set MUJOCO_PY_MUJOCO_PATH=$root_dir/.mujoco/mujoco210 \
8081
DISPLAY=unix:0.0 \

.github/unittest/linux_sota/scripts/test_sota.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
from pathlib import Path
88

99
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"
1016

1117
commands = {
1218
"dt": """python sota-implementations/decision_transformer/dt.py \

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12+
id-token: write
1213
deployments: write
1314
contents: write
1415

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
1919
cancel-in-progress: true
2020

21+
permissions:
22+
id-token: write
23+
contents: read
24+
2125
jobs:
2226
build-docs:
2327
strategy:

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
1616
cancel-in-progress: true
1717

18+
permissions:
19+
id-token: write
20+
contents: read
21+
1822
jobs:
1923
python-source-and-configs:
2024
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main

.github/workflows/nightly_build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ concurrency:
2727
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
2828
cancel-in-progress: true
2929

30+
permissions:
31+
id-token: write
32+
contents: read
33+
3034
jobs:
3135
build-wheel-linux:
3236
# Don't run on forked repos.

.github/workflows/test-linux-habitat.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
1616
cancel-in-progress: true
1717

18+
permissions:
19+
id-token: write
20+
contents: read
21+
1822
jobs:
1923
tests:
2024
strategy:

.github/workflows/test-linux-libs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
1616
cancel-in-progress: true
1717

18+
permissions:
19+
id-token: write
20+
contents: read
21+
1822
jobs:
1923

2024
unittests-atari-dqn:

.github/workflows/test-linux-rlhf.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
1616
cancel-in-progress: true
1717

18+
permissions:
19+
id-token: write
20+
contents: read
21+
1822
jobs:
1923
unittests:
2024
strategy:

.github/workflows/test-linux-sota.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
1919
cancel-in-progress: true
2020

21+
permissions:
22+
id-token: write
23+
contents: read
24+
2125
jobs:
2226
tests:
2327
strategy:

0 commit comments

Comments
 (0)