pytorch
2a2c07ae - [multipy] Address GetPythonFramesFunction() and multipy incompatibility. (#267) (#89315)

Commit
2 years ago
[multipy] Address GetPythonFramesFunction() and multipy incompatibility. (#267) (#89315) Summary: 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' ``` Differential Revision: D41414263 Pull Request resolved: https://github.com/pytorch/pytorch/pull/89315 Approved by: https://github.com/kurman
Author
Committer
Parents
Loading