Tianqi Chen [Sun, 28 Apr 2019 20:21:08 +0000 (13:21 -0700)]
[LINT] recover lint error, add asf header check (#3117)
Tianqi Chen [Sun, 28 Apr 2019 19:04:19 +0000 (12:04 -0700)]
[CI] Add file type check (#3116)
Wuwei Lin [Sun, 28 Apr 2019 03:48:34 +0000 (11:48 +0800)]
[TOPI] Fix group_conv2d unit test (#3113)
MaxXing [Sun, 28 Apr 2019 03:20:38 +0000 (11:20 +0800)]
fixed some typos (#3112)
Pedro Larroy [Sat, 27 Apr 2019 02:56:34 +0000 (19:56 -0700)]
Check that the node is not null, add contains to OpMap (#3037)
Meghan Cowan [Sat, 27 Apr 2019 02:55:22 +0000 (19:55 -0700)]
[TOPI] Bitserial dense operators for CPU (#3051)
Bing Xu [Sat, 27 Apr 2019 02:49:24 +0000 (19:49 -0700)]
[ROCM] Fix conv2d (#3107)
Ruizhe Zhao (Vincent) [Sat, 27 Apr 2019 02:15:21 +0000 (03:15 +0100)]
Fixed issue #3069 by checking op tag (#3070)
* Fixed issue #3069 by adding in_channels
* Registerd group_conv2d_nchw as topi compute
* Improved by checking tag value
* Removed group_conv2d_nchw topi registration
* Added test for relay group_conv2d_nchw
* Added assertions to forbid small group size
* Removed hard-coded oc_block_factor
* Added explanatory comments to group_conv2d_nchw_cuda
* Updated group_conv2d_nchw_cuda schedule
Removed 'direct' CUDA tests
* Reverted an accidental change in a conv2d test
* Fixed indentation problems
* Fixed a mis-commented line
* Reverted change in group_conv2d_nchw tag
* Removed commented int8 group_conv2d test
* Fixed group size assertions in group_conv2d_nchw_cuda
Salem Derisavi [Fri, 26 Apr 2019 21:10:42 +0000 (17:10 -0400)]
1) fixed a functional bug in loop partitioning algorithm that is exposed when double splitting with indivisible factors 2) added a testcase (#2956)
Salem Derisavi [Fri, 26 Apr 2019 16:49:29 +0000 (12:49 -0400)]
[TVM][ARITH] Teach BoundDeduce to handle the case in which target var can appear in rhs of expression (#2795)
* target variable can now appear in either lhs or rhs of the expression to be analyzed
* removed extra spaces
Wuwei Lin [Fri, 26 Apr 2019 16:41:54 +0000 (00:41 +0800)]
[Relay, Quantization, TOPI] int8 dense on CUDA & Dense op quantization (#2877)
* Quantize dense layers
* Add out_dtype arggument to dense; Add dense_int8 on CUDA
* Add topi unittest of dense int8
* Fix relay
* Fix topi integration
* Fix quantization
* Update dense_rewrite
* Triger CI
* Change qconfig quantize_dense to quantize_op
* Fix
* Remove quantize_op from qconfig
Tianqi Chen [Fri, 26 Apr 2019 16:09:11 +0000 (09:09 -0700)]
[COMMUNITY] @vinx13 -> committer (#3100)
Siva [Fri, 26 Apr 2019 15:27:30 +0000 (20:57 +0530)]
[TEST][FLAKY] fix for #3099 (#3101)
lixiaoquan [Fri, 26 Apr 2019 05:57:37 +0000 (13:57 +0800)]
[Relay][TensorFlow] Remove 'input_0d_mismatch' special handling (#3087)
* [Relay][TensorFlow] Remove 'input_0d_mismatch' special handling
* Add more tests.
* Cover the case that strided_slice outputs a scalar
Logan Weber [Thu, 25 Apr 2019 22:38:40 +0000 (15:38 -0700)]
Add VSCode directories to gitignore (#3095)
Hiroyuki Makino [Thu, 25 Apr 2019 18:05:42 +0000 (03:05 +0900)]
[Relay][TOPI] Add rsqrt operator (#2949)
Josh Pollock [Thu, 25 Apr 2019 17:56:46 +0000 (10:56 -0700)]
[Relay][Text Format] Fix Pretty Printing Annotations (#3041)
Liang-Chi Hsieh [Thu, 25 Apr 2019 17:49:50 +0000 (01:49 +0800)]
Use bridge network and expose port on macOS when launch docker image (#3086)
eqy [Thu, 25 Apr 2019 03:16:59 +0000 (20:16 -0700)]
check in (#3089)
OuHangKresnik [Wed, 24 Apr 2019 22:17:40 +0000 (06:17 +0800)]
Fix UnboundLocalError: local variable 'tensor' referenced before assignment (#3074)
Gemfield [Tue, 23 Apr 2019 03:50:55 +0000 (11:50 +0800)]
Enhance upsample operator to adapt onnx opset version 9 for nnvm comp… (#2968)
* Enhance upsample operator to adapt onnx opset version 9 for nnvm compiler
* Add upsample test case for newer opset in nnvm
* re-trigger the CI
Bing Xu [Mon, 22 Apr 2019 23:21:47 +0000 (16:21 -0700)]
[Relay] fix target string (#3071)
Liang-Chi Hsieh [Mon, 22 Apr 2019 00:17:50 +0000 (08:17 +0800)]
Fix code comment and typos. (#3063)
Yong Wu [Sun, 21 Apr 2019 06:59:22 +0000 (23:59 -0700)]
[Frontend][TF] Fix Placeholder issue (#2834)
* [Frontend][TF] Fix Placeholder issue
* Add test cases
Lianmin Zheng [Sat, 20 Apr 2019 23:20:03 +0000 (07:20 +0800)]
[TOPI] Rename output tensors for better readability (#3006)
hlu1 [Sat, 20 Apr 2019 00:50:34 +0000 (17:50 -0700)]
[Bugfix] Fix winograd nnpack fp16 (#3046)
masahi [Fri, 19 Apr 2019 16:20:19 +0000 (01:20 +0900)]
fix PostOrderVisit signature (#3048)
lixiaoquan [Fri, 19 Apr 2019 16:19:22 +0000 (00:19 +0800)]
[RELAY] Avoid unnecessarily reconstructing FunctionNode. (#3047)
Yong Wu [Fri, 19 Apr 2019 01:07:25 +0000 (18:07 -0700)]
[Relay][Frontend] TF Tile Round Sign Pow Exp Reverse (#2960)
* [Relay][Frontend] TF Round Sign Pow Exp Reverse
* fix ci
* fix comments
Siju [Thu, 18 Apr 2019 22:20:11 +0000 (03:50 +0530)]
Bugfix for path issues (#3038)
Balint Cristian [Thu, 18 Apr 2019 22:14:00 +0000 (01:14 +0300)]
Additional fix for PR#2972 (#3044)
雾雨魔理沙 [Wed, 17 Apr 2019 20:16:37 +0000 (13:16 -0700)]
[Relay] Add printing for ADT Type (#3030)
* Update pretty_printer.cc
* Update pretty_printer.cc
Yinghai Lu [Wed, 17 Apr 2019 20:06:30 +0000 (13:06 -0700)]
Implement relay nn.bias_add compute in C++ (#3027)
* Implement nn.bias_add compute in C++
* Address comments
* Remove unnecessary check
Balint Cristian [Wed, 17 Apr 2019 14:20:41 +0000 (17:20 +0300)]
Support Deriving channels when it is not provided in AlterLayout. (#2972)
雾雨魔理沙 [Wed, 17 Apr 2019 05:33:31 +0000 (22:33 -0700)]
[Relay] Fix Fuse (#3035)
* save
* fix
* Update fuse_ops.cc
Pedro Larroy [Wed, 17 Apr 2019 00:16:23 +0000 (17:16 -0700)]
Update dmlc-core, fix default ctors of NodeEntry (#3017)
Steven S. Lyubomirsky [Tue, 16 Apr 2019 20:44:30 +0000 (13:44 -0700)]
Ensure interpreted functions can take values that are not TensorValues (#3015)
hlu1 [Tue, 16 Apr 2019 20:43:37 +0000 (13:43 -0700)]
Add caffe2 nnvm frontend to CI (#3018)
雾雨魔理沙 [Tue, 16 Apr 2019 20:43:10 +0000 (13:43 -0700)]
Update expr.h (#3031)
Alexander Pivovarov [Tue, 16 Apr 2019 20:28:37 +0000 (13:28 -0700)]
Simplify TF get_output_names (#3025)
雾雨魔理沙 [Tue, 16 Apr 2019 19:37:49 +0000 (12:37 -0700)]
[Relay] Fix BatchMatMulRel typerelation (#3032)
return false mean retry in the future, and in the case of error, it should be report ASAP, not retry.
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