Alexander Pivovarov [Tue, 12 Mar 2019 23:11:50 +0000 (16:11 -0700)]
Make cpptest build on Ubuntu (#2798)
Tianqi Chen [Tue, 12 Mar 2019 21:34:34 +0000 (14:34 -0700)]
[DOCKER] Update docker protocol (#2793)
Tianqi Chen [Tue, 12 Mar 2019 18:04:52 +0000 (11:04 -0700)]
[COMMUNITY] @wweic -> Reviewer (#2789)
Tianqi Chen [Tue, 12 Mar 2019 16:37:41 +0000 (09:37 -0700)]
[DOCS] Phase out nnvm tutorials (#2783)
Tianqi Chen [Tue, 12 Mar 2019 04:21:40 +0000 (21:21 -0700)]
[DOCS] Cleanup the relay docs location (#2785)
Alexander Pivovarov [Tue, 12 Mar 2019 03:34:05 +0000 (20:34 -0700)]
Make topi cuda nms_gpu method signature similar to non_max_suppression (#2780)
Tianqi Chen [Tue, 12 Mar 2019 03:30:30 +0000 (20:30 -0700)]
[TEST] recover tflite test (#2788)
Zhi [Tue, 12 Mar 2019 01:19:39 +0000 (18:19 -0700)]
[Relay] Pass manager (#2546)
* initial commit
* add python frontend and module tests
* add unit tests for function pass and optimize interface
* add ExprPass
* remove PassState and pass context for run
* add required_passes
* return module
* remove move
* fix minor reviews
* remove optimizer, optimizer->pass_manager, make pass a the base class of all
* remove deleted files
* move resolvedependency to sequential pass, use ir_pass namespace
* add todo
* add disabled passes in sequetialpass
* fix minor
* fix currying doc
* remove pass_kind from passnode
* remove pass kind from test
* fix doc
* fix per @tqchen's comments
* remove pass_manager.py create separate classes
* simplify pass_func
* inline using passfunc
* update doc
* disable test_quantize_pass for now
* create PassInfo class to contain the meta data
* flatten passinfo for interface
* retrigger ci
* remove required method
* make Pass python class lighter
* create pass -> decorator
* make the api consistent for all classes
Tianqi Chen [Tue, 12 Mar 2019 00:52:10 +0000 (17:52 -0700)]
[TEST] Hotfix CI outrage after TF in docker update (#2781)
SasakiSaki [Mon, 11 Mar 2019 21:57:59 +0000 (05:57 +0800)]
[Relay] Improve more operator mxnet frontend importer (#2772)
Andrew Tulloch [Mon, 11 Mar 2019 19:55:01 +0000 (12:55 -0700)]
Implement flop support for int8 models (#2776)
Yao Wang [Mon, 11 Mar 2019 18:41:46 +0000 (11:41 -0700)]
[Object Detection] Gluoncv SSD support on CPU (#2353)
Yong Wu [Mon, 11 Mar 2019 18:40:12 +0000 (11:40 -0700)]
[relay][frontend] TensorFlow saved model support (#2586)
* [relay][frontend] TensorFlow saved model support
* Add Examples section
* keep one copy of tensorflow_parser in relay
Leyuan Wang [Mon, 11 Mar 2019 06:29:51 +0000 (23:29 -0700)]
[Relay/TOPI][Frontend] Add tile and repeat operators in Relay and TOPI (#2720)
* tile and repeat operator added in rely
* fix pylint
* fix make warnings
* comments addressed
* fix lint error
* comment addressed
Yong Wu [Mon, 11 Mar 2019 04:06:09 +0000 (21:06 -0700)]
update relay python api doc (#2766)
abergeron [Sun, 10 Mar 2019 16:32:44 +0000 (12:32 -0400)]
Add the new logical operators to the doc. (#2761)
Tianqi Chen [Sun, 10 Mar 2019 16:31:34 +0000 (12:31 -0400)]
[ARITH] Analyzer RewriteSimplifier: add/sub/mul/div/mod (#2722)
雾雨魔理沙 [Sun, 10 Mar 2019 16:29:08 +0000 (09:29 -0700)]
fix typo in backend interpreter (#2752)
lee [Sun, 10 Mar 2019 01:02:27 +0000 (09:02 +0800)]
[WIN] Fix a bug in find_llvm when specify llvm-config (#2758)
Tianqi Chen [Sun, 10 Mar 2019 00:51:05 +0000 (19:51 -0500)]
[COMMUNITY] @kevinthesun -> committer (#2760)
abergeron [Sat, 9 Mar 2019 21:38:40 +0000 (16:38 -0500)]
Improvements to the conda build (#2742)
Tianqi Chen [Sat, 9 Mar 2019 20:58:14 +0000 (15:58 -0500)]
[DLPACK] fix flaky ctypes support (#2759)
MORITA Kazutaka [Sat, 9 Mar 2019 16:58:44 +0000 (01:58 +0900)]
[RUNTIME][OPENCL] set type_key even when platform is not available (#2741)
Wuwei Lin [Sat, 9 Mar 2019 15:57:49 +0000 (23:57 +0800)]
[Relay][Quantization] Speed-aware quantization scheme improvement (#2723)
* [Relay][Quantization] Speed-aware quantization scheme improvement
* Add comment
* Add use_stop_fusion to qconfig
* Update comment
Leyuan Wang [Sat, 9 Mar 2019 10:03:40 +0000 (02:03 -0800)]
revert PR#2420 nms changes (#2747)
Andrew Tulloch [Sat, 9 Mar 2019 03:44:07 +0000 (19:44 -0800)]
Fix vmlal.s16 code generation for int8 x int8 -> int32 (#2748)
abergeron [Sat, 9 Mar 2019 01:46:01 +0000 (20:46 -0500)]
[Relay] Add logical operators (#2743)
MORITA Kazutaka [Fri, 8 Mar 2019 05:35:46 +0000 (14:35 +0900)]
Improve NNVM to Relay conversion (#2734)
* Improve NNVM to Relay conversion
* fix pylint
* support __lshift_scalar__, abs, ceil, floor, and trunc to pass CI
Haichen Shen [Thu, 7 Mar 2019 22:45:30 +0000 (14:45 -0800)]
[Bugfix][Relay][Frontend] Fix bug in mxnet converter for slick_like (#2744)
* Fix bug in mxnet converter for slick_like
* More tolerance for topi_conv2d_NCHWc
MORITA Kazutaka [Thu, 7 Mar 2019 04:31:50 +0000 (13:31 +0900)]
[RUNTIME][OPENCL] clFinish before releasing memory (#2737)
Leyuan Wang [Wed, 6 Mar 2019 03:42:32 +0000 (19:42 -0800)]
[Relay][TOPI][OP] intel_graphics conv2d alterlayout support relay, added stack op (#2729)
* add stack op frontend
* concate moved
* topi stack added
* stack added
* fix stack bugs and tested
* conv2d alterlayout udpated for relay
* fix pylint
* fix cmake warnings
* cmake warnings fixed
ziheng [Wed, 6 Mar 2019 02:22:16 +0000 (18:22 -0800)]
[VERSION] Update to 0.6.dev (#2736)
Haichen Shen [Tue, 5 Mar 2019 23:07:26 +0000 (15:07 -0800)]
[Relay][Frontend][Bugfix] Fix bug in converting slice_axis when axis is negative (#2739)
* bug fix
* trigger ci
Wuwei Lin [Tue, 5 Mar 2019 19:33:40 +0000 (03:33 +0800)]
[RELAY][OP] Faster-RCNN Proposal OP (#2725)
* [RELAY][OP] Proposal
* Fix
* Fix test
Martin Boos [Tue, 5 Mar 2019 15:48:03 +0000 (16:48 +0100)]
use LLVM linker (#2713)
* use LLVM linker
* error message improved in case of filenotfound
* linting error fixed
ziheng [Tue, 5 Mar 2019 05:51:09 +0000 (21:51 -0800)]
[COMMUNITY] @sgrechanik-h -> Reviewer (#2732)
Ruslan Baratov [Mon, 4 Mar 2019 23:21:36 +0000 (02:21 +0300)]
Docs: pip dependencies for testing (#2728)
Marcus Shawcroft [Mon, 4 Mar 2019 23:21:13 +0000 (23:21 +0000)]
[DOCKER] Pin pylint==1.9.4 (#2727)
Andrew Tulloch [Mon, 4 Mar 2019 23:20:12 +0000 (15:20 -0800)]
Fix compilation on XCode 10 (#2731)
雾雨魔理沙 [Mon, 4 Mar 2019 17:53:07 +0000 (09:53 -0800)]
[Relay] Higher order reverse mode automatic differentiation that work with control flow (#2496)
add test
remove dead code
stash
do it
add more test
MORINAGA [Mon, 4 Mar 2019 13:21:49 +0000 (22:21 +0900)]
[DOCS] Fix tutorial (#2724)
* fix docments
* delete e
Haichen Shen [Mon, 4 Mar 2019 05:14:14 +0000 (21:14 -0800)]
[Relay][Frontend] Add slice axis op in mxnet converter (#2706)
* Add slice axis op in mxnet converter
* Fix lint
Haichen Shen [Sun, 3 Mar 2019 18:24:20 +0000 (10:24 -0800)]
[Relay][Frontend] Add a few mxnet ops in relay frontend (#2704)
Ashutosh Parkhi [Sun, 3 Mar 2019 18:20:59 +0000 (23:50 +0530)]
[Tensorflow, NNVM, TOPI] Support for logical operators (#2453)
Wuwei Lin [Sun, 3 Mar 2019 18:15:12 +0000 (02:15 +0800)]
[RELAY][PASS] Common subexpression elimination (#2639)
Tianqi Chen [Sun, 3 Mar 2019 03:17:01 +0000 (19:17 -0800)]
[EXPR] ir_operator.h->expr_operator.h Centralize const folder logic (#2719)
Tianqi Chen [Sat, 2 Mar 2019 22:35:23 +0000 (14:35 -0800)]
[ARITH] Analyzer Infra, ConstIntBound, Modular (#2668)
Haichen Shen [Fri, 1 Mar 2019 22:53:46 +0000 (14:53 -0800)]
[Relay/TOPI][Op] Add batch_matmul in relay and TOPI (#2561)
* Add batch_dot and cpu schedule
* Add relay support for batch_dot
* Rename batch_dot to batch_matmul
* nits
* Add missing file
* Put batch_matmul and dense x86 schedule in separate files
* Fix pylint
* Remove unused import
* Add cuda schedule for batch_matmul
* Add test case with larger batch size
* Add batch_matmul in api doc
* Fix quantize pass rounding error
* Fix pylint and minor change
* bug fix
Salem Derisavi [Fri, 1 Mar 2019 18:46:21 +0000 (13:46 -0500)]
Defined a common base class for TensorComputeOp and ComputeOp (#2587)
* Defined a common base class for TensorComputeOp and ComputeOp
* Made changes requested by @ZihengJiang
* added a testcase to assert that `tensorize` does not have any effect on TensorComputeOp ops.
Hiroyuki Makino [Fri, 1 Mar 2019 18:19:49 +0000 (03:19 +0900)]
[Doc] Relay tutorial - Deploy the Pretrained Model on Raspberry Pi (#2693)
Marcus Shawcroft [Fri, 1 Mar 2019 18:12:24 +0000 (18:12 +0000)]
Docker build script robustness (#2710)
* [DOCKER] Make all install .sh scripts directly executable.
* [DOCKER] Use curl -L consistently.
Make the use of the curl -L option in docker build scripts consistent.
* [DOCKER] Drop use of --force-yes
The --force-yes option is generally not recommend, it can leave
systems in an undefined state. The use of --allow-* options is
preferred. In this particular case the --force-yes option appears to
serve no purpose. Dropping it.
* [DOCKER] Drop superflous repeated apt-get update.
The "apt-get update && apt-get install" idiom is necessary and
specific to Dockerfile. In shell the repeated apt-get update is
superflous. Drop the duplicates.
* [DOCKER] Robustness -e -u -o pipefail
The install scripts used to construct docker environments do not, in
general, propagate errors. Some of the scripts use adhoc &&
directives to chain together short sequences of commands but there are
numerous failure modes which are silently ignored. This patch puts in
place some consistent, basic, shell error trapping across all of the
install scripts.
Note this is a step forward towards more robust scripts but it is not
a complete solution.
* [DOCKER] Shallow clone.
Use shallow clone to reduce bandwidth requirements of repeated docker
(re)-builds.
* [DOCKER] Use clone --branch rather than clone then checkout
Use the git clone --branch idiom rather than git clone && git
checkout. This paves the way for using --depth=1
Marcus Shawcroft [Fri, 1 Mar 2019 18:09:35 +0000 (18:09 +0000)]
Improve task_lint.sh robustness (#2711)
* [SCRIPT] Refactor grep for multiple patterns
Tidy up the use of grep. Use -E rather than run multiple grep
instances.
* [SCRIPT] Refactor grep use in pipeline.
Prefer to use stdin redirection rather than create a pipeline.
* [SCRIPT] Refactor placement and cleanup of temporary files.
Place temporary files in the conventional /tmp location. Avoid
poisoning file name space by using $$. Ensure the temporary files get
cleaned up, even when the script fails / exits early.
* [SCRIPT] Improve robustness of task_lint.sh error handling.
Ensure script failures are caught and propagated. Rather than trying
to explicitly catch and propagate failures with explicit "|| exit"
annotations, use the "set -e" idom from docker/install scripts and
have the shell catch and propagate errors in the general case and
special case the grep instances where non zero exit is permitted and
should be ignored.
eqy [Fri, 1 Mar 2019 17:44:27 +0000 (09:44 -0800)]
[TOPI][Relay] Fix default `out_dtype` for `conv2d_NCHWc` and Relay (#2707)
Hao Jin [Fri, 1 Mar 2019 17:26:45 +0000 (09:26 -0800)]
support MXNet _minimum and _maximum (#2709)
雾雨魔理沙 [Fri, 1 Mar 2019 17:23:43 +0000 (09:23 -0800)]
[Relay] fix checkwellform (#2705)
* do
* address comment
Marcus Shawcroft [Fri, 1 Mar 2019 02:35:01 +0000 (02:35 +0000)]
Pin pylint version 2.2.2 (#2698)
Ruslan Baratov [Thu, 28 Feb 2019 18:45:02 +0000 (21:45 +0300)]
Few docs fixes (#2703)
MORITA Kazutaka [Thu, 28 Feb 2019 18:26:27 +0000 (03:26 +0900)]
[DOC] MXNet frontend tutorial (#2688)
Wei Chen [Thu, 28 Feb 2019 18:25:27 +0000 (10:25 -0800)]
[Relay][Doc] Separate arguments types formatting with comma (#2690)
Marcus Shawcroft [Thu, 28 Feb 2019 18:23:59 +0000 (18:23 +0000)]
Docker updates (#2702)
* [DOCKER] Switch from yes|apt-get to apt-get -y
The yes | apt-get idom guarantees that the 'yes' process always exists
with exit code 141 (pipe broken). This is fine while the script
generally ignores failures but won't work when the script behaviour is
tightened to robustly catch errors.
* [DOCKER] Turn down the wget/curl volume
Wuwei Lin [Thu, 28 Feb 2019 17:22:52 +0000 (01:22 +0800)]
[RELAY][PASS] Enable switching CanonicalizeOps in pass_enabled (#2696)
Truman TIAN [Thu, 28 Feb 2019 13:05:45 +0000 (21:05 +0800)]
[DOC] Using External Libraries in Relay (#2694)
* added relay quick start
* added relay/using_external_lib.py
* update using_external_lib
* Update using_external_lib.py
* update tvm/make/config.mk -> cmake/config.cmake
* Fixed: result mismatched when lowering relay with cudnn support at opt level 2
* setting opt_level=2 and out_channels=16 for consistency of original tutorial
* Fixed some typos
Yizhi Liu [Thu, 28 Feb 2019 04:26:22 +0000 (20:26 -0800)]
[Lang] Layout in TVM node system (#2509)
* move layout.h & layout.cc from relay to tvm
* change ConvertLayout in relay to bijectiveLayout->Forward/backward
* add first test case
* add LayoutAxis
* add LayoutAxis struct and compiles
* simplify BijectiveLayout rule consturct
* polish func name for Layout, move impl to .cc, remove Layout::defined(), add defined() checker
* partially add layout py support
* add layout test cases
* add doc for tvm.layout & tvm.bijective_layout
* fix lint
* fix lint
* fix layout name generation bug
* fix layout typo
* address comments and add topi.layout_transform
* layout.h->data_layout.h, test_lang_layout.py->test_lang_data_layout.py
eqy [Thu, 28 Feb 2019 04:25:35 +0000 (20:25 -0800)]
[AUTOTVM] tweak `sample_int` implementation (#2677)
* check in
* lint
* cleanup
* Update util.py
lixiaoquan [Thu, 28 Feb 2019 02:01:06 +0000 (10:01 +0800)]
[RELAY] Fix get_int_tuple for shape like '(1001,)' (#2691)
tshape.strip('()[]').split(',') will make a list ['1001',''] but the empty one isn't needed.
Denis Khalikov [Wed, 27 Feb 2019 22:38:01 +0000 (01:38 +0300)]
[CODEGEN LLVM GPU] Initialize llvm before lookup for the target (#2683)
Salem Derisavi [Wed, 27 Feb 2019 22:01:54 +0000 (17:01 -0500)]
Handle Select in IntSetEvaluator (#2687)
Takeshi Watanabe [Wed, 27 Feb 2019 19:48:32 +0000 (04:48 +0900)]
[RUST] Fix typo (#2681)
Marcus Shawcroft [Wed, 27 Feb 2019 19:47:14 +0000 (19:47 +0000)]
Stop pylint complaining about unnecessary return statement. (#2684)
Recent pylint introduced support for the useless-return diagnostic.
This patch remove the useless returns.
lixiaoquan [Wed, 27 Feb 2019 19:46:05 +0000 (03:46 +0800)]
Support mean in NNVM to Relay converter. (#2680)
MORITA Kazutaka [Wed, 27 Feb 2019 18:24:23 +0000 (03:24 +0900)]
[DOC] CoreML frontend tutorial (#2667)
* [DOC] CoreML frontend tutorial
* Update tutorials/frontend/from_coreml.py
Co-Authored-By: kazum <morita.kazutaka@lab.ntt.co.jp>
* Update tutorials/frontend/from_coreml.py
Co-Authored-By: kazum <morita.kazutaka@lab.ntt.co.jp>
* Addressed comments and added the original author
Marcus Shawcroft [Wed, 27 Feb 2019 18:01:05 +0000 (18:01 +0000)]
[PYLINT] Disable consider-using-get (#2654)
Hao Jin [Wed, 27 Feb 2019 08:01:52 +0000 (00:01 -0800)]
add converter for MXNet slice in nnvm and relay (#2662)
Logan Weber [Wed, 27 Feb 2019 05:15:39 +0000 (21:15 -0800)]
[Relay] Port param dict save/load from NNVM (#2620)
雾雨魔理沙 [Wed, 27 Feb 2019 04:40:06 +0000 (20:40 -0800)]
[Relay] add more descriptive error for checked_type (#2652)
Steven S. Lyubomirsky [Wed, 27 Feb 2019 04:38:50 +0000 (20:38 -0800)]
[Relay] Ensure nested higher-order functions are treated correctly (#2676)
Siju [Wed, 27 Feb 2019 04:19:45 +0000 (09:49 +0530)]
yolo reorg op for relay (#1941)
Siju [Wed, 27 Feb 2019 04:11:25 +0000 (09:41 +0530)]
REGION op removed from topi and added in darkent frontend (#2275)
hlu1 [Wed, 27 Feb 2019 02:32:27 +0000 (18:32 -0800)]
[Graph Runtime] Run_individual for benchmarking individual layers (#2569)
MORINAGA [Wed, 27 Feb 2019 01:32:21 +0000 (10:32 +0900)]
[AUTOTVM][Bugfix] Fix history loader for heterogeneous execution
在原佐为 [Tue, 26 Feb 2019 03:17:24 +0000 (11:17 +0800)]
Add CONCATENATION to tflite frontend, support Inception V3 (#2643)
* Add CONCATENATION to tflite frontend
* fix typo
* Fix codestyle
* Fix code style
* simplify convert map
* Update
雾雨魔理沙 [Tue, 26 Feb 2019 02:40:46 +0000 (18:40 -0800)]
[Relay] fix error in ANF (too agressively inline atomic expression and create free variable). (#2665)
雾雨魔理沙 [Tue, 26 Feb 2019 02:38:56 +0000 (18:38 -0800)]
fix (#2674)
Jian Weng [Tue, 26 Feb 2019 02:18:41 +0000 (18:18 -0800)]
[Hybrid Script] Add `max_num_threads` (#2672)
* i think it works for now?
* fix lint
* fix 2/3 compat
* fix py2 again
* fine, i gave up
Tianqi Chen [Mon, 25 Feb 2019 17:30:54 +0000 (09:30 -0800)]
[BUILD] Simplify after bind device type (#2670)
雾雨魔理沙 [Mon, 25 Feb 2019 05:36:17 +0000 (21:36 -0800)]
[Relay] add more function to prelude (#2660)
Junru Shao [Sun, 24 Feb 2019 20:24:32 +0000 (14:24 -0600)]
Fix -Wreturn-std-move and -Wself-assign-overloaded (#2669)
Haichen Shen [Sat, 23 Feb 2019 06:49:15 +0000 (22:49 -0800)]
[Relay/TOPI][OP] Add arange op in Relay and TOPI (#2621)
* Add arange op
* Update docs
* Fix bug
* add sanity check in relay and mxnet frontend mapping
* lint
* nits
* pylint
* don't allow empty output from arange
* Remove empty test for arange
* Fix bug and update doc
Haichen Shen [Sat, 23 Feb 2019 02:59:57 +0000 (18:59 -0800)]
add committer (#2661)
雾雨魔理沙 [Fri, 22 Feb 2019 22:48:12 +0000 (14:48 -0800)]
[Relay] GNF (#2492)
Tianqi Chen [Fri, 22 Feb 2019 22:30:59 +0000 (14:30 -0800)]
Update community.rst
ziheng [Fri, 22 Feb 2019 18:18:56 +0000 (10:18 -0800)]
[RELAY/OP] Gradient of relay level1 ops (#2633)
Jian Weng [Fri, 22 Feb 2019 18:06:28 +0000 (10:06 -0800)]
fix lint (#2649)
雾雨魔理沙 [Fri, 22 Feb 2019 18:06:09 +0000 (10:06 -0800)]
[Relay] fix anf for reference and pattern matching (#2637)
Yida Wang [Fri, 22 Feb 2019 18:05:23 +0000 (10:05 -0800)]
[RELAY][PASS]use attribute registration style in the mac count pass (#2645)
Marcus Shawcroft [Fri, 22 Feb 2019 18:04:36 +0000 (18:04 +0000)]
Explicitly disable pylint warning subprocess-popen-preexec-fn (#2656)
Marcus Shawcroft [Fri, 22 Feb 2019 18:03:18 +0000 (18:03 +0000)]
Stop pylint complaining about useless import alias. (#2655)
Recent pylint warngs about import renames with no effect. Remove
them.
eqy [Fri, 22 Feb 2019 06:29:52 +0000 (22:29 -0800)]
[Quantization][RELAY] Add check against NCHWc ops in the quantization pass (#2646)
* check in
* fix typo
* fix typo
* change message
* change message
* typo
* lint
Hao Jin [Fri, 22 Feb 2019 06:14:08 +0000 (22:14 -0800)]
add MXNet converter for where operator for both NNVM and Relay (#2647)
Marcus Shawcroft [Thu, 21 Feb 2019 18:43:07 +0000 (18:43 +0000)]
Fix pylint 2.2.2 gripes. (#2642)