File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 40
40
- name : Run benchmarks
41
41
run : |
42
42
cd benchmarks/
43
+ export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
43
44
python -m pytest --benchmark-json output.json
44
45
- name : Store benchmark results
45
46
if : ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
@@ -107,6 +108,7 @@ jobs:
107
108
- name : Run benchmarks
108
109
run : |
109
110
cd benchmarks/
111
+ export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
110
112
python3 -m pytest --benchmark-json output.json
111
113
- name : Store benchmark results
112
114
uses : benchmark-action/github-action-benchmark@v1
Original file line number Diff line number Diff line change 46
46
- name : Run benchmarks
47
47
run : |
48
48
cd benchmarks/
49
+ export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
49
50
RUN_BENCHMARK="pytest --rank 0 --benchmark-json "
50
51
git checkout ${{ github.event.pull_request.base.sha }}
51
52
$RUN_BENCHMARK ${{ env.BASELINE_JSON }}
@@ -125,6 +126,7 @@ jobs:
125
126
- name : Run benchmarks
126
127
run : |
127
128
cd benchmarks/
129
+ export TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1
128
130
RUN_BENCHMARK="pytest --rank 0 --benchmark-json "
129
131
git checkout ${{ github.event.pull_request.base.sha }}
130
132
$RUN_BENCHMARK ${{ env.BASELINE_JSON }}
You can’t perform that action at this time.
0 commit comments