Skip to content

Commit e4441a0

Browse files
committed
Update
[ghstack-poisoned]
1 parent 0e30b4b commit e4441a0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- name: Run benchmarks
4141
run: |
4242
cd benchmarks/
43+
export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
4344
python -m pytest --benchmark-json output.json
4445
- name: Store benchmark results
4546
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
@@ -107,6 +108,7 @@ jobs:
107108
- name: Run benchmarks
108109
run: |
109110
cd benchmarks/
111+
export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
110112
python3 -m pytest --benchmark-json output.json
111113
- name: Store benchmark results
112114
uses: benchmark-action/github-action-benchmark@v1

.github/workflows/benchmarks_pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: Run benchmarks
4747
run: |
4848
cd benchmarks/
49+
export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
4950
RUN_BENCHMARK="pytest --rank 0 --benchmark-json "
5051
git checkout ${{ github.event.pull_request.base.sha }}
5152
$RUN_BENCHMARK ${{ env.BASELINE_JSON }}
@@ -125,6 +126,7 @@ jobs:
125126
- name: Run benchmarks
126127
run: |
127128
cd benchmarks/
129+
export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
128130
RUN_BENCHMARK="pytest --rank 0 --benchmark-json "
129131
git checkout ${{ github.event.pull_request.base.sha }}
130132
$RUN_BENCHMARK ${{ env.BASELINE_JSON }}

0 commit comments

Comments
 (0)