This is an automated email from the ASF dual-hosted git repository.
jroesch pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 75b8318 [Ansor][AutoTVM v2.0] Phase 2: Basic CPU Sketch Search Policy
(#6184)
add fa2213f [Parser] Parser 2.0 part 2 (#6162)
No new revisions were added by this update.
Summary of changes:
.gitignore | 4 -
CMakeLists.txt | 3 -
cmake/modules/ANTLR.cmake | 40 -
cmake/util/FindANTLR.cmake | 65 -
docker/Dockerfile.ci_cpu | 3 -
docker/Dockerfile.ci_gpu | 3 -
docker/Dockerfile.ci_wasm | 3 -
docker/install/ubuntu_install_antlr.sh | 25 -
docker/install/ubuntu_install_python_package.sh | 2 +-
docs/README.txt | 4 +-
docs/install/from_source.rst | 7 -
include/tvm/ir/attrs.h | 3 +-
include/tvm/ir/span.h | 19 +-
include/tvm/parser/parser.h | 2 +-
include/tvm/parser/source_map.h | 110 +
include/tvm/relay/adt.h | 3 +-
include/tvm/relay/expr.h | 40 +-
include/tvm/relay/expr_functor.h | 1 +
include/tvm/relay/function.h | 3 +-
python/setup.py | 3 +-
python/tvm/error.py | 7 +
python/tvm/ir/base.py | 4 +-
python/tvm/parser/__init__.py | 2 +-
python/tvm/relay/__init__.py | 6 +-
python/tvm/relay/_parser.py | 771 -----
python/tvm/relay/expr.py | 2 +-
python/tvm/relay/grammar/.gitignore | 1 -
python/tvm/relay/grammar/Relay.g4 | 199 --
python/tvm/relay/grammar/__init__.py | 16 -
python/tvm/relay/grammar/py3/.gitattributes | 3 -
python/tvm/relay/grammar/py3/RelayLexer.py | 256 --
python/tvm/relay/grammar/py3/RelayParser.py | 3732 -----------------------
python/tvm/relay/grammar/py3/RelayVisitor.py | 343 ---
python/tvm/relay/grammar/py3/__init__.py | 16 -
python/tvm/relay/parser.py | 30 -
python/tvm/relay/std/core.rly | 3 +-
python/tvm/relay/std/gradient.rly | 3 +-
python/tvm/relay/std/prelude.rly | 6 +-
src/ir/module.cc | 6 +-
src/ir/span.cc | 26 +-
src/parser/diagnostic.h | 179 +-
src/parser/meta_ref.cc | 100 +
src/parser/meta_ref.h | 85 +
src/parser/op_table.h | 20 +-
src/parser/parser.cc | 832 +++--
src/parser/source_map.cc | 113 +
src/parser/token.h | 349 ++-
src/parser/tokenizer.h | 306 +-
src/printer/relay_text_printer.cc | 7 +-
src/printer/text_printer.cc | 16 +-
src/printer/text_printer.h | 18 +-
src/relay/ir/adt.cc | 3 +-
src/relay/ir/expr.cc | 30 +-
src/relay/ir/expr_functor.cc | 62 +-
src/relay/ir/function.cc | 3 +-
src/relay/transforms/type_infer.cc | 16 +-
src/runtime/graph/graph_runtime.h | 1 +
tests/lint/rat-excludes | 5 -
tests/python/relay/test_ir_nodes.py | 12 +-
tests/python/relay/test_ir_parser.py | 320 +-
tests/python/relay/test_ir_parser2.py | 891 ------
tests/python/relay/test_ir_text_printer.py | 75 +-
tests/python/relay/test_op_level10.py | 8 +-
tests/python/relay/test_pass_eta_expand.py | 24 +-
tests/python/relay/test_pass_unmatched_cases.py | 4 +-
65 files changed, 1902 insertions(+), 7352 deletions(-)
delete mode 100644 cmake/modules/ANTLR.cmake
delete mode 100644 cmake/util/FindANTLR.cmake
delete mode 100755 docker/install/ubuntu_install_antlr.sh
create mode 100644 include/tvm/parser/source_map.h
delete mode 100644 python/tvm/relay/_parser.py
delete mode 100644 python/tvm/relay/grammar/.gitignore
delete mode 100644 python/tvm/relay/grammar/Relay.g4
delete mode 100644 python/tvm/relay/grammar/__init__.py
delete mode 100644 python/tvm/relay/grammar/py3/.gitattributes
delete mode 100644 python/tvm/relay/grammar/py3/RelayLexer.py
delete mode 100644 python/tvm/relay/grammar/py3/RelayParser.py
delete mode 100644 python/tvm/relay/grammar/py3/RelayVisitor.py
delete mode 100644 python/tvm/relay/grammar/py3/__init__.py
delete mode 100644 python/tvm/relay/parser.py
create mode 100644 src/parser/meta_ref.cc
create mode 100644 src/parser/meta_ref.h
create mode 100644 src/parser/source_map.cc
delete mode 100644 tests/python/relay/test_ir_parser2.py