Revert "Python Dispatcher integration with C++ dispatcher (#84826)"

This reverts commit 35f6a69191ef762cf22b6cbfe94b8d9406e16674.

Reverted https://github.com/pytorch/pytorch/pull/84826 on behalf of https://github.com/malfet due to Broke dynamo, see 35f6a69191
This commit is contained in:
PyTorch MergeBot
2022-09-14 14:07:58 +00:00
parent 74ead61944
commit 706b990306
33 changed files with 160 additions and 686 deletions

View File

@ -327,7 +327,7 @@ class TestPrims(TestCase):
# Check that all call_function nodes are prims
call_function_nodes = list(filter(lambda n: n.op == "call_function", gm.graph.nodes))
all_prims_namespace = all(
node.target.name().startswith("prims") for node in call_function_nodes
node.target.name.startswith("prims") for node in call_function_nodes
)
self.assertTrue(all_prims_namespace)