You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by jr...@apache.org on 2020/10/07 06:04:00 UTC
[incubator-tvm] branch ci-docker-staging updated (d4001e5 ->
2e52c67)
This is an automated email from the ASF dual-hosted git repository.
jroesch pushed a change to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
discard d4001e5 Turn on Rust docs and MxNet based ResNet
discard 9ea627b Merge branch 'master' of https://github.com/apache/incubator-tvm
discard 44a785c Fix rebase issues
discard 7ae6990 Kill dead doc comment
discard 2952d3c Fix documentation comment
omit f0f9999 More lint
omit 328afd6 Fix format
omit e61d7e8 Fix lint
omit d1a6bfe Fix cpplint
omit d6bbc29 Fix test_ir_parser and formatting
omit eaceca9 Fix up Python interface for diagnostics
omit 997692e Apply Bobs suggestions
omit 1a5e328 CR feedback
omit 2419435 Clean up parser
omit dd0c616 Apply suggestions from code review
omit 9565d30 Apply suggestions from code review
omit ed70dca Refactor the type checker to use diagnostics
new 2e52c67 Turn on Rust docs and MxNet based ResNet
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (d4001e5)
\
N -- N -- N refs/heads/ci-docker-staging (2e52c67)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CMakeLists.txt | 1 -
Makefile | 5 -
include/tvm/ir/diagnostic.h | 262 ------
include/tvm/ir/module.h | 12 +-
include/tvm/ir/span.h | 2 +-
include/tvm/ir/transform.h | 14 +-
include/tvm/ir/type.h | 15 +-
include/tvm/ir/type_relation.h | 13 +-
include/tvm/parser/parser.h | 3 +-
include/tvm/parser/source_map.h | 69 +-
include/tvm/relay/analysis.h | 9 +-
include/tvm/relay/transform.h | 12 +
include/tvm/runtime/container.h | 14 -
include/tvm/runtime/object.h | 2 +-
include/tvm/tir/op.h | 1 -
pyproject.toml | 2 +-
python/tvm/__init__.py | 9 +-
python/tvm/ir/__init__.py | 1 -
python/tvm/ir/diagnostics/__init__.py | 109 ---
python/tvm/ir/diagnostics/_ffi_api.py | 21 -
python/tvm/ir/module.py | 16 +-
python/tvm/parser/__init__.py | 14 +-
python/tvm/relay/backend/graph_runtime_factory.py | 4 +-
python/tvm/relay/backend/interpreter.py | 4 +-
python/tvm/relay/build_module.py | 2 -
python/tvm/relay/dataflow_pattern/__init__.py | 2 +-
python/tvm/relay/prelude.py | 578 ++++++-------
.../tvm/relay/quantize/_partition_conversions.py | 8 +-
python/tvm/relay/quantize/quantize.py | 2 +-
python/tvm/relay/std/nat.rly | 78 --
python/tvm/relay/std/prelude.rly | 5 +-
python/tvm/relay/testing/__init__.py | 3 +-
python/tvm/relay/testing/nat.py | 149 +++-
python/tvm/relay/testing/py_converter.py | 27 +-
python/tvm/relay/transform/memory_alloc.py | 2 -
python/tvm/relay/transform/transform.py | 14 -
src/driver/driver_api.cc | 22 +-
src/ir/diagnostic.cc | 282 -------
src/ir/module.cc | 114 +--
src/ir/span.cc | 6 +-
src/ir/transform.cc | 26 +-
src/ir/type.cc | 18 +-
src/parser/diagnostic.h | 179 ++++
src/parser/parser.cc | 807 +++++++-----------
src/parser/source_map.cc | 90 +-
src/parser/span_check.cc | 109 ---
src/parser/span_check.h | 80 --
src/parser/token.h | 15 -
src/parser/tokenizer.h | 64 +-
src/printer/relay_text_printer.cc | 15 +-
src/relay/analysis/kind_check.cc | 53 +-
src/relay/analysis/type_solver.cc | 107 +--
src/relay/analysis/type_solver.h | 23 +-
src/relay/analysis/well_formed.cc | 43 +-
src/relay/backend/build_module.cc | 5 -
src/relay/backend/compile_engine.h | 2 +-
src/relay/backend/graph_runtime_codegen.cc | 4 +-
src/relay/backend/interpreter.cc | 4 +-
src/relay/backend/vm/compiler.cc | 1 -
src/relay/ir/transform.cc | 32 +-
src/relay/op/nn/convolution.h | 90 +-
src/relay/transforms/partition_graph.cc | 4 -
src/relay/transforms/type_infer.cc | 280 +++---
src/runtime/contrib/random/mt_random_engine.cc | 2 +-
src/tir/transforms/split_host_device.cc | 3 +-
tests/cpp/relay_build_module_test.cc | 2 -
tests/python/relay/test_adt.py | 938 ++++++++++++++++++---
.../relay/test_analysis_get_calibration_data.py | 3 -
tests/python/relay/test_any.py | 7 +-
tests/python/relay/test_backend_graph_runtime.py | 2 -
tests/python/relay/test_backend_interpreter.py | 9 +-
tests/python/relay/test_diagnostic.py | 51 --
tests/python/relay/test_error_reporting.py | 68 ++
tests/python/relay/test_expr_functor.py | 3 +-
tests/python/relay/test_ir_module.py | 20 +-
tests/python/relay/test_ir_parser.py | 47 +-
.../python/relay/test_ir_structural_equal_hash.py | 35 +-
tests/python/relay/test_ir_text_printer.py | 15 +-
tests/python/relay/test_ir_well_formed.py | 7 +-
tests/python/relay/test_op_qnn_add.py | 7 -
tests/python/relay/test_op_qnn_concatenate.py | 4 -
tests/python/relay/test_op_qnn_dense.py | 1 -
tests/python/relay/test_op_qnn_mul.py | 5 -
tests/python/relay/test_op_qnn_subtract.py | 1 -
tests/python/relay/test_pass_alter_op_layout.py | 5 -
tests/python/relay/test_pass_annotate_target.py | 2 -
.../test_pass_combine_parallel_batch_matmul.py | 1 -
.../relay/test_pass_combine_parallel_conv2d.py | 1 -
.../relay/test_pass_combine_parallel_dense.py | 1 -
tests/python/relay/test_pass_eta_expand.py | 4 +-
tests/python/relay/test_pass_fold_constant.py | 4 +-
tests/python/relay/test_pass_fuse_ops.py | 17 +-
tests/python/relay/test_pass_gradient.py | 9 +-
tests/python/relay/test_pass_inline.py | 5 +-
tests/python/relay/test_pass_lazy_gradient_init.py | 20 +-
tests/python/relay/test_pass_mac_count.py | 1 -
tests/python/relay/test_pass_manager.py | 5 +-
.../relay/test_pass_merge_compiler_regions.py | 2 -
tests/python/relay/test_pass_partial_eval.py | 91 +-
tests/python/relay/test_pass_partition_graph.py | 40 +-
tests/python/relay/test_pass_qnn_legalize.py | 4 -
.../relay/test_pass_remove_unused_functions.py | 26 +-
tests/python/relay/test_pass_simplify_inference.py | 4 +-
tests/python/relay/test_pass_to_a_normal_form.py | 11 +-
.../relay/test_pass_to_basic_block_normal_form.py | 20 +-
tests/python/relay/test_pass_to_cps.py | 9 +-
tests/python/relay/test_pass_unmatched_cases.py | 82 +-
tests/python/relay/test_pass_vars.py | 13 +-
tests/python/relay/test_py_converter.py | 54 +-
tests/python/relay/test_tensor_array.py | 784 -----------------
tests/python/relay/test_type_infer.py | 142 ++--
tests/python/relay/test_vm.py | 65 +-
tests/python/relay/test_vm_serialization.py | 19 +-
tests/python/relay/util/assert_diagnostic.py | 69 --
114 files changed, 2545 insertions(+), 4154 deletions(-)
delete mode 100644 include/tvm/ir/diagnostic.h
delete mode 100644 python/tvm/ir/diagnostics/__init__.py
delete mode 100644 python/tvm/ir/diagnostics/_ffi_api.py
delete mode 100644 python/tvm/relay/std/nat.rly
delete mode 100644 src/ir/diagnostic.cc
create mode 100644 src/parser/diagnostic.h
delete mode 100644 src/parser/span_check.cc
delete mode 100644 src/parser/span_check.h
delete mode 100644 tests/python/relay/test_diagnostic.py
create mode 100644 tests/python/relay/test_error_reporting.py
delete mode 100644 tests/python/relay/test_tensor_array.py
delete mode 100644 tests/python/relay/util/assert_diagnostic.py
[incubator-tvm] 01/01: Turn on Rust docs and MxNet based ResNet
Posted by jr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jroesch pushed a commit to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
commit 2e52c6796283b02e5f872f0ed3eb16f1706057c1
Author: Jared Roesch <ro...@gmail.com>
AuthorDate: Tue Oct 6 23:00:46 2020 -0700
Turn on Rust docs and MxNet based ResNet
---
Jenkinsfile | 4 ++--
docker/install/ubuntu_install_darknet.sh | 7 ++-----
tests/scripts/task_python_docs.sh | 11 ++++-------
tests/scripts/task_rust.sh | 6 ++----
4 files changed, 10 insertions(+), 18 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b44aa2a..f8dabf2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,8 +45,8 @@
// NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
ci_lint = "tlcpack/ci-lint:v0.62"
-ci_gpu = "tlcpack/ci-gpu:v0.64"
-ci_cpu = "tlcpack/ci-cpu:v0.66"
+ci_gpu = "tlcpack/ci-gpu:v0.65-t0"
+ci_cpu = "tlcpack/ci-cpu:v0.67-t0"
ci_wasm = "tlcpack/ci-wasm:v0.60"
ci_i386 = "tlcpack/ci-i386:v0.52"
// <--- End of regex-scanned config.
diff --git a/docker/install/ubuntu_install_darknet.sh b/docker/install/ubuntu_install_darknet.sh
index c48724c..37adf4a 100755
--- a/docker/install/ubuntu_install_darknet.sh
+++ b/docker/install/ubuntu_install_darknet.sh
@@ -6,9 +6,9 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -23,7 +23,4 @@ set -o pipefail
#install the necessary dependancies, cffi, opencv
wget -q 'https://github.com/siju-samuel/darknet/blob/master/lib/libdarknet.so?raw=true' -O libdarknet.so
debian_version=`cat /etc/debian_version`
-if [ "$debian_version" == "stretch/sid" ]; then
- pip2 install opencv-python cffi
-fi
pip3 install opencv-python cffi
diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh
index 98dac93..71bb922 100755
--- a/tests/scripts/task_python_docs.sh
+++ b/tests/scripts/task_python_docs.sh
@@ -68,12 +68,10 @@ npm install
npm run typedoc
cd ..
-# TODO(@jroesch): add Rust to CI container
-# see: https://github.com/apache/incubator-tvm/issues/6628
# Rust doc
-# cd rust
-# cargo doc --workspace --no-deps
-# cd ..
+cd rust
+cargo doc --workspace --no-deps
+cd ..
# Prepare the doc dir
rm -rf _docs
@@ -82,8 +80,7 @@ rm -f _docs/.buildinfo
mkdir -p _docs/api
mv docs/doxygen/html _docs/api/doxygen
mv jvm/core/target/site/apidocs _docs/api/javadoc
-# See above TODO
-# mv rust/target/doc _docs/api/rust
+mv rust/target/doc _docs/api/rust
mv web/dist/docs _docs/api/typedoc
echo "Start creating the docs tarball.."
diff --git a/tests/scripts/task_rust.sh b/tests/scripts/task_rust.sh
index 18361fe..d60999c 100755
--- a/tests/scripts/task_rust.sh
+++ b/tests/scripts/task_rust.sh
@@ -110,8 +110,6 @@ cargo run --bin array
cargo run --bin string
cd -
-# TODO(@jroesch): we need to renable MxNet in ci-cpu image
-# https://github.com/apache/incubator-tvm/pull/6563
-# cd examples/resnet
-# cargo build
+cd examples/resnet
+cargo run
cd -