pytorch
ab4f9862 - [Compiled Mobilenetv3 Demo] Integrate Compiled Mobilenetv3 into FB4A Playground app (#70370)

Commit
2 years ago
[Compiled Mobilenetv3 Demo] Integrate Compiled Mobilenetv3 into FB4A Playground app (#70370) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70370 Demo of Mobilenetv3 compiled with NNC in FB4A Playground app: - Add compiled ModelConfig in FB4A app - Enable Camera inputs for Mobilenet processor in the app and add ability to show live outputs - Use downscaled inputs, which works for both original mobilenetv3 model and the compiled model - Update nnc_aten_adaptive_avg_pool2d to use adaptive_avg_pool2d instead of adaptive_avg_pool2d_out as the latter is not included in the traced operators of mobilenetv3 model and hence not included in the app. - Update app dependencies to include nnc_backend_lib and asm binary Test Plan: Run `arc playground pytorchscenario` from fbandroid to build and install the app on a connected device. Live demo with compiled Mobilenetv3 model: https://pxl.cl/1W1kb Reviewed By: larryliu0820 Differential Revision: D33301477 fbshipit-source-id: 5d50a0e70a7f7d2157d311d6b1feef46e78e85b6
Author
Parents
Loading