Skip to content

[IR] Create documentation for tensors #6621

[IR] Create documentation for tensors

[IR] Create documentation for tensors #6621

GitHub Actions / Test Results failed May 5, 2024 in 0s

3 fail, 2 219 skipped, 4 937 pass in 32m 41s

     26 files      26 suites   32m 41s ⏱️
  7 159 tests  4 937 ✅   2 219 💤  3 ❌
221 470 runs  56 117 ✅ 165 296 💤 57 ❌

Results for commit 53cc52c.

Annotations

Check warning on line 0 in tests.functions.gemmgelu_test.TestGemmGelu

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 8 runs failed: test_gemmgelu (tests.functions.gemmgelu_test.TestGemmGelu)

artifacts/Test Results (py311-ort-nightly-macos-latest)/pytest.xml [took 0s]
Raw output
AssertionError: 
Not equal to tolerance rtol=1e-07, atol=0

Mismatched elements: 1 / 16 (6.25%)
Max absolute difference: 2.3841858e-07
Max relative difference: 1.5581162e-07
 x: array([[[1.608876, 1.258398, 1.868434, 1.530172, 1.502594, 1.577003,
         0.930287, 1.438904],
        [2.2129  , 1.367099, 2.42691 , 2.158696, 1.992608, 2.096078,
         1.297177, 2.084625]]], dtype=float32)
 y: array([[[1.608876, 1.258398, 1.868434, 1.530172, 1.502594, 1.577003,
         0.930287, 1.438904],
        [2.2129  , 1.367099, 2.42691 , 2.158696, 1.992608, 2.096078,
         1.297177, 2.084625]]], dtype=float32)
tests/functions/gemmgelu_test.py:62: in test_gemmgelu
    self.run_converter_test(case)
tests/common/onnx_script_test_case.py:255: in run_converter_test
    np.testing.assert_allclose(actual, param.output, rtol=self.rtol)
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py:81: in inner
    return func(*args, **kwds)
E   AssertionError: 
E   Not equal to tolerance rtol=1e-07, atol=0
E   
E   Mismatched elements: 1 / 16 (6.25%)
E   Max absolute difference: 2.3841858e-07
E   Max relative difference: 1.5581162e-07
E    x: array([[[1.608876, 1.258398, 1.868434, 1.530172, 1.502594, 1.577003,
E            0.930287, 1.438904],
E           [2.2129  , 1.367099, 2.42691 , 2.158696, 1.992608, 2.096078,
E            1.297177, 2.084625]]], dtype=float32)
E    y: array([[[1.608876, 1.258398, 1.868434, 1.530172, 1.502594, 1.577003,
E            0.930287, 1.438904],
E           [2.2129  , 1.367099, 2.42691 , 2.158696, 1.992608, 2.096078,
E            1.297177, 2.084625]]], dtype=float32)

Check warning on line 0 in tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU

See this annotation in the file changed.

@github-actions github-actions / Test Results

7 out of 10 runs failed: test_output_match_opinfo__native_layer_norm_cpu_float32 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py38-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
Raw output
AssertionError: Output 2 mismatch
AssertionError: Output 2 mismatch
AssertionError: Output 2 mismatch
AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 1.154693603515625 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.0036514615640044212 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 15.526153564453125 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.04909800738096237 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 4.3814697265625 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.013855422846972942 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 3.34576416015625 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.010580234229564667 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch

Check warning on line 0 in tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU

See this annotation in the file changed.

@github-actions github-actions / Test Results

7 out of 10 runs failed: test_output_match_opinfo__native_layer_norm_cpu_float32 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py38-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
Raw output
AssertionError: Output 2 mismatch
AssertionError: Output 2 mismatch
AssertionError: Output 2 mismatch
AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 1.154693603515625 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.0036514615640044212 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 15.526153564453125 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.04909800738096237 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 4.3814697265625 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.013855422846972942 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch
tests/function_libs/torch_lib/ops_test.py:279: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 1 / 1 (100.0%)
E   Greatest absolute difference: 3.34576416015625 at index (0,) (up to 0.00018 allowed)
E   Greatest relative difference: 0.010580234229564667 at index (0,) (up to 3.7e-05 allowed)

The above exception was the direct cause of the following exception:
tests/function_libs/torch_lib/ops_test.py:293: in run_test_output_match
    raise AssertionError(f"Output {j} mismatch") from e
E   AssertionError: Output 2 mismatch