🐛 Bug
Multiple runs of JitTest.CustomOperators fail with:
C++ exception with description "(ops.size()) == (1) INTERNAL ASSERT FAILED at /home/nshulga/git/pytorch/test/cpp/jit/test_custom_operators.cpp:17, please report a bug to PyTorch. (testCustomOperators at /home/nshulga/git/pytorch/test/cpp/jit/test_custom_operators.cpp:17)
To Reproduce
cmake /path/to/pytorch -G Ninja; ninja test_jit; bin/test_jit --gtest_filter=JitTest.CustomOperators --gtest_repeat=2
cc @suo