8000 Update on "[dynamo] raise observed exception for module attribute err… · pytorch/pytorch@28df14a · GitHub
[go: up one dir, main page]

Skip to content

Commit 28df14a

Browse files
committed
Update on "[dynamo] raise observed exception for module attribute errors"
Fixes #153605 cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames [ghstack-poisoned]
1 parent ebc2976 commit 28df14a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dynamo/test_repros.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7179,12 +7179,12 @@ def func(a):
71797179
def test_module_attribute_error(self):
71807180
@torch.compile(backend="eager")
71817181
def f1(x):
7182-
return torch.smoge(x)
7182+
return torch._bar(x)
71837183

71847184
@torch.compile(backend="eager")
71857185
def f2(x):
71867186
try:
7187-
return torch.smoge(x)
7187+
return torch._bar(x)
71887188
except AttributeError:
71897189
return x + 1
71907190

0 commit comments

Comments
 (0)
0