-
Notifications
You must be signed in to change notification settings - Fork 62
Description
🐛 Describe the bug with skip template
Cases:
op_ut,,third_party.torch-xpu-ops.test.xpu.test_indexing_xpu
op_ut,,third_party.torch-xpu-ops.test.xpu.test_native_mha_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_sparse_xpu.TestSparseAnyXPU,test_reductions_backward_sum_SparseCOO_xpu_float64
op_ut,,third_party.torch-xpu-ops.test.xpu.nn.test_embedding_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_nn_xpu.TestNNDeviceTypeXPU,test_large_max_pool_contig_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_compare_cpu_torch__scaled_mm_v2_xpu_float8_e4m3fn
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_autocast_torch__scaled_mm_v2_xpu_float8_e4m3fn
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_out_warning_torch__scaled_mm_v2_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_pointwise_ops_torch__scaled_mm_v2_xpu_float8_e4m3fn
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_torch__scaled_mm_v2_xpu_float8_e4m3fn
op_ut,third_party.torch-xpu-ops.test.xpu.test_meta_xpu.TestMetaXPU,test_meta_outplace_to_sparse_xpu_uint8
Failed logs:
op_ut,,third_party.torch-xpu-ops.test.xpu.test_indexing_xpu
'''
==================================== ERRORS ====================================
___ ERROR collecting third_party/torch-xpu-ops/test/xpu/test_indexing_xpu.py ___
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 398, in collect
return list(collector.collect())
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 563, in collect
self._register_setup_module_fixture()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 576, in _register_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 289, in obj
self._obj = obj = self._getobj()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 560, in _getobj
return importtestmodule(self.path, self.config)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 507, in importtestmodule
mod = import_path(
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/pathlib.py", line 587, in import_path
importlib.import_module(module_name)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/test_indexing_xpu.py", line 13, in
from test_indexing import NumpyTests, TestIndexing
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_indexing.py", line 49, in
class TestIndexing(TestCase):
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_indexing.py", line 1336, in TestIndexing
def test_index_put_src_datatype(self, device, dtype):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1601, in call
assert self.device_type not in d, f"dtypes redefinition for {self.device_type}"
AssertionError: dtypes redefinition for xpu
___ ERROR collecting third_party/torch-xpu-ops/test/xpu/test_indexing_xpu.py ___
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 398, in collect
return list(collector.collect())
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 563, in collect
self._register_setup_module_fixture()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 576, in _register_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 289, in obj
self._obj = obj = self._getobj()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 560, in _getobj
return importtestmodule(self.path, self.config)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 507, in importtestmodule
mod = import_path(
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/pathlib.py", line 587, in import_path
importlib.import_module(module_name)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/test_indexing_xpu.py", line 13, in
from test_indexing import NumpyTests, TestIndexing
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_indexing.py", line 49, in
class TestIndexing(TestCase):
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_indexing.py", line 1336, in TestIndexing
def test_index_put_src_datatype(self, device, dtype):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1601, in call
assert self.device_type not in d, f"dtypes redefinition for {self.device_type}"
AssertionError: dtypes redefinition for xpu
'''
op_ut,,third_party.torch-xpu-ops.test.xpu.test_native_mha_xpu
'''
==================================== ERRORS ====================================
__ ERROR collecting third_party/torch-xpu-ops/test/xpu/test_native_mha_xpu.py __
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 398, in collect
return list(collector.collect())
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 563, in collect
self._register_setup_module_fixture()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 576, in _register_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 289, in obj
self._obj = obj = self._getobj()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 560, in _getobj
return importtestmodule(self.path, self.config)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 507, in importtestmodule
mod = import_path(
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/pathlib.py", line 587, in import_path
importlib.import_module(module_name)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/test_native_mha_xpu.py", line 12, in
from test_native_mha import TestMHADeviceType
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_native_mha.py", line 18, in
class TestMHADeviceType(TestCase):
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_native_mha.py", line 98, in TestMHADeviceType
def test_transform_bias_rescale_qkv(self, device, dtype):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1601, in call
assert self.device_type not in d, f"dtypes redefinition for {self.device_type}"
AssertionError: dtypes redefinition for xpu
__ ERROR collecting third_party/torch-xpu-ops/test/xpu/test_native_mha_xpu.py __
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 398, in collect
return list(collector.collect())
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 563, in collect
self._register_setup_module_fixture()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 576, in _register_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 289, in obj
self._obj = obj = self._getobj()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 560, in _getobj
return importtestmodule(self.path, self.config)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 507, in importtestmodule
mod = import_path(
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/pathlib.py", line 587, in import_path
importlib.import_module(module_name)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/test_native_mha_xpu.py", line 12, in
from test_native_mha import TestMHADeviceType
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_native_mha.py", line 18, in
class TestMHADeviceType(TestCase):
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_native_mha.py", line 98, in TestMHADeviceType
def test_transform_bias_rescale_qkv(self, device, dtype):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1601, in call
assert self.device_type not in d, f"dtypes redefinition for {self.device_type}"
AssertionError: dtypes redefinition for xpu
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_sparse_xpu.TestSparseAnyXPU,test_reductions_backward_sum_SparseCOO_xpu_float64
'''
worker 'gw2' crashed while running 'third_party/torch-xpu-ops/test/xpu/test_sparse_xpu.py::TestSparseAnyXPU::test_reductions_backward_sum_SparseCOO_xpu_float64'
'''
op_ut,,third_party.torch-xpu-ops.test.xpu.nn.test_embedding_xpu
'''
==================================== ERRORS ====================================
_ ERROR collecting third_party/torch-xpu-ops/test/xpu/nn/test_embedding_xpu.py _
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/runner.py", line 398, in collect
return list(collector.collect())
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 563, in collect
self._register_setup_module_fixture()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 576, in _register_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 289, in obj
self._obj = obj = self._getobj()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 560, in _getobj
return importtestmodule(self.path, self.config)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/python.py", line 507, in importtestmodule
mod = import_path(
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/_pytest/pathlib.py", line 587, in import_path
importlib.import_module(module_name)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/nn/test_embedding_xpu.py", line 12, in
from test_embedding import TestEmbeddingNNDeviceType
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/nn/test_embedding.py", line 289, in
class TestEmbeddingNNDeviceType(NNTestCase):
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/nn/test_embedding.py", line 321, in TestEmbeddingNNDeviceType
def test_embedding_backward(self, device, dtype):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1601, in call
assert self.device_type not in d, f"dtypes redefinition for {self.device_type}"
AssertionError: dtypes redefinition for xpu
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_nn_xpu.TestNNDeviceTypeXPU,test_large_max_pool_contig_xpu
'''
worker 'gw1' crashed while running 'third_party/torch-xpu-ops/test/xpu/test_nn_xpu.py::TestNNDeviceTypeXPU::test_large_max_pool_contig_xpu'
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_compare_cpu_torch__scaled_mm_v2_xpu_float8_e4m3fn
'''
_____ TestCommonXPU.test_compare_cpu_torch__scaled_mm_v2_xpu_float8_e4m3fn _____
[gw0] linux -- Python 3.10.19 /tmp/xpu-tool/Python/3.10.19/x64/bin/python
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 591, in run
self._callTestMethod(testMethod)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
method()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3334, in wrapper
method(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 428, in instantiated_test
result = test(self, **param_kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1435, in only_fn
return fn(slf, *args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1741, in wrapper
fn(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1164, in test_wrapper
raise e
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1151, in test_wrapper
return test(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1435, in only_fn
return fn(slf, *args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2469, in wrapper
fn(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2441, in wrapper
fn(*args, **kwargs)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 499, in test_compare_cpu
for sample in samples:
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 446, in next
input_idx, input_val = next(self.child_iter)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 40, in generator_context
response = gen.send(None)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_methods_invocations.py", line 8900, in sample_inputs_scaled_mm_v2
dmajor, dminor = torch.cuda.get_device_capability()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 615, in get_device_capability
prop = get_device_properties(device)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 632, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 417, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_autocast_torch__scaled_mm_v2_xpu_float8_e4m3fn
'''
__ TestFakeTensorXPU.test_fake_autocast_torch__scaled_mm_v2_xpu_float8_e4m3fn __
[gw7] linux -- Python 3.10.19 /tmp/xpu-tool/Python/3.10.19/x64/bin/python
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 591, in run
self._callTestMethod(testMethod)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
method()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3334, in wrapper
method(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 428, in instantiated_test
result = test(self, **param_kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1435, in only_fn
return fn(slf, *args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1741, in wrapper
fn(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1164, in test_wrapper
raise e
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1151, in test_wrapper
return test(*args, **kwargs)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 2930, in test_fake_autocast
self._test_fake_helper(device, dtype, op, context_fn)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 2766, in _test_fake_helper
for sample in samples:
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 446, in next
input_idx, input_val = next(self.child_iter)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 40, in generator_context
response = gen.send(None)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_methods_invocations.py", line 8900, in sample_inputs_scaled_mm_v2
dmajor, dminor = torch.cuda.get_device_capability()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 615, in get_device_capability
prop = get_device_properties(device)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 632, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 417, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_out_warning_torch__scaled_mm_v2_xpu
'''
____________ TestCommonXPU.test_out_warning_torch__scaled_mm_v2_xpu ____________
[gw1] linux -- Python 3.10.19 /tmp/xpu-tool/Python/3.10.19/x64/bin/python
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 591, in run
self._callTestMethod(testMethod)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
method()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3334, in wrapper
method(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 428, in instantiated_test
result = test(self, **param_kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1435, in only_fn
return fn(slf, *args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1741, in wrapper
fn(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1164, in test_wrapper
raise e
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1151, in test_wrapper
return test(*args, **kwargs)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 949, in test_out_warning
for sample in samples:
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 446, in next
input_idx, input_val = next(self.child_iter)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 40, in generator_context
response = gen.send(None)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_methods_invocations.py", line 8900, in sample_inputs_scaled_mm_v2
dmajor, dminor = torch.cuda.get_device_capability()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 615, in get_device_capability
prop = get_device_properties(device)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 632, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 417, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_pointwise_ops_torch__scaled_mm_v2_xpu_float8_e4m3fn
'''
__ TestFakeTensorXPU.test_pointwise_ops_torch__scaled_mm_v2_xpu_float8_e4m3fn __
[gw2] linux -- Python 3.10.19 /tmp/xpu-tool/Python/3.10.19/x64/bin/python
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 591, in run
self._callTestMethod(testMethod)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
method()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3334, in wrapper
method(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 428, in instantiated_test
result = test(self, **param_kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1435, in only_fn
return fn(slf, *args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1741, in wrapper
fn(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1164, in test_wrapper
raise e
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1151, in test_wrapper
return test(*args, **kwargs)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 2895, in test_pointwise_ops
for sample in samples:
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 446, in next
input_idx, input_val = next(self.child_iter)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 40, in generator_context
response = gen.send(None)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_methods_invocations.py", line 8900, in sample_inputs_scaled_mm_v2
dmajor, dminor = torch.cuda.get_device_capability()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 615, in get_device_capability
prop = get_device_properties(device)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 632, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 417, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
'''
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestFakeTensorXPU,test_fake_torch__scaled_mm_v2_xpu_float8_e4m3fn
'''
______ TestFakeTensorXPU.test_fake_torch__scaled_mm_v2_xpu_float8_e4m3fn _______
[gw1] linux -- Python 3.10.19 /tmp/xpu-tool/Python/3.10.19/x64/bin/python
Traceback (most recent call last):
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 591, in run
self._callTestMethod(testMethod)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
method()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3334, in wrapper
method(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 428, in instantiated_test
result = test(self, **param_kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1435, in only_fn
return fn(slf, *args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1741, in wrapper
fn(*args, **kwargs)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1164, in test_wrapper
raise e
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 1151, in test_wrapper
return test(*args, **kwargs)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 2919, in test_fake
self._test_fake_helper(device, dtype, op, contextlib.nullcontext)
File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_ops.py", line 2766, in _test_fake_helper
for sample in samples:
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 446, in next
input_idx, input_val = next(self.child_iter)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 40, in generator_context
response = gen.send(None)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_methods_invocations.py", line 8900, in sample_inputs_scaled_mm_v2
dmajor, dminor = torch.cuda.get_device_capability()
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 615, in get_device_capability
prop = get_device_properties(device)
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 632, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/cuda/init.py", line 417, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
'''
Versions
Collecting environment information...
PyTorch version: 2.10.0a0+git40e6f09
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0
Clang version: Could not collect
CMake version: version 3.31.6
Libc version: glibc-2.35
Python version: 3.10.19 (main, Oct 10 2025, 01:02:36) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-157-generic-x86_64-with-glibc2.35
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: 20250201
Intel GPU driver version:
- intel-opencl-icd: 25.18.33578.38-1146~22.04
- libze1: 1.21.9.0-1136~22.04
Intel GPU models onboard:
N/A
Intel GPU models detected: - [0] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-0f00-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [1] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-1600-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [2] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-1a00-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [3] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-1e00-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [4] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-af00-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [5] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-b300-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [6] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-bf00-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
- [7] _XpuDeviceProperties(name='Intel(R) Data Center GPU Max 1100', platform_name='Intel(R) oneAPI Unified Runtime over Level-Zero', type='gpu', device_id=0xBDA, uuid=8680da0b-2f00-0000-c300-000000000000, driver_version='1.6.33578+38', total_memory=49136MB, max_compute_units=448, gpu_eu_count=448, gpu_subslice_count=56, max_work_group_size=1024, max_num_sub_groups=64, sub_group_sizes=[16 32], has_fp16=1, has_fp64=1, has_atomic64=1)
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 192
On-line CPU(s) list: 0-191
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Platinum 8468V
CPU family: 6
Model: 143
Thread(s) per core: 2
Core(s) per socket: 48
Socket(s): 2
Stepping: 8
Frequency boost: enabled
CPU max MHz: 2401.0000
CPU min MHz: 800.0000
BogoMIPS: 4800.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 invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi 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 avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization: VT-x
L1d cache: 4.5 MiB (96 instances)
L1i cache: 3 MiB (96 instances)
L2 cache: 192 MiB (96 instances)
L3 cache: 195 MiB (2 instances)
NUMA node(s): 2
NUMA node0 CPU(s): 0-47,96-143
NUMA node1 CPU(s): 48-95,144-191
Vulnerability Gather data sampling: Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds: Not affected
Vulnerability Tsa: Not affected
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] dpcpp-cpp-rt==2025.2.1
[pip3] impi-rt==2021.16.1
[pip3] intel-cmplr-lib-rt==2025.2.1
[pip3] intel-cmplr-lib-ur==2025.2.1
[pip3] intel-cmplr-lic-rt==2025.2.1
[pip3] intel-opencl-rt==2025.2.1
[pip3] intel-openmp==2025.2.1
[pip3] intel-pti==0.13.1
[pip3] intel-sycl-rt==2025.2.1
[pip3] mkl==2025.2.0
[pip3] mypy==1.16.0
[pip3] mypy_extensions==1.1.0
[pip3] numpy==1.22.4
[pip3] oneccl==2021.16.1
[pip3] oneccl-devel==2021.16.1
[pip3] onemkl-sycl-blas==2025.2.0
[pip3] onemkl-sycl-dft==2025.2.0
[pip3] onemkl-sycl-lapack==2025.2.0
[pip3] onemkl-sycl-rng==2025.2.0
[pip3] onemkl-sycl-sparse==2025.2.0
[pip3] onnx==1.19.1
[pip3] onnx-ir==0.1.12
[pip3] onnxscript==0.5.4
[pip3] optree==0.13.0
[pip3] pytorch-triton-xpu==3.5.0+git1b0418a9
[pip3] tbb==2022.2.0
[pip3] tcmlib==1.4.0
[pip3] torch==2.10.0a0+git40e6f09
[pip3] torchao==0.15.0.dev20251115+xpu
[pip3] torchaudio==2.10.0a0+07b6cbd
[pip3] torchvision==0.25.0a0+acccf86
[pip3] umf==0.11.0
[conda] Could not collect