Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-8015

[QA][PyTorch UT][CPU] test_bad_cast_cpu test from inductor/test_fp8 tests is failing because of AssertionError

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • PyTorch
    • False
    • Hide

      None

      Show
      None
    • True
    • PyTorch Sprint 21, PyTorch Sprint 22, PyTorch Sprint 23

      inductor/test_fp8 tests are failing because of AssertionError: BackendCompilerFailed not raised on main branch

      Tests Failing:

      test_bad_cast_cpu

      Env details:

      PyTorch version: 2.10.0

      Branch: main

      OS: RHEL 9.6

      CPU: Intel

      python version: 3.12

      commit id : 6de6685797cabc6256df76803f3a5f772d5275a7 (tag: trunk/6de6685797cabc6256df76803f3a5f772d5275a7, origin/main, origin/HEAD)

       

      Steps to repro:

      1. Log in to H200.
      1. Login to quay.io: podman login quay.io
      1. Pull base image: podman pull quay.io/aipcc/pytorch:rhel_cuda_build_without_pins
      1. Run the image and specify the GPU to be used: podman run -it <IMAGE_NAME>
      1. Run the PyTorch UT: TEST_CONFIG=cpu python3 test/run_test.py -i inductor/test_fp8

      Expected result: UTs should run fine.

      Actual result:AssertionError: BackendCompilerFailed not raised - The test test_bad_cast_cpu expects a BackendCompilerFailed exception to be raised when performing an invalid FP8 cast operation, but the exception is not raised. The test uses assertRaisesRegex to verify that bad cast operations are properly caught and reported by the backend compiler, but the operation either succeeds or fails with a different exception, causing the test assertion to fail.

       

      Logs are attached below

        1. inductor.test_fp8.log
          309 kB
          Nayan Bhushan Kanganahalli Nagabhushana

              sumantro@redhat.com Sumantro mukherjee
              rh-ee-nkangana Nayan Bhushan Kanganahalli Nagabhushana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: