Skip to content

Commit a248cc5

Browse files
authored
[PROTON][XPU] Enable test_cmd.py in CI (#5330)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent fe21682 commit a248cc5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ jobs:
302302
export LD_LIBRARY_PATH=$PTI_LIBS_DIR:$LD_LIBRARY_PATH
303303
export TRITON_XPUPTI_LIB_PATH=$PTI_LIBS_DIR
304304
cd third_party/proton/test
305-
pytest test_api.py test_lib.py test_profile.py test_viewer.py -s -v
305+
pytest test_api.py test_cmd.py test_lib.py test_profile.py test_viewer.py -s -v
306306
cd ..
307307
308308
- name: Run minicore tests

third_party/proton/test/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def test_main():
1717

1818

1919
def matmul():
20-
a = torch.randn((32, 32), device="cuda", dtype=torch.float16)
21-
b = torch.randn((32, 32), device="cuda", dtype=torch.float16)
20+
a = torch.randn((32, 32), device="xpu", dtype=torch.float16)
21+
b = torch.randn((32, 32), device="xpu", dtype=torch.float16)
2222
M, K = a.shape
2323
K, N = b.shape
2424
c = torch.empty((M, N), device=a.device, dtype=a.dtype)

0 commit comments

Comments
 (0)