This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 693c0de [RELAY] Fix the FoldConstant Regression for VTA (#6377)
add b235e59 [TESTS] Refactor tests to run on either the GPU or CPU.
(#6331)
No new revisions were added by this update.
Summary of changes:
apps/extension/tests/test_ext.py | 5 +-
apps/dso_plugin_module/Makefile => conftest.py | 26 +-
docs/contribute/code_guide.rst | 14 +
.asf.yaml => pytest.ini | 28 +-
python/tvm/relay/testing/__init__.py | 4 +-
python/tvm/relay/testing/config.py | 31 --
python/tvm/testing.py | 383 ++++++++++++++++++++-
tests/lint/check_file_type.py | 2 +
tests/python/contrib/test_cblas.py | 7 +-
tests/python/contrib/test_cublas.py | 13 +-
tests/python/contrib/test_cudnn.py | 13 +-
tests/python/contrib/test_gemm_acc32_vnni.py | 4 +-
tests/python/contrib/test_miopen.py | 4 +-
tests/python/contrib/test_mps.py | 8 +-
tests/python/contrib/test_nnpack.py | 9 +-
tests/python/contrib/test_random.py | 28 +-
tests/python/contrib/test_rocblas.py | 4 +-
tests/python/frontend/caffe2/test_forward.py | 10 +-
tests/python/frontend/coreml/test_forward.py | 63 ++--
tests/python/frontend/keras/test_forward.py | 5 +-
tests/python/frontend/mxnet/test_forward.py | 198 +++++++----
tests/python/frontend/onnx/test_forward.py | 195 +++++++----
tests/python/frontend/pytorch/test_forward.py | 132 ++++++-
.../python/frontend/tensorflow/test_bn_dynamic.py | 2 +-
tests/python/frontend/tensorflow/test_forward.py | 37 +-
tests/python/frontend/tflite/test_forward.py | 2 +-
tests/python/integration/test_dot.py | 5 +-
tests/python/integration/test_ewise.py | 25 +-
tests/python/integration/test_ewise_fpga.py | 8 +-
tests/python/integration/test_gemm.py | 4 +-
tests/python/integration/test_reduce.py | 27 +-
tests/python/integration/test_scan.py | 4 +-
tests/python/integration/test_tuning.py | 30 +-
tests/python/integration/test_winograd_nnpack.py | 5 +-
.../quantization/test_quantization_accuracy.py | 2 +
tests/python/relay/dyn/test_dynamic_op_level10.py | 9 +-
tests/python/relay/dyn/test_dynamic_op_level2.py | 4 +-
tests/python/relay/dyn/test_dynamic_op_level3.py | 10 +-
tests/python/relay/dyn/test_dynamic_op_level5.py | 6 +-
tests/python/relay/dyn/test_dynamic_op_level6.py | 5 +-
tests/python/relay/test_backend_compile_engine.py | 5 +-
tests/python/relay/test_backend_graph_runtime.py | 5 +-
tests/python/relay/test_backend_interpreter.py | 2 +-
tests/python/relay/test_cpp_build_module.py | 56 ++-
tests/python/relay/test_op_grad_level1.py | 9 +-
tests/python/relay/test_op_grad_level2.py | 15 +-
tests/python/relay/test_op_grad_level3.py | 6 +-
tests/python/relay/test_op_level1.py | 27 +-
tests/python/relay/test_op_level10.py | 45 ++-
tests/python/relay/test_op_level2.py | 91 +++--
tests/python/relay/test_op_level3.py | 60 ++--
tests/python/relay/test_op_level4.py | 30 +-
tests/python/relay/test_op_level5.py | 63 ++--
tests/python/relay/test_op_level6.py | 8 +-
tests/python/relay/test_pass_alter_op_layout.py | 6 +-
tests/python/relay/test_pass_annotation.py | 37 +-
tests/python/relay/test_pass_dynamic_to_static.py | 21 +-
tests/python/relay/test_pass_fuse_ops.py | 4 +-
tests/python/relay/test_pass_lazy_gradient_init.py | 1 +
tests/python/relay/test_pass_manager.py | 14 +-
tests/python/relay/test_vm.py | 20 +-
tests/python/topi/python/common.py | 14 -
tests/python/topi/python/test_fifo_buffer.py | 24 +-
tests/python/topi/python/test_topi_batch_matmul.py | 13 +-
tests/python/topi/python/test_topi_broadcast.py | 57 +--
tests/python/topi/python/test_topi_clip.py | 13 +-
tests/python/topi/python/test_topi_conv1d.py | 12 +-
.../topi/python/test_topi_conv1d_transpose_ncw.py | 12 +-
tests/python/topi/python/test_topi_conv2d_NCHWc.py | 5 +-
tests/python/topi/python/test_topi_conv2d_hwcn.py | 4 +-
.../python/test_topi_conv2d_hwnc_tensorcore.py | 7 +-
tests/python/topi/python/test_topi_conv2d_int8.py | 12 +-
tests/python/topi/python/test_topi_conv2d_nchw.py | 7 +-
tests/python/topi/python/test_topi_conv2d_nhwc.py | 5 +-
.../topi/python/test_topi_conv2d_nhwc_pack_int8.py | 2 +-
.../python/test_topi_conv2d_nhwc_tensorcore.py | 5 +-
.../topi/python/test_topi_conv2d_nhwc_winograd.py | 15 +-
.../topi/python/test_topi_conv2d_transpose_nchw.py | 13 +-
.../topi/python/test_topi_conv2d_winograd.py | 4 +-
tests/python/topi/python/test_topi_conv3d_ncdhw.py | 14 +-
tests/python/topi/python/test_topi_conv3d_ndhwc.py | 12 +-
.../python/test_topi_conv3d_ndhwc_tensorcore.py | 9 +-
.../python/test_topi_conv3d_transpose_ncdhw.py | 14 +-
.../topi/python/test_topi_conv3d_winograd.py | 5 +-
tests/python/topi/python/test_topi_correlation.py | 14 +-
.../topi/python/test_topi_deformable_conv2d.py | 5 +-
tests/python/topi/python/test_topi_dense.py | 19 +-
.../topi/python/test_topi_dense_tensorcore.py | 12 +-
.../python/topi/python/test_topi_depth_to_space.py | 14 +-
.../topi/python/test_topi_depthwise_conv2d.py | 25 +-
.../test_topi_depthwise_conv2d_back_input.py | 4 +-
.../test_topi_depthwise_conv2d_back_weight.py | 4 +-
tests/python/topi/python/test_topi_group_conv2d.py | 9 +-
.../python/test_topi_group_conv2d_NCHWc_int8.py | 5 +-
tests/python/topi/python/test_topi_image.py | 56 ++-
tests/python/topi/python/test_topi_lrn.py | 4 +-
tests/python/topi/python/test_topi_math.py | 41 +--
tests/python/topi/python/test_topi_pooling.py | 69 ++--
tests/python/topi/python/test_topi_reduce.py | 12 +-
tests/python/topi/python/test_topi_relu.py | 14 +-
tests/python/topi/python/test_topi_reorg.py | 4 +-
tests/python/topi/python/test_topi_softmax.py | 22 +-
tests/python/topi/python/test_topi_sort.py | 9 +-
.../python/topi/python/test_topi_space_to_depth.py | 13 +-
tests/python/topi/python/test_topi_sparse.py | 24 +-
tests/python/topi/python/test_topi_tensor.py | 9 +-
tests/python/topi/python/test_topi_transform.py | 283 ++++++---------
tests/python/topi/python/test_topi_upsampling.py | 24 +-
tests/python/topi/python/test_topi_util.py | 2 +-
tests/python/topi/python/test_topi_vision.py | 32 +-
.../python/unittest/test_auto_scheduler_measure.py | 13 +-
.../unittest/test_auto_scheduler_search_policy.py | 15 +-
.../test_auto_scheduler_sketch_generation.py | 25 +-
tests/python/unittest/test_autotvm_index_tuner.py | 2 +-
tests/python/unittest/test_hybrid_error_report.py | 2 +-
tests/python/unittest/test_runtime_graph.py | 10 +-
tests/python/unittest/test_runtime_graph_debug.py | 7 +-
.../test_runtime_module_based_interface.py | 30 +-
.../python/unittest/test_runtime_module_export.py | 11 +-
tests/python/unittest/test_runtime_module_load.py | 12 +-
tests/python/unittest/test_runtime_ndarray.py | 20 +-
tests/python/unittest/test_runtime_rpc.py | 12 +-
tests/python/unittest/test_target_codegen_blob.py | 9 +-
tests/python/unittest/test_target_codegen_bool.py | 8 +-
.../unittest/test_target_codegen_cross_llvm.py | 4 +-
tests/python/unittest/test_target_codegen_cuda.py | 351 ++++++++-----------
.../python/unittest/test_target_codegen_device.py | 13 +-
.../python/unittest/test_target_codegen_extern.py | 8 +-
tests/python/unittest/test_target_codegen_llvm.py | 54 ++-
.../python/unittest/test_target_codegen_opencl.py | 19 +-
tests/python/unittest/test_target_codegen_rocm.py | 10 +-
.../unittest/test_target_codegen_vm_basic.py | 3 +-
.../python/unittest/test_target_codegen_vulkan.py | 17 +-
tests/python/unittest/test_te_autodiff.py | 9 +-
tests/python/unittest/test_te_hybrid_script.py | 49 ++-
...te_schedule_postproc_rewrite_for_tensor_core.py | 18 +-
.../unittest/test_te_schedule_tensor_core.py | 18 +-
tests/python/unittest/test_te_tensor_overload.py | 13 +-
tests/python/unittest/test_testing.py | 18 +-
.../unittest/test_tir_analysis_verify_gpu_code.py | 22 +-
.../unittest/test_tir_analysis_verify_memory.py | 43 ++-
tests/python/unittest/test_tir_buffer.py | 10 +-
tests/python/unittest/test_tir_ir_builder.py | 6 +-
.../python/unittest/test_tir_transform_hoist_if.py | 4 +-
...test_tir_transform_instrument_bound_checkers.py | 19 +-
.../unittest/test_tir_transform_lower_intrin.py | 6 +-
.../test_tir_transform_lower_warp_memory.py | 21 +-
.../unittest/test_tir_transform_thread_sync.py | 2 +
tests/scripts/setup-pytest-env.sh | 4 +-
tests/scripts/task_python_frontend.sh | 2 +
tests/scripts/task_python_frontend_cpu.sh | 2 +
tests/scripts/task_python_integration.sh | 2 +-
tests/scripts/task_python_integration_gpuonly.sh | 4 +
tests/scripts/task_python_unittest_gpuonly.sh | 3 +
tutorials/frontend/deploy_ssd_gluoncv.py | 10 +-
155 files changed, 2196 insertions(+), 1647 deletions(-)
copy apps/dso_plugin_module/Makefile => conftest.py (60%)
copy .asf.yaml => pytest.ini (68%)
delete mode 100644 python/tvm/relay/testing/config.py