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

[QA][PyTorch UT][CPU, sGPU] inductor/test_gpu_cpp_wrapper.py - DynamicShapesGpuWrapperGpuTests failure

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • PyTorch
    • False
    • Hide

      None

      Show
      None
    • False

      Description

      Summary: Test for roi_align with GPU wrapper and dynamic shapes failing on CPU and sGPU platforms.

      Test Class: inductor/test_gpu_cpp_wrapper.py::DynamicShapesGpuWrapperGpuTests
      Number of Failing Tests: 1
      Platform: CPU, sGPU (CUDA)
      Test Type: Unit Test

      Version Information:

      • PyTorch Commit: 6bdd8c9
      • Branch: main
      • Test Date: 2026-01-14
      • Sprint: Sprint 24

      Failure Pattern:
      Single root cause - torchvision roi_align operator not available for CUDA backend

      Common Error:
      code
      NotImplementedError: Could not run 'torchvision::roi_align' with arguments from the 'CUDA' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process.
      'torchvision::roi_align' is only available for these backends: [CPU, Meta, QuantizedCPU, ...]
      code

      Failing Tests:
      1. test_roi_align_cuda_dynamic_shapes_gpu_wrapper

      Steps to Reproduce:
      code
      TEST_CONFIG=cpu python3 test/run_test.py -i inductor/test_gpu_cpp_wrapper -k test_roi_align_cuda_dynamic_shapes_gpu_wrapper
      code

      Expected Result:
      Test should pass with torchvision CUDA backend available

      Actual Result:
      Test fails because torchvision::roi_align is not registered for CUDA backend

      Root Cause Analysis:
      The torchvision operator roi_align is missing CUDA kernel registration. This is likely due to incomplete build of torchvision with CUDA support or selective build excluding torchvision CUDA operators.

      Priority: P2

        1. test_roi_align_cuda_dynamic_shapes_cpu.log
          3 kB
          Nayan Bhushan Kanganahalli Nagabhushana
        2. test_roi_align_cuda_dynamic_shapes_sgpu.log
          3 kB
          Nayan Bhushan Kanganahalli Nagabhushana

              rh-ee-nkangana Nayan Bhushan Kanganahalli Nagabhushana
              pytorch-engineering PyTorch Engineering
              PyTorch Infrastructure
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: