pytorch
f21537cc - [multipy] Address GetPythonFramesFunction() and multipy incompatibility. (#89315)

Commit
3 years ago
[multipy] Address GetPythonFramesFunction() and multipy incompatibility. (#89315) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/89315 X-link: https://github.com/pytorch/multipy/pull/267 https://github.com/pytorch/pytorch/pull/89122 introduces internal compatibility issues with torchdeploy. However, GetPythonFramesFunction() never worked with torchdeploy, so this PR simply reverts to the original behavior of skipping the function if torchdeploy is used as a forward fix. Test Plan: Running failed tests in T128123281 ``` buck2 test @//mode/opt //multipy/runtime:test_deploy -- --exact 'multipy/runtime:test_deploy - TorchpyTest.TaggingRace' --run-disabled buck2 test mode/dev //multipy/runtime/testdev:test_deploy_from_python -- --exact 'multipy/runtime/testdev:test_deploy_from_python - multipy.runtime.testdev.test_deploy_from_python.TestDeployFromPython: test_deploy_from_python' ``` Reviewed By: kurman Differential Revision: D41414263 fbshipit-source-id: 504b704a283ca168f460c5346be1bcc6bc03d6c9
Author
Parents
Loading