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 4343 macos :
4444 uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
4545 with :
46- runner : macos-15-xlarge
46+ runner : macos-m1-stable
4747 python-version : ' 3.11'
4848 submodules : ' recursive'
4949 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Original file line number Diff line number Diff line change 22#
33# Please refer to the license found in the LICENSE file in the root directory of the source tree.
44
5- < << << << HEAD
65import platform
7- == == == =
8- >> >> >> > 921 dafe9b (up )
96import sys
107import unittest
118
Original file line number Diff line number Diff line change @@ -1123,6 +1123,9 @@ def _gen_edge_manager_for_partitioners(
11231123 ops_set_to_not_decompose_by_program = {}
11241124 edge_programs : Dict [str , ExportedProgram ] = {}
11251125 for name , program in aten_programs .items ():
1126+ # Functionalize program before asking partitioners to preserve ops
1127+ program = program .run_decompositions ({})
1128+
11261129 if partitioner is not None :
11271130 # preserve all ops listed by all partitioners first
11281131 all_ops_no_decomp = set ()
You can’t perform that action at this time.
0 commit comments