Commit 9b2eba3
- Move register backend logic to its own file (#13014)
Summary:
Pull Request resolved: #13014
**Context**: https://fb.workplace.com/groups/pytorch.edge2.team/permalink/1233607881228395/
We want to no longer statically initialize a coreml function on app start during compile time.
see CoreML static initializer is called, contributing 293ms+ to app init time:
https://pxl.cl/7JmKW
**What this diff accomplishes:**
Introduces a separate file (namespace) so that we can QE removing this static initalizer during compile time and instead execute its logic when we absolutely need it (app start on startup). We also export the headers as they will be accessed/used in later diffs/files within this stack :)
Reviewed By: metascroy
Differential Revision: D779108221 parent 3e70463 commit 9b2eba3
File tree
2 files changed
+34
-0
lines changed- backends/apple/coreml/runtime/delegate
2 files changed
+34
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments