-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
False
-
-
False
-
-
Summary:
Test in TestNN is failing during PyTorch unit test execution on CPU platform.
Test Class: test/test_nn.py::TestNN
Number of Failing Tests: 1
Platform: CPU
Test Type: Unit Test
Version Information:
- PyTorch Commit: 6bdd8c9
- Branch: main
- Test Date: 2026-01-14
- Sprint: Sprint 24
Failure Pattern:
Single root cause - tensor comparison failure in LSTM partial flat weights test
Common Error:
AssertionError: Tensor-likes are not close! Mismatched elements: 9 / 36 (25.0%) Greatest absolute difference: 3.0120834708213806e-05 at index (2, 0, 4) (up to 1e-05 allowed) Greatest relative difference: 0.0030780492816120386 at index (2, 0, 4) (up to 1.3e-06 allowed)
Failing Tests:
1. test_partial_flat_weights
Steps to Reproduce:
1. Run test command:
TEST_CONFIG=cpu python3 test/run_test.py -i test_nn TEST_CONFIG=cuda python3 test/run_test.py -i test_nn
2. Observe assertion error
Expected Result:
Test should pass
Actual Result:
Test fails with tensor comparison tolerance error in LSTM partial flat weights
Additional Context:
- Note: sGPU ticket AIPCC-8250 exists for the same test class
- This is the CPU-specific failure
Logs:
Test execution logs: /home/ktanmay/Downloads/Run 1-20260120T060019Z-1-001/Run 1/20260114_024940_commit_6bdd8c9/cpu_tests.log
Priority: P3
Labels: pytorch, unittest, cpu, test_nn, lstm