FakeTensor support of pin_memory #123252
Labels
module: dynamo
module: fakeTensor
module: pt2-dispatcher
PT2 dispatcher-related issues (e.g., aotdispatch, functionalization, faketensor, custom-op,
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🚀 The feature, motivation and pitch
FakeTensor does not support pin_memory and dynamo can not trace through it.
For parity we need ability to add pin_memory to dynamo graph.
FakeTensor should track the state of pin-nedness of memory internally.
Alternatives
No response
Additional context
No response
cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang @eellison @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @zou3519
The text was updated successfully, but these errors were encountered: