add temp allocator for the module (#4009)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/4009 Previously the module doesn't set up temp allocator and it was a null ptr. Set up the temp allocator in this diff so I can use it for the sharded model Reviewed By: mergennachin Differential Revision: D58736671 fbshipit-source-id: 2e2593e51458da1beb554535a9f769ef10076782
C
Chen Lai committed
802a0b2f342d3a6de75ea807cd2f0ac8b360c338
Parent: 18bccf7
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 6/20/2024, 7:59:12 PM