Sergei Grechanik [Tue, 16 Apr 2019 16:37:45 +0000 (19:37 +0300)]
[ARITH] Fix x||!x for comparisons in rewrite simplifier (#3029)
tkat0 [Tue, 16 Apr 2019 01:11:51 +0000 (10:11 +0900)]
[DOC] Add Android Tutorial (#2977)
* fix APP_STL for latest android ndk
* add vulkan sdk for tutorial
* add android tutorial
* fix of invalid input layer name
* update relay build opt_level 1 -> 3
Logan Weber [Mon, 15 Apr 2019 22:58:54 +0000 (15:58 -0700)]
[Relay] Add compiler pass tutorial docs (#2746)
* Add Relay compiler pass tutorial docs
* Add Python API hook wrapping step
* Incorporate feedback
* More doc iteration
* Mooooore iteration
* Rewrite `runtime.md` in rst
雾雨魔理沙 [Mon, 15 Apr 2019 19:56:31 +0000 (12:56 -0700)]
[Relay] use unordered_map instead of map in ANF (#3024)
Ehsan M. Kermani [Mon, 15 Apr 2019 02:11:18 +0000 (19:11 -0700)]
[RUST][FRONTEND] Fix resnet example (#3000)
Due to the previous changes the frontend resnet example failed to build. So this patch
1) fixes it
2) adds ~~a local `run_tests.sh` to remedy non-existence of MXNet CI (used in python build example)~~ the example build to CI with random weights and a flag for pretrained resnet weights
Please review: @tqchen @nhynes @kazimuth
Tianqi Chen [Sat, 13 Apr 2019 23:20:24 +0000 (19:20 -0400)]
[COMMUNITY] @hlu1 -> Reviewer (#3021)
MORINAGA [Sat, 13 Apr 2019 03:03:11 +0000 (12:03 +0900)]
[Heterogeneous][Bugfix] Fix bug of wrongly generated device_map (#2990)
* fix bug of device_index
* cpplint
* nose
* Update test_pass_annotation.py
* fix name of testcase
* delete comment
Josh Pollock [Sat, 13 Apr 2019 01:36:19 +0000 (18:36 -0700)]
[Relay][Text Format] Pretty Printer Smart Inlining (#2881)
hlu1 [Sat, 13 Apr 2019 01:33:45 +0000 (18:33 -0700)]
[Bugfix] Fix caffe2 nnvm frontend (#2996)
Bing Xu [Fri, 12 Apr 2019 23:13:45 +0000 (16:13 -0700)]
[Relay] C++ GraphRuntimeCodegen, Deprecate Python2 (#2986)
* [Relay] C++ GraphRuntimeCodegen
* [Test] Deprecate Python2
* [Python3] Add Py2 check
* Update _pyversion.py
* [Python3] Update test
Logan Weber [Fri, 12 Apr 2019 22:43:37 +0000 (15:43 -0700)]
[Relay] Add gradient operator tutorial docs (#2751)
* Add gradient operator tutorial docs
* Incorporate Steven's and Ziheng's feedback
* Remove TODO about `collapse_sum_like`
* Add more examples
eqy [Fri, 12 Apr 2019 21:17:38 +0000 (14:17 -0700)]
[NIT] fix relay invariant error message (#3011)
* [NIT] fix common error message
Extremely minor issue, but this is one of the most common error messages people see...
* Update type_solver.cc
trigger CI
Ce Gao [Fri, 12 Apr 2019 19:37:08 +0000 (03:37 +0800)]
[AutoTVM] Fix typos (#3014)
Signed-off-by: Ce Gao <gaoce@caicloud.io>
Alexey Romanov [Fri, 12 Apr 2019 03:59:20 +0000 (06:59 +0300)]
Support SpaceToBatchND/BatchToSpaceND in Tensorflow frontend (#2943)
Thanks @alexeyr . This is now merged.
Lianmin Zheng [Thu, 11 Apr 2019 02:58:54 +0000 (10:58 +0800)]
[AutoTVM] fix argument type for curve feature (#3004)
James Gilles [Wed, 10 Apr 2019 21:28:25 +0000 (17:28 -0400)]
[REFACTOR] Use more TypedPackedFuncs (#2981)
* Add `set_body_simple` to Registry, refactor a lot of code to use it
* Add more types to Relay PackedFuncs
* Add Registry::set_body_method to easily make Node methods into
PackedFuncs
* Add set_body_method, set_body_node_method; start typing api_lang
* Add some docs, remove unused script
* Fix mysterious linter problem
* Touch up api_ir.cc
* Fix some issues with TOPI argument counts
* Revert changes to topi.cc to avoid problems with optional arguments
* A little more cleanup
* Type more of the api _ functions
* Whitespace
* Finalize names and docs for new registry helpers
* Update docs
Yizhi Liu [Wed, 10 Apr 2019 05:12:50 +0000 (22:12 -0700)]
fix java checkstyle version (#2998)
eqy [Wed, 10 Apr 2019 05:11:21 +0000 (22:11 -0700)]
add output format to ndk build func (#2999)
Philip Hyunsu Cho [Wed, 10 Apr 2019 04:59:16 +0000 (21:59 -0700)]
Expose backtrace symbols in Debug mode (#3001)
雾雨魔理沙 [Tue, 9 Apr 2019 18:49:16 +0000 (11:49 -0700)]
Update let_list.h (#2987)
雾雨魔理沙 [Tue, 9 Apr 2019 05:56:57 +0000 (22:56 -0700)]
add document (#2714)
lint
lint
save
save
add more case
save
error
lint
lint
commit
do
lint
save
fix lint
wrap it back as func
lint
save
remove dead comment
fix style
fix lint
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
address review feedback
pe now handle freevar. as a result preserving function is now trivial.
test
add basic test, implement pretty printing for generic function
test
lint
fix segfault
save
save
do
test
fix another error
address comment
commit
save
address review feedback
add test for invalidate, fix error in lookup
rename cont to boduy
fix error and add regression test
fix error, add test case
Update src/relay/pass/partial_eval.cc
Co-Authored-By: MarisaKirisame <lolisa@marisa.moe>
fix lint
remove extra line
save
save
雾雨魔理沙 [Tue, 9 Apr 2019 05:51:00 +0000 (22:51 -0700)]
[Relay] Add expr_visitor, fix expr_functor exponential blowup problem (#2988)
* save
* lint
Wuwei Lin [Tue, 9 Apr 2019 05:20:56 +0000 (13:20 +0800)]
[Relay] InferCorrectLayout for strided_slice & min_num_branches option in CombineParallelConv2D (#2961)
* [Relay] InferCorrectLayout for strided_slice
* Add min_num_branches option to CombineParallelConv2D
* Return undef if original layout contains splitted axes
Jared Roesch [Mon, 8 Apr 2019 15:54:35 +0000 (08:54 -0700)]
[Relay][RFC][Fix] Rename RelayPrint to AsText (#2984)
Tianqi Chen [Mon, 8 Apr 2019 04:14:02 +0000 (21:14 -0700)]
[HEADER] Add Header to Comply with ASF Release Policy (#2982)
* [HEADER] ASF header dir=include
* [HEADER] ASF Header dir=src
* [HEADER] ASF Header -dir=python
* [HEADER] ASF header dir=topi
* [HEADER] ASF Header dir=nnvm
* [HEADER] ASF Header -dir=tutorials
* [HEADER] ASF Header dir=tests
* [HEADER] ASF Header -dir=docker
* fix whitespace
* [HEADER] ASF Header -dir=jvm
* [HEADER] ASF Header -dir=web
* [HEADER] ASF Header --dir=apps
* [HEADER] ASF Header --dir=vta
* [HEADER] ASF Header -dir=go
* temp
* [HEADER] ASF Header --dir=rust
* [HEADER] Add ASF Header --dir=cmake
* [HEADER] ASF Header --dir=docs
* [HEADER] Header for Jenkinsfile
* [HEADER] ASF Header to toml and md
* [HEADER] ASF Header to gradle
* Finalize rat cleanup
* Fix permission
* Fix java test
* temporary remove nnvm onnx test
Nick Hynes [Sun, 7 Apr 2019 17:23:48 +0000 (10:23 -0700)]
Rustify PackedFunc & Friends (#2969)
eqy [Fri, 5 Apr 2019 22:06:01 +0000 (15:06 -0700)]
[WIP][AUTOTVM][TOPI] Port x86 NCHWc to AutoTVM for Task Extraction (#2664)
[AUTOTVM][TOPI] Port x86 NCHWc to AutoTVM for Task Extraction
hlu1 [Fri, 5 Apr 2019 02:49:26 +0000 (19:49 -0700)]
[TVM][Bugfix] Fix missing runtime:: (#2966)
Yizhi Liu [Fri, 5 Apr 2019 02:49:08 +0000 (19:49 -0700)]
[tvm4j] provide error msg for failure function call (#2967)
Tianqi Chen [Thu, 4 Apr 2019 18:46:01 +0000 (11:46 -0700)]
[REFACTOR] Remove stale verilog generator (#2964)
Yuta Hinokuma [Thu, 4 Apr 2019 16:40:13 +0000 (01:40 +0900)]
Removed std::unary_function because it is deprecated and removed in newer c++(https://en.cppreference.com/w/cpp/utility/functional/unary_function) (#2962)
Meghan Cowan [Thu, 4 Apr 2019 04:22:01 +0000 (21:22 -0700)]
[TOPI] bitserial_conv2d move to autotvm template and updates (#2819)
Junru Shao [Thu, 4 Apr 2019 00:02:36 +0000 (17:02 -0700)]
fix undefined reference to dlopen, etc (#2957)
Ehsan M. Kermani [Wed, 3 Apr 2019 23:23:27 +0000 (16:23 -0700)]
[RUST] Remove empty ty.rs (#2958)
Sunwoong Joo [Wed, 3 Apr 2019 21:28:11 +0000 (06:28 +0900)]
[Relay][Frontend] Adding ADD operator to tflite frontend for compiling the MobileNetV2 (#2919)
Yong Wu [Wed, 3 Apr 2019 11:10:10 +0000 (04:10 -0700)]
[Relay][Frontend] Support tf.where (#2936)
* [Relay][Frontend] Support tf.where
* fix comments
Marcus Shawcroft [Wed, 3 Apr 2019 05:11:19 +0000 (06:11 +0100)]
[RUNTIME][OPENCL] Make OpenCL runtime Compatible with OpenCL2.0 #2897 (#2950)
There are many OpenCL platforms that do not yet support OpenCL 2.0,
hence we use 1.2 APIs, some of which are now deprecated. In order
to turn off the deprecation warnings (elevated to errors by
-Werror) we explicitly disable the 1.2 deprecation warnings.
At the point TVM supports minimum version 2.0, this commit can be
reverted.
Yong Wu [Wed, 3 Apr 2019 05:05:27 +0000 (22:05 -0700)]
[Relay][Frontend] Support TF Gather (#2935)
* [Relay][Frontend] Support TF Gather
* fix comments
Nick Hynes [Wed, 3 Apr 2019 00:24:21 +0000 (17:24 -0700)]
[Rust] Unify types between bindings and pure Rust impl (#2616)
Haichen Shen [Tue, 2 Apr 2019 23:39:48 +0000 (16:39 -0700)]
[Relay][OP] Fix bias_add default axis (#2829)
* Fix bias add default axis
* update
* Fix canonicalize ops for bias_add
Leyuan Wang [Tue, 2 Apr 2019 21:11:51 +0000 (14:11 -0700)]
[Bugfix] Bilinear resize bug fix from PR #2777 (#2857)
* error fixed
* rename
* solve conlicts with master
* more test added
* fix error
* remove test
* comment addressed
Marcus Shawcroft [Tue, 2 Apr 2019 16:41:08 +0000 (17:41 +0100)]
Add missing #!/bin/bash directive. (#2951)
Leyuan Wang [Tue, 2 Apr 2019 06:17:31 +0000 (23:17 -0700)]
[Relay][OP] Gather_nd exposed to relay (#2945)
* gather_nd added
* gather_nd test added
* more test added
* fix lint
* fix build error
* fix lint
* comments addressed
Balint Cristian [Tue, 2 Apr 2019 00:10:16 +0000 (03:10 +0300)]
Fix makedirs() condition in contrib. (#2942)
Wuwei Lin [Mon, 1 Apr 2019 22:57:56 +0000 (06:57 +0800)]
[Relay, Quantization] Quantize all fields of concatenate (#2913)
Haichen Shen [Mon, 1 Apr 2019 22:40:11 +0000 (15:40 -0700)]
[Relay/TOPI][OP] Add clip and wrap mode support in take (#2858)
* Update take
* Add special case for canonical simplify and fix test cases
* Use lower case for wrap and clip
* remove unnecssary lower
* Fix mxnet converter for take
* fix
lixiaoquan [Mon, 1 Apr 2019 16:11:29 +0000 (00:11 +0800)]
[Relay] Add foldr1 (#2928)
MORITA Kazutaka [Mon, 1 Apr 2019 16:00:23 +0000 (01:00 +0900)]
[DOCKER][FRONTEND] Run DarkNet tests (#2673)
* [DOCKER][FRONTEND] Run DarkNet tests
* update tests to pass CI
Alexander Pivovarov [Mon, 1 Apr 2019 06:05:12 +0000 (23:05 -0700)]
Fix PRC typo (#2939)
Tianqi Chen [Mon, 1 Apr 2019 06:04:03 +0000 (23:04 -0700)]
[TEXPR][PASS] Fix thread all reduce to avoid write after read hazzard (#2937)
Mr You [Mon, 1 Apr 2019 04:32:34 +0000 (12:32 +0800)]
Update schedule_dataflow_rewrite.cc (#2934)
Tianqi Chen [Sun, 31 Mar 2019 22:06:48 +0000 (15:06 -0700)]
[ARITH] Analyzer CanonicalSimplifier (#2891)
Andrew Tulloch [Sun, 31 Mar 2019 16:30:25 +0000 (09:30 -0700)]
Fix vcvtph2ps codegen (#2925)
Siva [Sat, 30 Mar 2019 19:39:04 +0000 (01:09 +0530)]
[FRONTEND][TENSORFLOW] bug fix for tensorflow official slim models. (#2864)
* [FRONTEND][TENSORFLOW] bug fix for tensorflow official slim models.
* * review comments
Steven S. Lyubomirsky [Sat, 30 Mar 2019 18:19:50 +0000 (11:19 -0700)]
Outdated renaming for flatten in ONNX converter (#2843)
Siva [Sat, 30 Mar 2019 18:16:56 +0000 (23:46 +0530)]
[FRONTEND][ONNX] Some bug fixes and Shape operator fixed for relay. (#2850)
* [FRONTEND][ONNX] Some bug fixes and Shape operator fixed for relay.
* * test cases
* * ci error
Yutetsu TAKATSUKASA [Sat, 30 Mar 2019 18:13:54 +0000 (03:13 +0900)]
Consistent result of DetectLinearEquation() when an empy vars is passed (#2860)
masahi [Sat, 30 Mar 2019 18:09:46 +0000 (03:09 +0900)]
[Relay, OpFusion] Fix handling TupleGetItem for nested tuples (#2929)
Siyuan Feng [Sat, 30 Mar 2019 17:45:06 +0000 (01:45 +0800)]
Fix intersect of modular set (#2904)
Fix comment bugs and code style
Tianqi Chen [Sat, 30 Mar 2019 13:33:28 +0000 (09:33 -0400)]
[AUTOTVM] Refactor measure build func (#2927)
Haichen Shen [Sat, 30 Mar 2019 04:11:55 +0000 (21:11 -0700)]
[Tutorial] Cache the test data in tutorial (#2923)
Tianqi Chen [Sat, 30 Mar 2019 01:57:24 +0000 (21:57 -0400)]
Revert "[Relay] add test for second order ad (#2754)" (#2926)
This reverts commit
f5ca9915ab163364c885de0b103579e4d85460eb.
雾雨魔理沙 [Sat, 30 Mar 2019 00:02:32 +0000 (17:02 -0700)]
[Relay] add test for second order ad (#2754)
* do second order
* add comment
* better name
* use tvm assert all close
* refire ci
Andrew Tulloch [Fri, 29 Mar 2019 18:35:15 +0000 (11:35 -0700)]
TVM debugresult dump to Chrome Tracing (#2922)
Wuwei Lin [Fri, 29 Mar 2019 12:38:56 +0000 (20:38 +0800)]
[Relay, TOPI] Deformable conv2d (#2908)
* [Relay, TOPI] Add deformable conv2d
* Moved to op level2
* Fix lint
* Moved to level2 & bug fix
* Update comments
* Disabled flaky test of conv2d
masahi [Fri, 29 Mar 2019 12:23:01 +0000 (21:23 +0900)]
[Relay] Add support for TupleGetItem in op fusion (#2914)
Hao Jin [Fri, 29 Mar 2019 03:59:05 +0000 (20:59 -0700)]
add support for mxnet smooth_l1 (#2905)
Mark Rogers [Fri, 29 Mar 2019 02:18:18 +0000 (19:18 -0700)]
Unified error handling in NNVM and Relay frontends (#2828)
Haichen Shen [Fri, 29 Mar 2019 02:12:25 +0000 (19:12 -0700)]
[TEST] Cache test data (#2921)
Yao Wang [Thu, 28 Mar 2019 01:05:40 +0000 (18:05 -0700)]
Turn on USE_SORT by default (#2916)
雾雨魔理沙 [Wed, 27 Mar 2019 23:55:59 +0000 (16:55 -0700)]
[Relay] clean up hd, change tl (#2917)
Nick Hynes [Wed, 27 Mar 2019 20:49:05 +0000 (13:49 -0700)]
[Relay] Allow converting keras.layers.Sequential (#2842)
* Allow converting keras.layers.Sequential
* Use existing new_var function
* Only update expr when missing
* Add test
Tianqi Chen [Wed, 27 Mar 2019 05:47:59 +0000 (22:47 -0700)]
[COMMUNITY] ASF mentors (#2906)
Andrew Tulloch [Wed, 27 Mar 2019 01:21:10 +0000 (18:21 -0700)]
Allow linking against MKLML (#2902)
Tianqi Chen [Tue, 26 Mar 2019 22:43:52 +0000 (15:43 -0700)]
[DOCKER] Upgrade ci-cpu to latest v0.50 (#2901)
Marcus Shawcroft [Tue, 26 Mar 2019 18:17:11 +0000 (18:17 +0000)]
[TESTS] Import script robustness (set -u) (#2896)
Adopt the "set -u" idiom from the docker scripts as a mechanism to
improve future robustness.
Zhao Wu [Tue, 26 Mar 2019 11:17:47 +0000 (19:17 +0800)]
[Relay] Fix Relay ARM CPU depthwise spatial pack schedule alter op layout issue. (#2861)
* Fix Relay ARM CPU spatial pack depthwise alter op layout issue.
* Update tune_relay_arm.py
hlu1 [Tue, 26 Mar 2019 03:12:32 +0000 (20:12 -0700)]
winograd_nnpack (#2721)
Nick Hynes [Mon, 25 Mar 2019 20:45:05 +0000 (13:45 -0700)]
[Relay] Fix name of bias in testing.mlp (#2892)
Marcus Shawcroft [Mon, 25 Mar 2019 20:44:36 +0000 (20:44 +0000)]
[TESTS] Improve script robustness (#2893)
A number of test scripts use the '|| exit 1' idiom. This has two
issues, first process exit codes are defined to be in the range 0-255.
Second, more importantly, the idiom is fragile because it requires
that every possible failure point be explicitly coded. This patch
removes the idiom in favour of "set -e" as used in the docker scripts
as a more robust mechanism to ensure that script failures are always
caught and propagated by default.
Jhony Guan [Mon, 25 Mar 2019 20:08:02 +0000 (13:08 -0700)]
Add dense schedules to __init__ for cpu (#2855)
* Add dense schedules to __init__ for cpu
* Add documentation for topi::shape
* Add additional imports to topi CPU __init__.
XiaolongMeng [Mon, 25 Mar 2019 02:27:19 +0000 (10:27 +0800)]
fix prelu, now can use on 2d input and add one test (#2875)
Luis Vega [Mon, 25 Mar 2019 01:07:05 +0000 (18:07 -0700)]
[Apps] [howto_deploy] fix cxx-flags order and build directory (#2888)
Wuwei Lin [Sun, 24 Mar 2019 18:38:46 +0000 (02:38 +0800)]
[Relay][Op] Add group conv2d dispatch to topi function (#2870)
* [Relay][Op] Add group conv2d dispatch to topi function
* Rerun tests
Nick Hynes [Sun, 24 Mar 2019 17:42:59 +0000 (10:42 -0700)]
Use version invariant rustfmt (#2886)
Gemfield [Sun, 24 Mar 2019 17:40:56 +0000 (01:40 +0800)]
Enhance upsample operator to adapt onnx opset version 9 (#2840)
Zhi [Sun, 24 Mar 2019 15:19:16 +0000 (08:19 -0700)]
[RELAY][Frontend][TF] decompile tf control flow (#2830)
* decompile tf control flow
* Add docs
* remove import relay
* move tests under tensorflow frontend
* minor fix
雾雨魔理沙 [Sat, 23 Mar 2019 17:29:55 +0000 (10:29 -0700)]
do (#2883)
Sergei Grechanik [Sat, 23 Mar 2019 01:25:16 +0000 (04:25 +0300)]
[ARITH] RewriteSimplifier: improved cmp simplification (#2851)
kparzysz [Sat, 23 Mar 2019 01:24:00 +0000 (20:24 -0500)]
Fix setting up hints for getaddrinfo (#2872)
Nick Hynes [Sat, 23 Mar 2019 01:23:01 +0000 (18:23 -0700)]
Add missing sgx includes (#2878)
Wei Chen [Sat, 23 Mar 2019 01:21:31 +0000 (18:21 -0700)]
[Relay] Add list update to prelude (#2866)
hlu1 [Sat, 23 Mar 2019 01:21:06 +0000 (18:21 -0700)]
[NNPACK] Modernize test (#2868)
Josh Pollock [Sat, 23 Mar 2019 01:20:41 +0000 (18:20 -0700)]
[Relay][Text Format] Reverse CallNode Print Order (#2882)
Marcus Shawcroft [Sat, 23 Mar 2019 01:16:39 +0000 (01:16 +0000)]
[DOCKER] Pin flatbuffers checkout to the last release tag (#2823). (#2879)
雾雨魔理沙 [Thu, 21 Mar 2019 01:46:15 +0000 (18:46 -0700)]
Fix error reporting for missing axis (#2835)
* Fix error reporting for missing axis
* Update data_layout.cc
Josh Pollock [Wed, 20 Mar 2019 23:11:53 +0000 (16:11 -0700)]
[Relay][Text Format] Text Printer Refactor and Debug Printing (#2605)
Andrew Tulloch [Wed, 20 Mar 2019 17:18:05 +0000 (10:18 -0700)]
Truncate function name (#2863)
Zeno Gantner [Wed, 20 Mar 2019 17:14:34 +0000 (18:14 +0100)]
fix typos: 4x "disbale" to "disable" (#2865)
Liangfu Chen [Wed, 20 Mar 2019 17:02:10 +0000 (01:02 +0800)]
[Relay] Improved `multiply_rewrite` for gluoncv_ssd quantization (#2848)
* improved `multiply_rewrite` for gluoncv_ssd quantization
* add a check to attach_simulated_quantize below to prevent quantizing lhs to INPUT if lhs_kind is INPUT;