From 926904f7b2f45158cb660c2c0bbfb28b4ba1165d Mon Sep 17 00:00:00 2001 From: JoieAli Date: Tue, 7 Jul 2026 06:46:34 +0000 Subject: [PATCH 1/2] [MetaXGPU] Fix tests.python.codegen.test_target_codegen_blob.test_maca_multi_lib --- tests/python/codegen/test_target_codegen_blob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python/codegen/test_target_codegen_blob.py b/tests/python/codegen/test_target_codegen_blob.py index d0cfe2962bdd..82b0b5d5e1a1 100644 --- a/tests/python/codegen/test_target_codegen_blob.py +++ b/tests/python/codegen/test_target_codegen_blob.py @@ -155,8 +155,8 @@ def popen_check(): # Load the system wide library dev = tvm.maca() a_np = np.random.uniform(size=12).astype("float32") - a_nd = tvm.nd.array(a_np, dev) - b_nd = tvm.nd.array(a_np, dev) + a_nd = tvm.runtime.tensor(a_np, dev) + b_nd = tvm.runtime.tensor(a_np, dev) syslibA = tvm.runtime.system_lib("modA_") syslibB = tvm.runtime.system_lib("modB_") # reload same lib twice From 6f28c6b9d4f382c97b2528b687609a27b79b617b Mon Sep 17 00:00:00 2001 From: JoieAli Date: Wed, 8 Jul 2026 03:54:02 +0000 Subject: [PATCH 2/2] [MetaXGPU] Enable cpu test --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 10bc3a25d246..92b66b0251cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -128,7 +128,7 @@ jobs: PLATFORM: gpu Linux_CPU_Test: - if: ${{ false && github.repository == 'MetaX-MACA/mcTVM' }} + if: ${{ github.repository == 'MetaX-MACA/mcTVM' }} runs-on: ubuntu-latest env: PLATFORM: cpu