Priya Ramani
962c6476da
Refactor: move method to func compilation work to compileMethod, add option to specify method name (#66726)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66726
Move method to func compilation work to compileMethod
Test Plan:
Mobilenetv3 compiles and runs successfully
```
(pytorch) ~/fbsource/fbcode/caffe2/fb/nnc
└─ $ buck run //caffe2/binaries:aot_model_compiler -- --model mobilenetv3.pt --model_name=pytorch_dev_mobilenetv3 --model_version=v1 --input_dims="1,3,224,224"
Downloaded 0/4 artifacts, 0.00 bytes, 100.0% cache miss (for updated rules)
Building: finished in 13.2 sec (100%) 18719/18719 jobs, 2/18719 updated
Total time: 13.5 sec
BUILD SUCCEEDED
The compiled llvm assembly code was saved to mobilenetv3.compiled.ll
The compiled model was saved to mobilenetv3.compiled.pt
```
Reviewed By: ljk53, IvanKobzarev
Differential Revision: D31624342
fbshipit-source-id: 233a6e94ea05ba8d6fc166d2414034c9e58cb076
2021-10-16 20:03:24 -07:00
..
2021-08-12 11:45:01 -07:00
2021-10-16 20:03:24 -07:00
2021-10-08 09:07:35 -07:00
2019-08-07 15:44:22 -07:00
2021-08-20 12:57:27 -07:00
2021-10-15 15:23:10 -07:00
2019-11-01 10:58:42 -07:00
2021-10-06 15:57:32 -07:00
2021-09-17 08:32:45 -07:00
2020-01-17 16:03:19 -08:00
2018-10-23 16:21:26 -07:00
2018-10-17 12:57:19 -07:00
2019-11-01 10:58:42 -07:00
2020-01-17 16:03:19 -08:00
2018-10-03 19:10:07 -07:00
2019-05-23 23:17:59 -07:00
2018-10-17 12:57:19 -07:00
2020-03-11 23:32:48 -07:00
2018-10-04 02:09:56 -07:00
2019-06-21 23:06:27 -07:00
2021-04-02 11:45:53 -07:00
2021-06-25 14:02:24 -07:00
2021-06-29 11:52:43 -07:00
2021-06-29 11:52:43 -07:00
2020-10-15 15:34:34 -07:00
2019-05-06 19:34:48 -07:00
2019-12-16 13:57:19 -08:00
2019-11-01 10:58:42 -07:00
2018-10-17 12:57:19 -07:00
2020-12-15 19:16:01 -08:00
2018-10-17 12:57:19 -07:00
2018-10-17 12:57:19 -07:00
2021-10-05 07:59:56 -07:00
2018-11-16 12:16:28 -08:00
2018-10-17 12:57:19 -07:00
2018-11-15 12:13:45 -08:00
2018-09-26 01:12:31 -07:00
2019-11-01 10:58:42 -07:00