This is an automated email from the ASF dual-hosted git repository.
tlopex pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 60c6ad7e29 [Fix][Relax][PyTorch] Compare Dynamo output against PyTorch
reference (#19994)
60c6ad7e29 is described below
commit 60c6ad7e29c52455dba73907903b119b3e16e8f5
Author: Masahiro Hiramori <[email protected]>
AuthorDate: Tue Jul 14 03:13:19 2026 +0900
[Fix][Relax][PyTorch] Compare Dynamo output against PyTorch reference
(#19994)
Fix a self-comparison in test_relax_dynamo_dynamic.
---
tests/python/relax/test_frontend_dynamo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/python/relax/test_frontend_dynamo.py
b/tests/python/relax/test_frontend_dynamo.py
index ae69905d30..72e05a5649 100644
--- a/tests/python/relax/test_frontend_dynamo.py
+++ b/tests/python/relax/test_frontend_dynamo.py
@@ -177,7 +177,7 @@ def test_relax_dynamo_dynamic():
x = torch.randn(s, 100)
y = torch.randn(s, 100)
with torch.no_grad():
- tvm.testing.assert_allclose(opt_func(x, y), opt_func(x, y))
+ tvm.testing.assert_allclose(Func1(x, y), opt_func(x, y))
def test_relax_dynamo_dynamic_sym_input_reference():