Commit f392a70
[PyTorch] [ExecuTorch] Support New ExecuTorch Models (#2078)
* support new executorch models except llama2; inception v3 is now supported as well
* add frontend info to context, so different input schema of torch script and exir can be handled properly
* revert string type hint: caused CI failure in https://gitlab.com/coremltools1/coremltools/-/jobs/5790626756
---------
Co-authored-by: yifan_shen3 <yifan_shen3@apple.com>1 parent f8947af commit f392a70
File tree
7 files changed
+353
-78
lines changed- coremltools/converters/mil
- frontend/torch
- test
- mil/ops/defs/iOS15
7 files changed
+353
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
198 | 202 | | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
346 | 351 | | |
347 | 352 | | |
348 | 353 | | |
| 354 | + | |
349 | 355 | | |
350 | 356 | | |
351 | 357 | | |
| |||
363 | 369 | | |
364 | 370 | | |
365 | 371 | | |
| 372 | + | |
366 | 373 | | |
367 | 374 | | |
368 | 375 | | |
| |||
0 commit comments