This is an automated email from the ASF dual-hosted git repository.

syfeng pushed a commit to branch refactor
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 90400b2233710690728bd15822e802a6d7279e4f
Author: Siyuan Feng <[email protected]>
AuthorDate: Sat Feb 15 20:48:42 2025 +0800

    disable msc and fix rust
---
 tests/scripts/task_config_build_cpu.sh   |  3 +-
 tests/scripts/task_config_build_gpu.sh   |  3 +-
 tests/scripts/task_rust.sh               | 57 --------------------------------
 tests/scripts/unity/task_python_relax.sh |  2 +-
 4 files changed, 5 insertions(+), 60 deletions(-)

diff --git a/tests/scripts/task_config_build_cpu.sh 
b/tests/scripts/task_config_build_cpu.sh
index 6007b68f57..9e195de9bc 100755
--- a/tests/scripts/task_config_build_cpu.sh
+++ b/tests/scripts/task_config_build_cpu.sh
@@ -49,4 +49,5 @@ echo set\(BACKTRACE_ON_SEGFAULT ON\) >> config.cmake
 echo set\(USE_CCACHE OFF\) >> config.cmake
 echo set\(USE_UMA ON\) >> config.cmake
 echo set\(SUMMARIZE ON\) >> config.cmake
-echo set\(USE_MSC ON\) >> config.cmake
+# Temporary disable MSC
+# echo set\(USE_MSC ON\) >> config.cmake
diff --git a/tests/scripts/task_config_build_gpu.sh 
b/tests/scripts/task_config_build_gpu.sh
index e3599695a9..e411ee2c5e 100755
--- a/tests/scripts/task_config_build_gpu.sh
+++ b/tests/scripts/task_config_build_gpu.sh
@@ -47,5 +47,6 @@ echo set\(SUMMARIZE ON\) >> config.cmake
 echo set\(HIDE_PRIVATE_SYMBOLS ON\) >> config.cmake
 echo set\(USE_PIPELINE_EXECUTOR ON\) >> config.cmake
 echo set\(USE_CUTLASS ON\) >> config.cmake
-echo set\(USE_MSC ON\) >> config.cmake
+# Temporary disable MSC
+# echo set\(USE_MSC ON\) >> config.cmake
 echo set\(CMAKE_CUDA_ARCHITECTURES 75\) >> config.cmake
diff --git a/tests/scripts/task_rust.sh b/tests/scripts/task_rust.sh
index f31c703abd..442b9d771e 100755
--- a/tests/scripts/task_rust.sh
+++ b/tests/scripts/task_rust.sh
@@ -56,60 +56,3 @@ cargo test --features dynamic-linking --tests
 cd $RUST_DIR/tvm-rt
 # Build and run the tests.
 cargo test
-
-# Next we test the graph executor crate.
-cd $RUST_DIR/tvm-graph-rt
-
-# We first we compile a model using the Python bindings then run the tests.
-python3 tests/build_model.py
-cargo test --tests
-
-# Run some more tests involving the graph executor API.
-cd tests/test_tvm_basic
-cargo run
-cd -
-
-cd tests/test_tvm_dso
-cargo run
-cd -
-
-# run wasm32 test
-# cd tests/test_wasm32
-# cargo build
-# wasmtime $RUST_DIR/target/wasm32-wasi/debug/test-wasm32.wasm
-# cd -
-
-# Disabled, see https://github.com/apache/tvm/issues/11419
-# # run nn graph test
-# cd tests/test_nn
-# cargo run
-# cd -
-
-# Finally we test the TVM crate which provides both runtime
-# and compiler bindings.
-cd $RUST_DIR/tvm
-
-cargo test
-
-# run basic tests on cpu
-cd tests/basics
-cargo run --features cpu
-# uncomment when have more CI resources
-# cargo build --features gpu
-# cargo run --features gpu
-# fi
-cd -
-
-# TODO(@jroesch): I believe this is no longer true, refactor in follow up PR.
-# run callback tests separately: 
https://discuss.tvm.ai/t/are-global-functions-need-to-be-accessed-in-separate-processes/1075
-cd tests/callback
-cargo build
-cargo run --bin int
-cargo run --bin float
-cargo run --bin array
-cargo run --bin string
-cd -
-
-cd examples/resnet
-cargo run
-cd -
diff --git a/tests/scripts/unity/task_python_relax.sh 
b/tests/scripts/unity/task_python_relax.sh
index 28dd78bf6b..688812b35d 100755
--- a/tests/scripts/unity/task_python_relax.sh
+++ b/tests/scripts/unity/task_python_relax.sh
@@ -38,4 +38,4 @@ TVM_TEST_TARGETS="${TVM_RELAY_TEST_TARGETS:-llvm}" pytest 
tests/python/dlight
 # python3 ./apps/relax_examples/resnet.py
 
 # Test for MSC
-pytest tests/python/contrib/test_msc
+# pytest tests/python/contrib/test_msc

Reply via email to