Skip to content

Commit

Permalink
Skip sycl breaking changes related cases
Browse files Browse the repository at this point in the history
  • Loading branch information
CuiYifeng committed Jul 9, 2024
1 parent e07e4b6 commit 904c8d5
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions test/xpu/run_test_with_skip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2204,6 +2204,50 @@ def launch_test(test_case, skip_list=None, exe_list=None):
# NotImplementedError: Could not run 'aten::_to_dense' with arguments from the 'SparseXPU' backend.
"test_fn_fwgrad_bwgrad_to_sparse_xpu_float64",
"test_forward_mode_AD_to_sparse_xpu_float64",
# Deselect for sycl-preview breaking changes
"test_fn_fwgrad_bwgrad_fft_fft2_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_fft2_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_fft_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_fft_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_fftn_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_fftn_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_hfft2_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_hfft2_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_hfftn_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_hfftn_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_ifft2_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_ifft2_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_ifft_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_ifft_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_ifftn_xpu_complex128",
"test_fn_fwgrad_bwgrad_fft_ifftn_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_ihfft2_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_ihfft_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_ihfftn_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_rfft2_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_rfft_xpu_float64",
"test_fn_fwgrad_bwgrad_fft_rfftn_xpu_float64",
"test_fn_fwgrad_bwgrad_istft_xpu_complex128",
"test_fn_fwgrad_bwgrad_stft_xpu_complex128",
"test_fn_fwgrad_bwgrad_stft_xpu_float64",
"test_forward_mode_AD_fft_fft2_xpu_complex128",
"test_forward_mode_AD_fft_fft2_xpu_float64",
"test_forward_mode_AD_fft_fft_xpu_complex128",
"test_forward_mode_AD_fft_fftn_xpu_complex128",
"test_forward_mode_AD_fft_fftn_xpu_float64",
"test_forward_mode_AD_fft_hfft2_xpu_complex128",
"test_forward_mode_AD_fft_hfft2_xpu_float64",
"test_forward_mode_AD_fft_hfftn_xpu_complex128",
"test_forward_mode_AD_fft_hfftn_xpu_float64",
"test_forward_mode_AD_fft_ifft2_xpu_complex128",
"test_forward_mode_AD_fft_ifft2_xpu_float64",
"test_forward_mode_AD_fft_ifft_xpu_complex128",
"test_forward_mode_AD_fft_ifftn_xpu_complex128",
"test_forward_mode_AD_fft_ifftn_xpu_float64",
"test_forward_mode_AD_fft_ihfft2_xpu_float64",
"test_forward_mode_AD_fft_ihfftn_xpu_float64",
"test_forward_mode_AD_istft_xpu_complex128",
"test_forward_mode_AD_stft_xpu_complex128",
)
res += launch_test("test_ops_fwd_gradients_xpu.py", skip_list)

Expand Down Expand Up @@ -2737,6 +2781,64 @@ def launch_test(test_case, skip_list=None, exe_list=None):
### Error #7 in TestBwdGradientsXPU , totally 2 , NotImplementedError: Could not run 'aten::_sparse_coo_tensor_with_dims_and_tensors' with arguments from the 'SparseXPU' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. 'aten::_sparse_coo_tensor_with_dims_and_tensors' is only available for these backends: [XPU, Meta, SparseCPU, SparseMeta, BackendSelect, Python, FuncTorchDynamicLayerBackMode, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradHIP, AutogradXLA, AutogradMPS, AutogradIPU, AutogradXPU, AutogradHPU, AutogradVE, AutogradLazy, AutogradMTIA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, AutogradMeta, AutogradNestedTensor, Tracer, AutocastCPU, AutocastXPU, AutocastCUDA, FuncTorchBatched, BatchedNestedTensor, FuncTorchVmapMode, Batched, VmapMode, FuncTorchGradWrapper, PythonTLSSnapshot, FuncTorchDynamicLayerFrontMode, PreDispatch, PythonDispatcher].
"test_fn_grad_to_sparse_xpu_float64",
"test_fn_gradgrad_to_sparse_xpu_float64",
# Deselect for sycl-preview breaking changes
"test_fn_grad_fft_fft2_xpu_complex128",
"test_fn_grad_fft_fft2_xpu_float64",
"test_fn_grad_fft_fft_xpu_complex128",
"test_fn_grad_fft_fft_xpu_float64",
"test_fn_grad_fft_fftn_xpu_complex128",
"test_fn_grad_fft_fftn_xpu_float64",
"test_fn_grad_fft_hfft2_xpu_complex128",
"test_fn_grad_fft_hfft2_xpu_float64",
"test_fn_grad_fft_hfftn_xpu_complex128",
"test_fn_grad_fft_hfftn_xpu_float64",
"test_fn_grad_fft_ifft2_xpu_complex128",
"test_fn_grad_fft_ifft2_xpu_float64",
"test_fn_grad_fft_ifft_xpu_complex128",
"test_fn_grad_fft_ifft_xpu_float64",
"test_fn_grad_fft_ifftn_xpu_complex128",
"test_fn_grad_fft_ifftn_xpu_float64",
"test_fn_grad_fft_ihfft2_xpu_float64",
"test_fn_grad_fft_ihfft_xpu_float64",
"test_fn_grad_fft_ihfftn_xpu_float64",
"test_fn_grad_fft_rfft2_xpu_float64",
"test_fn_grad_fft_rfft_xpu_float64",
"test_fn_grad_fft_rfftn_xpu_float64",
"test_fn_grad_stft_xpu_complex128",
"test_fn_grad_stft_xpu_float64",
"test_fn_gradgrad_fft_fft2_xpu_complex128",
"test_fn_gradgrad_fft_fft2_xpu_float64",
"test_fn_gradgrad_fft_fft_xpu_complex128",
"test_fn_gradgrad_fft_fft_xpu_float64",
"test_fn_gradgrad_fft_fftn_xpu_complex128",
"test_fn_gradgrad_fft_fftn_xpu_float64",
"test_fn_gradgrad_fft_hfft2_xpu_complex128",
"test_fn_gradgrad_fft_hfft2_xpu_float64",
"test_fn_gradgrad_fft_hfft_xpu_complex128",
"test_fn_gradgrad_fft_hfft_xpu_float64",
"test_fn_gradgrad_fft_hfftn_xpu_complex128",
"test_fn_gradgrad_fft_hfftn_xpu_float64",
"test_fn_gradgrad_fft_ifft2_xpu_complex128",
"test_fn_gradgrad_fft_ifft2_xpu_float64",
"test_fn_gradgrad_fft_ifft_xpu_complex128",
"test_fn_gradgrad_fft_ifft_xpu_float64",
"test_fn_gradgrad_fft_ifftn_xpu_complex128",
"test_fn_gradgrad_fft_ifftn_xpu_float64",
"test_fn_gradgrad_fft_ihfft2_xpu_float64",
"test_fn_gradgrad_fft_ihfft_xpu_float64",
"test_fn_gradgrad_fft_ihfftn_xpu_float64",
"test_fn_gradgrad_fft_irfft2_xpu_complex128",
"test_fn_gradgrad_fft_irfft2_xpu_float64",
"test_fn_gradgrad_fft_irfft_xpu_complex128",
"test_fn_gradgrad_fft_irfft_xpu_float64",
"test_fn_gradgrad_fft_irfftn_xpu_complex128",
"test_fn_gradgrad_fft_irfftn_xpu_float64",
"test_fn_gradgrad_fft_rfft2_xpu_float64",
"test_fn_gradgrad_fft_rfft_xpu_float64",
"test_fn_gradgrad_fft_rfftn_xpu_float64",
"test_fn_gradgrad_istft_xpu_complex128",
"test_fn_gradgrad_stft_xpu_complex128",
"test_fn_gradgrad_stft_xpu_float64",
)
res += launch_test("test_ops_gradients_xpu.py", skip_list)

Expand Down

0 comments on commit 904c8d5

Please sign in to comment.