Revert "[fx] Fix quadratic name generation in _NamespaceBase.create_name (#176515)"#176948
Revert "[fx] Fix quadratic name generation in _NamespaceBase.create_name (#176515)"#176948wdvr wants to merge 1 commit intopytorch:mainfrom
Conversation
…ame (pytorch#176515)" This reverts commit c4ec0b8.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/176948
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 54 PendingAs of commit 6836a62 with merge base 5f68a4a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@pytorchbot label "topic: not user facing" |
|
@pytorchmergebot merge -f "lint passed- this is a revert, not waiting for full signal" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary
Reverts #176515.
This is a prerequisite for reverting the full
[fx] Move _Namespace to C++series (#170962), which was reverted internally due to S627920 but the revert was never exported to GitHub.The quadratic fix patches
torch/csrc/fx/graph.cppwhich was introduced by #170962. This revert must land first so that #170962 can be cleanly reverted afterwards.cc @jansel @anijain2305
Test plan
CI — this revert removes a bugfix from C++ code that will itself be reverted in a follow-up PR.