Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions test/xpu/skip_list_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
"test_spectral_ops_xpu.py": None,
"test_tensor_creation_ops_xpu.py": None,
"test_torch_xpu.py": (
# TypeError: map2_ is only implemented on CPU tensors
"test_broadcast_fn_map2_xpu",
"test_broadcast_fn_map_xpu",
# RuntimeError: _share_fd_: only available on CPU
"test_module_share_memory_xpu",
),
Expand Down
4 changes: 2 additions & 2 deletions test/xpu/test_torch_xpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,8 +1399,8 @@ def test_broadcast(self, fn, device):
small2 = torch.randn(*dims_small2, device=device).float()
small2_expanded = small2.expand(*dims_full)

if small.is_cuda and fn in ["map", "map2"]:
# map and map2 are not implementd on CUDA tensors
if (small.is_cuda or small.is_xpu) and fn in ["map", "map2"]:
# map and map2 are not implementd on CUDA and XPU tensors
return

if hasattr(large_expanded, fn):
Expand Down
Loading