[PyTorch] Fix MobileDebugInfo vector copy (#64030)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64030
ghstack-source-id: 137566816
Test Plan:
Pixel 3 before: https://our.intern.facebook.com/intern/aibench/details/320277034999340
Pixel 3 after: https://our.intern.facebook.com/intern/aibench/details/724509739115867
can see the vector copy disappear in the flame graph. Overall mean decreased from 354 ms to 348 ms (though I'm not sure if this is outside usual noise).
Reviewed By: raziel
Differential Revision: D30559032
fbshipit-source-id: 6d8bb5396d3449cc63023ee7acf694b5d146ddc1