File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
backends/apple/coreml/test Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 43
43
macos :
44
44
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
45
45
with :
46
- runner : macos-15-xlarge
46
+ runner : macos-m1-stable
47
47
python-version : ' 3.11'
48
48
submodules : ' recursive'
49
49
ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Original file line number Diff line number Diff line change 2
2
#
3
3
# Please refer to the license found in the LICENSE file in the root directory of the source tree.
4
4
5
- < << << << HEAD
6
5
import platform
7
- == == == =
8
- >> >> >> > 921 dafe9b (up )
9
6
import sys
10
7
import unittest
11
8
Original file line number Diff line number Diff line change @@ -1123,6 +1123,9 @@ def _gen_edge_manager_for_partitioners(
1123
1123
ops_set_to_not_decompose_by_program = {}
1124
1124
edge_programs : Dict [str , ExportedProgram ] = {}
1125
1125
for name , program in aten_programs .items ():
1126
+ # Functionalize program before asking partitioners to preserve ops
1127
+ program = program .run_decompositions ({})
1128
+
1126
1129
if partitioner is not None :
1127
1130
# preserve all ops listed by all partitioners first
1128
1131
all_ops_no_decomp = set ()
You can’t perform that action at this time.
0 commit comments