Update on "[dynamo] Remove duplicated guards"

This is by looking at a tlparse of an internal job. We will need deeper audit.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
This commit is contained in:
Animesh Jain
2025-10-17 22:33:37 -07:00

View File

@ -990,7 +990,6 @@ class DuplicateGuardTest(torch._dynamo.test_case.TestCase):
def hook(guard_wrapper, f_locals, builder):
guard_str = str(guard_wrapper)
print(guard_str)
# One for tensor and one for y
self.assertEqual(guard_str.count("NO_HASATTR"), 2)