-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Back out "Revert D25850783: Add torch::deploy, an embedded torch-python interpreter" #51124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…on interpreter" Summary: Original commit changeset: 1c7133627da2 Differential Revision: D26077905 fbshipit-source-id: 2d0891b5e2adae2a293cb4ce66ffce54b8a953a7
💊 CI failures summary and remediationsAs of commit c1b20d8 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
This pull request was exported from Phabricator. Differential Revision: D26077905 |
This pull request has been merged in dc2a44c. |
Sorry @wconstab, unlanding because this appears to have broken pytorch_libtorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build. See https://app.circleci.com/pipelines/github/pytorch/pytorch/265512/workflows/196c821f-52c5-40f3-adc1-708ec3a7b810/jobs/10458479. Relevant snippet:
I don't think this build is run on the Github CI. You can trigger all builds to run in the Github CI by starting your branch name with ci-all/, see https://github.com/pytorch/pytorch/wiki/Developer-FAQ#my-pr-caused-a-build-to-fail-but-its-not-usually-run-in-the-github-ci-how-do-i-test-my-pr-against-every-build. |
This pull request has been reverted by 12a434a. |
Thanks for the pointer @mruberry! Hmm, I wonder if you can help me with this- I have made a change to build.sh to filter more specifically to only build/use USE_DEPLOY on the build variant i intended. (I was not aware of the libtorch- variants and don't think I want USE_DEPLOY enabled for those anyway). Since my diff has fbcode changes too, I'm not sure how to push the changes to an oss branch with ci-all in the name. My build has already passed all the OSS CI builds that run on PRs, including the one where I enable and run/test it, I just want to make sure my codepath doesn't activate on any other flavors. Could you help me take a look at this patch to see if it should be enough? -if [[ "$BUILD_ENVIRONMENT" == linux-xenial-cuda10.2-cudnn7-py3-gcc7 ]]; then |
@wconstab one can always re-run the failed build with ssh to see what is going on. Also, please note that |
@malfet I do the following already in the root CMakeLists:
However, the reason that didn't save me is that I enabled 'USE_DEPLOY' on the pytorch-libtorch build flavor by mistake, and as you pointed out that build does not build torch_python. I think, my change to build.sh should be good.
I've submitted the ci-all PR so we'll see. |
@wconstab To make CMake resilient against conflicting options, please consider making following change to CMakeLists::
and/or add
after Line 134 in c9cebaf
|
Summary: Original commit changeset: 1c7133627da2
Differential Revision: D26077905