Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions test/xpu/xpu_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,6 @@ def __init__(self, patch_test_case=True) -> None:
self.foreach_other_op_db = common_methods_invocations.foreach_other_op_db
self.python_ref_db = common_methods_invocations.python_ref_db
self.ops_and_refs = common_methods_invocations.ops_and_refs
self.largeTensorTest = common_device_type.largeTensorTest
self.TEST_CUDA = common_cuda.TEST_CUDA
self.TEST_CUDNN = common_cuda.TEST_CUDNN
self.cuda_is_bf16_supported = cuda.is_bf16_supported
Expand Down Expand Up @@ -1004,11 +1003,6 @@ def __init__(self, *args):
common_utils.TestCase = common_utils.NoTest
common_device_type.instantiate_device_type_tests = DO_NOTHING
common_utils.instantiate_parametrized_tests = DO_NOTHING
common_device_type.largeTensorTest = (
lambda size, device=None: self.largeTensorTest(
size, device if device and device != "cuda" else "xpu"
)
)
for db in [
common_methods_invocations.foreach_unary_op_db,
common_methods_invocations.foreach_binary_op_db,
Expand Down Expand Up @@ -1113,7 +1107,6 @@ def __exit__(self, exc_type, exc_value, traceback):
common_utils.TestCase = self.test_case_cls
common_methods_invocations.python_ref_db = self.python_ref_db
common_methods_invocations.ops_and_refs = self.ops_and_refs
common_device_type.largeTensorTest = self.largeTensorTest
common_cuda.TEST_CUDA = self.TEST_CUDA
common_cuda.TEST_CUDNN = self.TEST_CUDNN
cuda.is_bf16_supported = self.cuda_is_bf16_supported
Expand Down
Loading