Repository navigation
Description
🐛 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/AOS: 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-1
26.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
mazurjax commentedon Sep 22, 2026
I met this issue on Windows LNL with 2.15.0.dev20260920+xpu
pbielak commentedon Sep 24, 2026
Should be partially fixed by: #5511
pbielak commentedon Sep 25, 2026
Added related failures for
test_overrides.py(executed after #5435 is merged)kaileiyx commentedon Sep 29, 2026
This issue still persists in Pytorch 2.15 pre-release
github-actions commentedon Sep 30, 2026
✅ op_ut,third_party.torch-xpu-ops.test.xpu.test_nn_xpu.TestNN,test_grid_sample_error_checking Passed in nightly testing on BMG
[-]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[/+]github-actions commentedon Oct 6, 2026
✅ 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
2 remaining items
github-actions commentedon Oct 12, 2026
✅ 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
Implement bicubic version of `grid_sampler_3d` (intel#5511)
github-actions commentedon Oct 27, 2026
✅ 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
github-actions commentedon Oct 27, 2026
✅ 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
Implement bicubic version of `grid_sampler_3d` (intel#5511)
ZhaoqiongZ commentedon Oct 29, 2026
@torchxpubot fix
torchxpubot commentedon Oct 29, 2026
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
One root cause (
grid_samplerbicubic 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 at8293ef86placed atpytorch/third_party/torch-xpu-opsand the pytorch test tree atorigin/main(bbca4cdd6ca).test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32TestMetaCudaRefXPU; theTestMetaXPUclass no longer defines this test)test_vjp_nn_functional_grid_sample_xpu_float32(the case in the Error Log)grid_samplecases intest_meta_xpu.pyThe capability the issue reports as missing is present:
F.grid_samplewith a 5D input,mode='bicubic'returns a result instead of raising, soNotImplementedError: grid_sampler(): bicubic interpolation with 5D input is not implemented for xpucan no longer be triggered on this wheel.Two notes for whoever closes this:
TestMetaXPU, buttest_dispatch_symbolic_meta_outplace_all_stridesis now attached only toTestMetaCudaRef(test/xpu/test_meta_xpu.py:250), soTestMetaXPU::test_dispatch_symbolic_meta_outplace_all_strides_nn_functional_grid_sample_xpu_float32does not collect at all. The equivalentTestMetaCudaRefXPUcase is the one that was run, and it passes -- consistent with the nightly bot's 2026-10-12 report.grid_sampleappears in the skip lists only for the unrelatedtest_grid_sample_large_xpuandtest_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_3dhaving no bicubic path on XPU -- was fixed by #5511 (2026-10-12), which added the bicubic forward and backward 3D kernels and dropped thecheck_grid_sampler_3dbicubic refusal; pytorch main'sthird_party/xpu.txtpin already contains that commit. On nightly2.16.0.dev20261028+xputhe error cannot be produced, and the one case still un-struck in the body passes, as do all 27 runnablegrid_samplecases intest_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 itsTestMetaCudaRefXPUcounterpart (already struck, already reported passing) is what covers it.8293ef8679eb085249cb89f90797006d40614407(torch-xpu-opsmain, unmodified)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.
On a batch run add
item=<pytorch issue>to say which sub-item theverdict 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 thenewest, in both places too.
A CI DISABLED sub-item,
item=from the fan-out table:Another sub-item of the same batch, judged on an earlier run:
An
[xpu-alignment]issue that should not have been filed -- one issueper difference, so no
item=:CI: device-aware P0 skip for BMG; deselect 12 known 2.15 BMG UT failures
CI: device-aware P0 skip for BMG; deselect 12 known 2.15 BMG UT failures
CI: device-aware P0 skip for BMG; deselect 12 known 2.15 BMG UT failures