PYTORCH_TEST_WITH_SLOW=1 pytest -v test/test_ops.py -k test_noncontiguous_samples_inner_xpu_int64
[gw0] linux -- Python 3.10.13 /home/daisyden/miniforge3/envs/cuda_inductor/bin/python3.10
Traceback (most recent call last):
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1165, in test_wrapper
return test(*args, **kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_cuda.py", line 327, in wrapped
return f(*args, **kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1516, in only_fn
return fn(self, *args, **kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2496, in wrapper
fn(*args, **kwargs)
File "/home/daisyden/upstream/cuda_inductor/test/test_ops.py", line 851, in test_noncontiguous_samples
expected = op(t_inp, *t_args, **t_kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/opinfo/core.py", line 1259, in __call__
return self.op(*args, **kwargs)
NotImplementedError: "dot_xpu_mkl" not implemented for 'Long'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3362, in wrapper
method(*args, **kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 430, in instantiated_test
result = test(self, **param_kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1758, in wrapper
fn(*args, **kwargs)
File "/home/daisyden/miniforge3/envs/cuda_inductor/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1177, in test_wrapper
raise e_tracked from e
Exception: "dot_xpu_mkl" not implemented for 'Long'
Caused by sample input at index 0: SampleInput(input=Tensor[size=(5,), device="xpu:0", dtype=torch.int64], args=TensorList[Tensor[size=(5,), device="xpu:0", dtype=torch.int64]], kwargs={}, broadcasts_input=False, name=
'')
To execute this test, run the following from the base repo dir:
PYTORCH_OPINFO_SAMPLE_INPUT_INDEX=0 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py TestCommonXPU.test_noncontiguous_samples_inner_xpu_int64
🐛 Describe the bug
PYTORCH_TEST_WITH_SLOW=1 pytest -v test/test_ops.py -k test_noncontiguous_samples_inner_xpu_int64
Versions
pytorch/pytorch#176690