Use generated files in module test (#10597)
Instead of checking in the PTE/PTD files. This helps us keep up to date with aot changes, especially with incoming flat_tensor refactor. Main changes here are with the model. Instead of using AddModule from examples/portable, use ModuleAdd from test/models/export_program, like our other tests. There is a shape difference (1 tensor vs 2 tensors+alpha), so we have to change all the inputs. Differential Revision: [D73470865](https://our.internmc.facebook.com/intern/diff/D73470865/) This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: https://github.com/pytorch/executorch/pull/10497 by @lucylq ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/67/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/67/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/67/orig @diff-train-skip-merge Co-authored-by: lucylq <lfq@meta.com>
P
pytorchbot committed
42bc3066969f1247d255eb7b4ae91db9cb102e51
Parent: 8f6de2c
Committed by GitHub <noreply@github.com>
on 4/30/2025, 11:59:05 PM