Skip to content

[upstream #2554] [upstream_ut] AssertionError: AssertionError not raised#22

Draft
Stonepia wants to merge 1 commit into
mainfrom
agent/issue-146
Draft

[upstream #2554] [upstream_ut] AssertionError: AssertionError not raised#22
Stonepia wants to merge 1 commit into
mainfrom
agent/issue-146

Conversation

@Stonepia

Copy link
Copy Markdown
Collaborator

[upstream pytorch#2554] [upstream_ut] AssertionError: AssertionError not raised

Fixes https://github.com/intel-sandbox/torch-xpu-ops-exp/issues/146

Root Cause: These tests compile models via torch.compile with the inductor backend. On XPU, Triton kernel compilation fails with InductorError/SubprocException during fx_codegen_and_compile. Previously the tests may have failed at a later assertion point (AssertionError from numerical mismatches), but now they fail earlier during compilation itself, producing a different exception type.

Failed Tests:

  • test/inductor/test_cuda_repro.py::CudaReproTests::test_truediv_base_not_bitwise_equivalent
  • test/inductor/test_cuda_repro.py::CudaReproTests::test_emulate_precision_casts_min_pow_chain
  • test/inductor/test_cuda_repro.py::CudaReproTests::test_selecsls42b_misaligned_address

Diff stat:

test/inductor/test_cuda_repro.py | 1 +
 1 file changed, 1 insertion(+)

[upstream pytorch#2554] [upstream_ut]  AssertionError: AssertionError not raised
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant