Skip to content

[release/2.15] NotImplementedError: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpu #5452

Closed

Description

@kaileiyx

🐛 Describe the bug

Cases:
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vjp_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmap_autograd_grad_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmap_autograd_grad_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_grad_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vjpvmap_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapvjp_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vjpvjp_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapvjp_has_batch_rule_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapvjpvjp_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_bfloat16
op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_float16
op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_bfloat16
op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_float16
op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_bfloat16
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_float16
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_bfloat16
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_float16
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_bfloat16
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_float16
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_nn_xpu.TestNN,test_grid_sample_error_checking
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_cow_input_nn_functional_grid_sample_xpu_float32
op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_bfloat16
op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_float16
op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_float32
op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_float64
op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_forward_ad_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapjvpall_has_batch_rule_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_jvp_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapjvpall_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_fwd_gradients_xpu.TestFwdGradientsXPU,test_forward_mode_AD_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_forward_ad_nn_functional_grid_sample_xpu_float32
op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_backward_nn_functional_grid_sample_xpu_float32
op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_operator_nn_functional_grid_sample_xpu_float32
op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_view_replay_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_gradients_xpu.TestBwdGradientsXPU,test_fn_grad_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_gradients_xpu.TestBwdGradientsXPU,test_fn_gradgrad_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_view_replay_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_autocast_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestMathBitsXPU,test_neg_view_nn_functional_grid_sample_xpu_float64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_backward_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_variant_consistency_eager_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_operator_nn_functional_grid_sample_xpu_float32
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaCudaRefXPU,test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32

Affected cases

functorch/test_ops_xpu
test_schema_check
test_decomp_xpu
test_meta_xpu
test_ops_xpu
test_overrides

ErrorLog

_______ TestOperatorsXPU.test_vjp_nn_functional_grid_sample_xpu_float32 ________
[gw2] linux -- Python 3.10.21 /__w/torch-xpu-ops/torch-xpu-ops/.venv/bin/python
Traceback (most recent call last):
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1588, in test_wrapper
    return test(*args, **kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/common_cuda.py", line 556, in wrapped
    return f(*args, **kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/functorch/test_ops_xpu.py", line 875, in test_vjp
    _test(op)
  File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/functorch/test_ops_xpu.py", line 851, in _test
    result = fn(*primals)
  File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/functorch/test_ops_xpu.py", line 180, in wrapped
    result = f(*_args, **kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/opinfo/core.py", line 1263, in __call__
    return self.op(*args, **kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/nn/functional.py", line 5691, in grid_sample
    return torch.grid_sampler(input, grid, mode_enum, padding_mode_enum, align_corners)
NotImplementedError: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpu

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3914, in wrapper
    method(*args, **kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 672, in instantiated_test
    result = test(self, **param_kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2188, in wrapper
    fn(*args, **kwargs)
  File "/__w/torch-xpu-ops/torch-xpu-ops/.venv/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1600, in test_wrapper
    raise e_tracked from e
Exception: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpu

Caused by sample input at index 30: SampleInput(input=Tensor[size=(2, 3, 5, 5, 5), device="xpu:0", dtype=torch.float32], args=TensorList[Tensor[size=(2, 5, 5, 5, 3), device="xpu:0", dtype=torch.float32]], kwargs={'mode': "'bicubic'", 'padding_mode': "'zeros'", 'align_corners': 'False'}, broadcasts_input=False, name='')

Pytorch

Latest good : 75c19b7
Current : bf09a99

Torch-xpu-ops

Latest good : 7bec652
Current : 313680a

Versions

Details Collecting environment information... PyTorch version: 2.15.0a0+gitbf09a99 Is debug build: False CUDA used to build PyTorch: None ROCm SDK used to build PyTorch: N/A HIP used to build PyTorch: N/A

OS: Ubuntu 26.04 LTS (x86_64)
GCC version: (Ubuntu 13.4.0-10ubuntu1) 13.4.0
Clang version: Could not collect
CMake version: version 3.31.6
Libc version: glibc-2.43

Python version: 3.10.21 (main, Sep 1 2026, 14:16:49) [Clang 22.1.3 ] (64-bit runtime)
Python platform: Linux-7.0.0-14-generic-x86_64-with-glibc2.43
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Is XPU available: True
XPU used to build PyTorch: 20260101
Intel GPU driver version:

  • libze1: 1.28.2-2
  • intel-opencl-icd: 26.18.38308.1-126.04ppa1
    Intel GPU models onboard:
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
  • Intel(R) Arc(TM) Pro B60 Graphics
    Intel GPU models detected:
  • [0] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-1700-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [1] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-2c00-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [2] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-3d00-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [3] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-4e00-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [4] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-9700-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [5] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-a900-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [6] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-ba00-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
  • [7] _XpuDeviceProperties(name='Intel(R) Arc(TM) Pro B60 Graphics', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero V2', type='gpu', device_id=0xE211, uuid=868011e2-0000-0000-cb00-000000000000, driver_version='1.15.38308+1', total_memory=24480MB, local_mem_size=128KB, last_level_cache_size=18432KB, max_compute_units=160, memory_clock_rate=2400MHz, memory_bus_width=64-bit, gpu_eu_count=160, gpu_subslice_count=20, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1, is_integrated_gpu=0)
    HIP runtime version: N/A
    MIOpen runtime version: N/A
    Is XNNPACK available: False
    Caching allocator config: N/A

CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 52 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 512
On-line CPU(s) list: 0-511
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) 6980P
CPU family: 6
Model: 173
Thread(s) per core: 2
Core(s) per socket: 128
Socket(s): 2
Stepping: 1
CPU(s) scaling MHz: 21%
CPU max MHz: 3900.0000
CPU min MHz: 800.0000
BogoMIPS: 4000.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect user_shstk avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr ibt amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization: VT-x
[pip3] onemkl-sycl-dft==2026.1.0
[pip3] onemkl-sycl-lapack==2026.1.0
[pip3] onemkl-sycl-rng==2026.1.0
[pip3] onemkl-sycl-sparse==2026.1.0
[pip3] onnx==1.21.0
[pip3] onnx-ir==0.1.16
[pip3] onnxscript==0.6.2
[pip3] optree==0.13.0
[pip3] tbb==2023.1.0
[pip3] tcmlib==1.5.0
[pip3] torch==2.15.0a0+gitbf09a99
[pip3] torchao==0.19.0.dev20260918+xpu
[pip3] torchaudio==2.11.0a0+b85c99c
[pip3] torchvision==0.30.0a0+447c937
[pip3] triton-xpu==3.8.0+git1e2d42a0
[pip3] umf==1.1.0

Activity

  1. added
    regressionRegression with before/after version or commit signal
    skipped_bmgTemporarily skipped on BMG
    on Sep 21, 2026
  2. mazurjax commented on Sep 22, 2026

    @mazurjax

    I met this issue on Windows LNL with 2.15.0.dev20260920+xpu

  3. self-assigned this
    on Sep 24, 2026
  4. pbielak commented on Sep 24, 2026

    @pbielak
    Contributor

    Should be partially fixed by: #5511

  5. pbielak commented on Sep 25, 2026

    @pbielak
    Contributor

    Added related failures for test_overrides.py (executed after #5435 is merged)

  6. kaileiyx commented on Sep 29, 2026

    @kaileiyx
    ContributorAuthor

    This issue still persists in Pytorch 2.15 pre-release

  7. github-actions commented on Sep 30, 2026

    @github-actions

    ✅ op_ut,third_party.torch-xpu-ops.test.xpu.test_nn_xpu.TestNN,test_grid_sample_error_checking Passed in nightly testing on BMG

  8. changed the title [-]NotImplementedError: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpu[/-] [+][release/2.15] NotImplementedError: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpu[/+] on Oct 5, 2026
  9. github-actions commented on Oct 6, 2026

    @github-actions

    ✅ op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_autocast_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_nn_functional_grid_sample_xpu_float32 Passed in nightly testing on BMG

  10. 2 remaining items

  11. github-actions commented on Oct 12, 2026

    @github-actions

    ✅ op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_bfloat16 op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_float16 op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_float32 op_ut,test.test_overrides.TestTorchFunctionRedispatchOpsDeviceXPU,test_redispatch_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_grad_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_jvp_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vjp_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vjpvjp_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vjpvmap_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmap_autograd_grad_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmap_autograd_grad_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapjvpall_has_batch_rule_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapjvpall_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapvjp_has_batch_rule_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapvjp_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.functorch.test_ops_xpu.TestOperatorsXPU,test_vmapvjpvjp_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_bfloat16 op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_float16 op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_decomp_xpu.TestDecompXPU,test_comprehensive_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaCudaRefXPU,test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_bfloat16 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_float16 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_meta_outplace_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_bfloat16 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_float16 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_dispatch_symbolic_meta_outplace_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_bfloat16 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_float16 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_fwd_gradients_xpu.TestFwdGradientsXPU,test_forward_mode_AD_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_cow_input_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_forward_ad_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_bfloat16 op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_float16 op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_schema_check.TestSchemaCheckModeOpInfoXPU,test_schema_correctness_nn_functional_grid_sample_xpu_float64 Passed in nightly testing on BMG

  12. github-actions commented on Oct 27, 2026

    @github-actions

    ✅ op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_backward_nn_functional_grid_sample_xpu_float32 op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_operator_nn_functional_grid_sample_xpu_float32 op_extended,third_party.torch-xpu-ops.test.xpu.extended.test_ops_xpu.TestCompositeComplianceXPU,test_view_replay_nn_functional_grid_sample_xpu_float32 Passed in nightly testing on BMG

  13. github-actions commented on Oct 27, 2026

    @github-actions

    ✅ op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_gradients_xpu.TestBwdGradientsXPU,test_fn_grad_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_gradients_xpu.TestBwdGradientsXPU,test_fn_gradgrad_nn_functional_grid_sample_xpu_float64 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_variant_consistency_eager_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_backward_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_operator_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCompositeComplianceXPU,test_view_replay_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_autocast_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_nn_functional_grid_sample_xpu_float32 op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestMathBitsXPU,test_neg_view_nn_functional_grid_sample_xpu_float64 Passed in nightly testing on BMG

  14. ZhaoqiongZ commented on Oct 29, 2026

    @ZhaoqiongZ
    Contributor
  15. torchxpubot commented on Oct 29, 2026

    @torchxpubot
    Contributor

    Automated fix session for this issue. Progress in the workflow run.

    All but one of the listed cases are struck through and confirmed passing by nightly comments, so this run targets the single remaining case:
    test_meta_xpu.TestMetaXPU::test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32.

    Issue Triage
    Field Value
    Issue type single-bug
    Reproduction missing no
    Scope torch-xpu-ops
    Dependencies (none)
    Handling agent-fixable

    One root cause (grid_sampler bicubic interpolation with 5D input unimplemented on XPU) behind every case listed in the body, so this is handled as a single bug rather than a batch fan-out.

    Automated by issue-triage.

    Reproduce

    Checked against the latest XPU nightly wheel 2.16.0.dev20261028+xpu (torchvision/torchaudio from the same day) on BMG (Intel(R) Arc(TM) Pro B60), with the repo at 8293ef86 placed at pytorch/third_party/torch-xpu-ops and the pytorch test tree at origin/main (bbca4cdd6ca).

    Test case Verdict Observed
    test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32 NOT_REPRODUCED PASSED (collected as TestMetaCudaRefXPU; the TestMetaXPU class no longer defines this test)
    test_vjp_nn_functional_grid_sample_xpu_float32 (the case in the Error Log) NOT_REPRODUCED PASSED
    all 79 grid_sample cases in test_meta_xpu.py NOT_REPRODUCED 27 passed, 52 skipped, 0 failed

    The capability the issue reports as missing is present: F.grid_sample with a 5D input, mode='bicubic' returns a result instead of raising, so NotImplementedError: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpu can no longer be triggered on this wheel.

    Two notes for whoever closes this:

    • The single un-struck case in the body names TestMetaXPU, but test_dispatch_symbolic_meta_outplace_all_strides is now attached only to TestMetaCudaRef (test/xpu/test_meta_xpu.py:250), so TestMetaXPU::test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32 does not collect at all. The equivalent TestMetaCudaRefXPU case is the one that was run, and it passes -- consistent with the nightly bot's 2026-10-12 report.
    • No skip decorator or skip-list entry is masking any of this; grid_sample appears in the skip lists only for the unrelated test_grid_sample_large_xpu and test_comprehensive_grid_sampler_2d_xpu_float{32,64} cases.

    Automated by fix-reproduce.

    Summary

    Outcome: SKIPPED(no_longer_reproduces). The bug behind every case listed here -- grid_sampler_3d having no bicubic path on XPU -- was fixed by #5511 (2026-10-12), which added the bicubic forward and backward 3D kernels and dropped the check_grid_sampler_3d bicubic refusal; pytorch main's third_party/xpu.txt pin already contains that commit. On nightly 2.16.0.dev20261028+xpu the error cannot be produced, and the one case still un-struck in the body passes, as do all 27 runnable grid_sample cases in test_meta_xpu.py.

    No code change was needed, so no fix branch and no patch artifact were produced. The remaining body entry can be struck through and the issue closed; the only loose end is cosmetic -- that entry names TestMetaXPU, a class that no longer defines the test, so its TestMetaCudaRefXPU counterpart (already struck, already reported passing) is what covers it.

    • Branch: none
    • Base: 8293ef8679eb085249cb89f90797006d40614407 (torch-xpu-ops main, unmodified)
    • Changed files: none
    • Nothing was pushed.

    Generated by fix job.

    Review

    Copy into a new comment, keep ONE verdict, add a note. Two verdicts in
    one comment are dropped as ambiguous.

    **strong-accepted** <!-- review: strong-accepted -->
    **weak-accepted** <!-- review: weak-accepted -->
    **weak-rejected** <!-- review: weak-rejected -->
    **strong-rejected** <!-- review: strong-rejected -->
    **issue-drop** <!-- review: issue-drop -->
    
    notes:
    

    On a batch run add item=<pytorch issue> to say which sub-item the
    verdict is about, in the bold text and in the marker -- the marker
    is invisible, so the bold line is all a reader sees. One comment per
    sub-item, since a bare verdict on a batch does not say which test it
    means and is dropped. run=<id> only when judging a run other than the
    newest, in both places too.

    A CI DISABLED sub-item, item= from the fan-out table:

    **strong-accepted item=197334** <!-- review: strong-accepted item=197334 -->
    notes: same TensorAssign overload as upstream CUDA, fp8 dispatch list matches
    

    Another sub-item of the same batch, judged on an earlier run:

    **weak-rejected run=35171979678 item=197335** <!-- review: weak-rejected run=35171979678 item=197335 -->
    notes: green only because the test is skipped, the kernel still lacks fp8
    

    An [xpu-alignment] issue that should not have been filed -- one issue
    per difference, so no item=:

    **issue-drop** <!-- review: issue-drop -->
    notes: accepted XPU/CUDA numerics difference, nothing to repair
    
  16. added
    agent:skippedAgent lifecycle: nothing to fix (not a bug, no reproducer, or no longer reproduces)
    and removed on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent:skippedAgent lifecycle: nothing to fix (not a bug, no reproducer, or no longer reproduces)hw: BMGBattlemagehw: LNLLunar Lakeos: LinuxLinux platformos: WindowsWindows PlatformregressionRegression with before/after version or commit signalskipped_bmgTemporarily skipped on BMGskipped_windowsTemporarily skipped on Windowstest: utUnit-test failure surface

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions