SIGN IN SIGN UP

[ET-VK] Store unique ptr to Tensor in Value instead of inlined tensor object, to reduce Value struct size from 448 to 80 bytes.

Pull Request resolved: https://github.com/pytorch/executorch/pull/7145

This diff aims to reduce the size of the Value struct in the Executorch Vulkan runtime by storing a unique pointer to the Tensor object instead of an inlined tensor object. This change reduces the size of the Value struct from 448 bytes to 80 bytes, which can improve performance and reduce memory usage.
ghstack-source-id: 256911524
@exported-using-ghexport

Differential Revision: [D66655991](https://our.internmc.facebook.com/intern/diff/D66655991/)

---------

Co-authored-by: Vivek Trivedi <5340687+trivedivivek@users.noreply.github.com>
P
pytorchbot committed
ffc1273a09c38d336d2a192abe3f6da02bdb1744
Parent: 4c43c86
Committed by GitHub <noreply@github.com> on 12/9/2024, 6:13:17 AM