Repository navigation
Cherry-pick #181161 and its forward fix #181434 - #181608
Conversation
…ary.def override to allow tags (#181161) Summary: Reland of D100546620 which was reverted by D101431332 due to breaking libhammer.so. Custom ops benefit from using tags. This PR moves at::Tag to torch::headeronly::Tag and adds a shim for stable Library.def to be able to take in tags. Note: The two BUILD.bazel changes from the original diff were already present on master (the revert did not touch them), so this reland omits those files. Old PR was: #180190 Differential Revision: D102031366 Pull Request resolved: #181161 Approved by: https://github.com/seemethere, https://github.com/atalman
…l-dir (#181434) This is a "forward fix" of #181161 and will need to be cherrypicked to make sure xpu builds still work. To describe the issue: - torch-xpu-ops has its own version of tags.yaml - the natural default of headeronly-install-dir had the XPU build overriding the enum_tags.h, and since their tag.yaml weren't the same as ours, we get build issues - I tried fixing this before by just aligning the torch-xpu-ops version of tags.yaml but we're still adding more tags so that problem will come back - I finally decided the fix is just to make the the default doesn't have the install locations colliding even if it makes the default for torchgen a tad more complicated. Test plan: make sure the XPU build on the PR stacked on top of this one passes. Pull Request resolved: #181434 Approved by: https://github.com/EikanWang, https://github.com/wdvr
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/181608
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 1 Unrelated FailureAs of commit abde935 with merge base 58e3fb0 ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
The PRs already landed in main:
#181161
#181434