pytorch
e04ade92 - Skip compiledWithCuDNN() call for mobile to avoid segfault (#71775)

Commit
2 years ago
Skip compiledWithCuDNN() call for mobile to avoid segfault (#71775) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71775 Mobile is running into segfaults at the `compiledWithCuDNN()` call as described in T110194934. This fix works around this with an #ifdef following the approach done [here](https://github.com/pytorch/pytorch/blob/d32b7d9585419caa18b57305ac7fdc547903fbc3/aten/src/ATen/native/Convolution.cpp#L1076-L1088). TBD how to fix the underlying cause. Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33778888 Pulled By: jbschlosser fbshipit-source-id: 2a22b2eaa858ee6adf5b3c25a1c470c6aebc3f87 (cherry picked from commit e90a6bb402f45f45b7219f453ca38ee85603f3eb)
Author
Committer
Parents
Loading