platform/upstream/tvm.git
5 years agoadd favicon in rtd (#3379)
Sheng Zha [Mon, 17 Jun 2019 16:52:31 +0000 (09:52 -0700)]
add favicon in rtd (#3379)

5 years agosave (#3033)
雾雨魔理沙 [Sat, 15 Jun 2019 22:08:46 +0000 (15:08 -0700)]
save (#3033)

save

save

save

upstream

lint

remove bad changes

fix build

save

save

please the ci god

Update src/relay/pass/partial_eval.cc

Co-Authored-By: Wei Chen <ipondering.weic@gmail.com>
save

fix test

ci is ANGRY

fix rebase problem

fix rebase

add test

save

save

comment

5 years agoFix typo in word explicitly (#3376)
Alexander Pivovarov [Sat, 15 Jun 2019 04:34:37 +0000 (21:34 -0700)]
Fix typo in word explicitly (#3376)

5 years ago[Relay][VM] Add AllocTensor instruction and better instruction printer (#3306)
Haichen Shen [Fri, 14 Jun 2019 22:18:14 +0000 (15:18 -0700)]
[Relay][VM] Add AllocTensor instruction and better instruction printer (#3306)

* Update vm print & add AllocTensor instruction

* patch

* fix invoke packed

* update cmake

* tweak move

* update invoke_closure

* lint

* add doc

* tweak

5 years agoAdd test_forward_ssd_mobilenet_v1 to tflite/test_forward (#3350)
Alexander Pivovarov [Fri, 14 Jun 2019 20:34:17 +0000 (13:34 -0700)]
Add test_forward_ssd_mobilenet_v1 to tflite/test_forward (#3350)

5 years ago[BUILD] Enable more visible symbols by default (#3365)
Tianqi Chen [Fri, 14 Jun 2019 17:30:46 +0000 (10:30 -0700)]
[BUILD] Enable more visible symbols by default (#3365)

5 years agofix hardware-makefile for osx, bugfix chisel-RegFile, and rename driver (#3371)
Luis Vega [Fri, 14 Jun 2019 08:01:00 +0000 (01:01 -0700)]
fix hardware-makefile for osx, bugfix chisel-RegFile, and rename driver (#3371)

5 years ago[TEST][FLAKY] Fix flaky test on topk and quantize pass (#3362)
Haichen Shen [Fri, 14 Jun 2019 00:48:17 +0000 (17:48 -0700)]
[TEST][FLAKY] Fix flaky test on topk and quantize pass (#3362)

* fix flaky test

* fix flaky quantize pass

5 years ago[VTA] add support to event counters (#3347)
Luis Vega [Thu, 13 Jun 2019 22:08:40 +0000 (15:08 -0700)]
[VTA] add support to event counters (#3347)

* add support to event counters in VTA

* fix comment

* fix event-counter interface parameter

* no longer needed

* add sim back

* add docs to event counters

* fix docs

* add more details about event counting

* make dpi-module docs more accurate

5 years agoUpdate CMakeLists.txt to be more flexible (#3354)
Marcelo Duarte Trevisani [Thu, 13 Jun 2019 22:03:49 +0000 (23:03 +0100)]
Update CMakeLists.txt to be more flexible (#3354)

5 years ago[Relay] tflite frontend, keep underline with comments in same length. (#3363)
Hua [Thu, 13 Jun 2019 22:01:42 +0000 (15:01 -0700)]
[Relay] tflite frontend, keep underline with comments in same length. (#3363)

5 years ago[ARITH] Revamp IntSet (#3272)
Tianqi Chen [Thu, 13 Jun 2019 20:09:58 +0000 (13:09 -0700)]
[ARITH] Revamp IntSet (#3272)

5 years ago[Relay][Frontend] Add a bunch of ops in tf converter (#3270)
Yong Wu [Thu, 13 Jun 2019 20:08:48 +0000 (13:08 -0700)]
[Relay][Frontend] Add a bunch of ops in tf converter (#3270)

5 years ago[Relay] Add Elemwise operator Sub, Divide, Power, Max, Min to tflite frontend. (...
Hua [Thu, 13 Jun 2019 18:10:07 +0000 (11:10 -0700)]
[Relay] Add Elemwise operator Sub, Divide, Power, Max, Min to tflite frontend. (#3357)

5 years ago[Relay] Check match expressions for completeness (#3203)
Steven S. Lyubomirsky [Thu, 13 Jun 2019 16:02:26 +0000 (09:02 -0700)]
[Relay] Check match expressions for completeness (#3203)

5 years ago[Relay][Transform] quantize opt passes to pass manager (#3289)
Zhi [Thu, 13 Jun 2019 15:57:43 +0000 (08:57 -0700)]
[Relay][Transform] quantize opt passes to pass manager (#3289)

5 years agoUpdate tflite schema version to 1.13 (#3356)
Alexander Pivovarov [Thu, 13 Jun 2019 15:52:25 +0000 (08:52 -0700)]
Update tflite schema version to 1.13 (#3356)

5 years ago[Team] Jian Weng -> Committer (#3359)
Yizhi Liu [Thu, 13 Jun 2019 15:51:58 +0000 (08:51 -0700)]
[Team] Jian Weng -> Committer (#3359)

5 years agoSupport export ADT value in Python (#3299)
Wei Chen [Thu, 13 Jun 2019 01:21:19 +0000 (09:21 +0800)]
Support export ADT value in Python (#3299)

* Support export ADT value in Python

* Cache original functions

* Cleanup

* Cleanup

5 years ago[Relay] add ClipByValue and Neg in tf frontend converter (#3211)
Yong Wu [Wed, 12 Jun 2019 21:56:18 +0000 (14:56 -0700)]
[Relay] add ClipByValue and Neg in tf frontend converter (#3211)

5 years ago[Relay][Frontend] Fix MxNet RNN without providing state initialization as input ...
Haichen Shen [Wed, 12 Jun 2019 21:23:15 +0000 (14:23 -0700)]
[Relay][Frontend] Fix MxNet RNN without providing state initialization as input (#3326)

5 years ago[Relay][Backend] Fix interpreter argument conversion for tuples. (#3349)
Jared Roesch [Wed, 12 Jun 2019 16:58:15 +0000 (09:58 -0700)]
[Relay][Backend] Fix interpreter argument conversion for tuples. (#3349)

* Support taking a tuple as an argument

* Add test

5 years ago[DOC] clarfiy explanation (#3340)
Marcus Shawcroft [Wed, 12 Jun 2019 04:22:48 +0000 (05:22 +0100)]
[DOC] clarfiy explanation (#3340)

5 years ago[DOC] minor grammatical improvements (#3341)
Marcus Shawcroft [Wed, 12 Jun 2019 04:22:22 +0000 (05:22 +0100)]
[DOC] minor grammatical improvements (#3341)

5 years agoNon_maximum_suppression and get_valid_counts add new parameters (#3335)
Leyuan Wang [Wed, 12 Jun 2019 04:10:51 +0000 (21:10 -0700)]
Non_maximum_suppression and get_valid_counts add new parameters (#3335)

5 years ago[VTA][TSIM] update app example (#3343)
Luis Vega [Tue, 11 Jun 2019 23:55:41 +0000 (16:55 -0700)]
[VTA][TSIM] update app example (#3343)

* add initial support to cycle counter to accelerator

* remove prints from c

* add event counter support to chisel tsim example

* make it more readable

* use a config class

* update driver

* add individual Makefile to chisel

* add rule for installing vta package

* add makefile for verilog backend

* update drivers

* update

* rename

* update README

* put default sim back

* set counter to zero

5 years ago[Topi] Fast mode in take op (#3325)
hlu1 [Tue, 11 Jun 2019 23:32:12 +0000 (16:32 -0700)]
[Topi] Fast mode in take op (#3325)

5 years ago[CI] separate out legacy as a stage (#3337)
Tianqi Chen [Tue, 11 Jun 2019 17:55:37 +0000 (10:55 -0700)]
[CI] separate out legacy as a stage (#3337)

5 years ago[RELAY] Pass infra cleanup (#3336)
Tianqi Chen [Tue, 11 Jun 2019 17:55:24 +0000 (10:55 -0700)]
[RELAY] Pass infra cleanup (#3336)

5 years ago[CI] Clarify RAT exclude patterns. (#3328)
Marcus Shawcroft [Tue, 11 Jun 2019 17:54:04 +0000 (18:54 +0100)]
[CI] Clarify RAT exclude patterns. (#3328)

5 years agoAdd LOGISTIC operator to relay tflite frontend (#3313)
Alexander Pivovarov [Tue, 11 Jun 2019 04:26:15 +0000 (21:26 -0700)]
Add LOGISTIC operator to relay tflite frontend (#3313)

5 years ago[Relay][Prelude] Use the Relay parser to define the Relay prelude (#3043)
Jared Roesch [Tue, 11 Jun 2019 01:15:11 +0000 (18:15 -0700)]
[Relay][Prelude] Use the Relay parser to define the Relay prelude (#3043)

* Add ability to load Prelude from disk

* Port over id

* Define compose

* Linting errors and style changes

* Eliminate unnecessary parens

* Rename identType to typeIdent (makes more sense)

* Another unnecessary paren

* Bump the version number for the text format

* Ensure .rly (Relay text files) are permitted

* Correct release number and simplify grammar rule

* Correct load_prelude docstring

* Corrections to _parser

* Add Apache headers to prelude source file

* Remove test_prelude (redundant)

* Correct misleading error message

* Add check that parser is enabled in Prelude

* Commit pre-generated parser, ensure generated files are treated as binaries, and have parser tests always fire

* Permit parser files and git attributes files

* Exclude gitattributes and parser files from apache check

* Another attempt at appeasing Apache audit checker

* Corrections to rat-excludes

* Apache should be truly appeased now

* Ignore Relay parser files by name

* Mark parser files as generated so they don't show up on Github

* Add parsing helper function for tests

* Mark parser files as not detectable

5 years ago[relay][vm] move vm opt passes to pass manager (#3323)
Zhi [Tue, 11 Jun 2019 00:47:31 +0000 (17:47 -0700)]
[relay][vm] move vm opt passes to pass manager (#3323)

5 years agoAdd PAD operator to relay tflite frontend (#3310)
Alexander Pivovarov [Mon, 10 Jun 2019 22:29:01 +0000 (15:29 -0700)]
Add PAD operator to relay tflite frontend (#3310)

5 years ago[Relay][heterogeneous] Fix tuple annotation (#3311)
Zhi [Mon, 10 Jun 2019 22:02:41 +0000 (15:02 -0700)]
[Relay][heterogeneous] Fix tuple annotation (#3311)

* [Relay][heterogeneous] Fix TupleGetItem

* retrigger ci

* retrigger ci

5 years ago[Autotvm] Support override (#3292)
hlu1 [Mon, 10 Jun 2019 21:33:11 +0000 (14:33 -0700)]
[Autotvm] Support override (#3292)

5 years agoSupport x86 dilation conv2d and improve multi-batch conv2d (#3308)
Yao Wang [Mon, 10 Jun 2019 20:08:28 +0000 (13:08 -0700)]
Support x86 dilation conv2d and improve multi-batch conv2d (#3308)

* Support x86 dilation conv2d and improve multi-batch conv2d

* Fix lint

5 years agoFix Error messages in tflite.py (#3320)
Alexander Pivovarov [Mon, 10 Jun 2019 18:34:52 +0000 (11:34 -0700)]
Fix Error messages in tflite.py (#3320)

5 years agoAdd all parameters to from_tensorflow docs (#3321)
Alexander Pivovarov [Mon, 10 Jun 2019 18:34:33 +0000 (11:34 -0700)]
Add all parameters to from_tensorflow docs (#3321)

5 years ago[CI] Fix shell script exit codes (#3329)
Marcus Shawcroft [Mon, 10 Jun 2019 18:01:58 +0000 (19:01 +0100)]
[CI] Fix shell script exit codes (#3329)

The exist code of a posix compilant shell is 0..255.  Attempting to
return -1 will error in some shells and implicitly cast to 255 in
others.  Fix it by returning a legal return value.

5 years agoDrop trailing whitespace (#3331)
Marcus Shawcroft [Mon, 10 Jun 2019 18:01:10 +0000 (19:01 +0100)]
Drop trailing whitespace (#3331)

5 years ago[DOC] minor gramatical improvements to tensor_expr_get_started (#3330)
Marcus Shawcroft [Mon, 10 Jun 2019 16:24:22 +0000 (17:24 +0100)]
[DOC] minor gramatical improvements to tensor_expr_get_started (#3330)

5 years agoadd another default location to verilator (#3324)
Luis Vega [Sun, 9 Jun 2019 23:41:22 +0000 (16:41 -0700)]
add another default location to verilator (#3324)

5 years agoAdd MUL operator to relay tflite frontend (#3304)
Alexander Pivovarov [Sun, 9 Jun 2019 23:24:11 +0000 (16:24 -0700)]
Add MUL operator to relay tflite frontend (#3304)

5 years agoImprove non_max_suppression and get_valid_counts for CPU (#3305)
Yao Wang [Sun, 9 Jun 2019 20:34:56 +0000 (13:34 -0700)]
Improve non_max_suppression and get_valid_counts for CPU (#3305)

* Improve non_max_suppression for CPU

* Improve get_valid_counts

* Minor change

* Skip some unnecessary computes

5 years ago[Rust] Static syslib (#3274)
Nick Hynes [Sun, 9 Jun 2019 03:56:58 +0000 (20:56 -0700)]
[Rust] Static syslib (#3274)

5 years ago[VTA] [APPS] [TSIM] update documentation (README) (#3318)
Luis Vega [Sat, 8 Jun 2019 22:00:31 +0000 (15:00 -0700)]
[VTA] [APPS] [TSIM] update documentation (README) (#3318)

* update README

* update README

* update README

* update README

* fix typo

5 years agoMake the behavior of data nullptr check of pooling layer same as others. (#3322)
Ligeng Zhu [Sat, 8 Jun 2019 16:17:29 +0000 (12:17 -0400)]
Make the behavior of data nullptr check of pooling layer same as others. (#3322)

5 years ago[PASS][RELAY] polish pass infra (#3319)
Tianqi Chen [Fri, 7 Jun 2019 21:38:57 +0000 (14:38 -0700)]
[PASS][RELAY] polish pass infra (#3319)

5 years ago[CI] Ensure rat ignores rust cargo lock files [CI] Ensure rat ignores emacs backup...
Marcus Shawcroft [Fri, 7 Jun 2019 19:52:00 +0000 (20:52 +0100)]
[CI] Ensure rat ignores rust cargo lock files [CI] Ensure rat ignores emacs backup files [CI] Ensure rat ignores .egg-info (#3314)

5 years ago[DOC] minor language use improvements (#3317)
Marcus Shawcroft [Fri, 7 Jun 2019 19:51:14 +0000 (20:51 +0100)]
[DOC] minor language use improvements (#3317)

5 years ago[LINT] Improve robustness in task_lint.sh logic (#3315)
Marcus Shawcroft [Fri, 7 Jun 2019 16:07:36 +0000 (17:07 +0100)]
[LINT] Improve robustness in task_lint.sh logic (#3315)

The existing RAT ASF license auditing logic ignores any failure in the
shell pipeline rather than just the exit code of the final grep.
Adjust the logic such that failure of the various tools in the
pipeline are not elided away.

5 years ago[DOC] Capitalize TVM consistently (#3316)
Marcus Shawcroft [Fri, 7 Jun 2019 16:07:03 +0000 (17:07 +0100)]
[DOC] Capitalize TVM consistently (#3316)

5 years agoFix some typos in api docs (#3309)
Alexander Pivovarov [Fri, 7 Jun 2019 07:01:01 +0000 (00:01 -0700)]
Fix some typos in api docs (#3309)

5 years ago[VTA] add doc to tsim-example driver and update verilator env variable (#3302)
Luis Vega [Fri, 7 Jun 2019 06:52:07 +0000 (23:52 -0700)]
[VTA] add doc to tsim-example driver and update verilator env variable (#3302)

* add documentation and check for extension

* add env variable for verilator include

* fix typo

* this will test if path exist otherwise it won't buid

* check if verilator path and binary is set properly

* add ?

* remove export

* no longer needed

5 years agoMinor improve to assertion (#3295)
Pedro Larroy [Thu, 6 Jun 2019 22:14:11 +0000 (15:14 -0700)]
Minor improve to assertion (#3295)

5 years agoFix x86 depthwise conv2d alter_op_layout (#3264)
Yao Wang [Thu, 6 Jun 2019 18:41:50 +0000 (11:41 -0700)]
Fix x86 depthwise conv2d alter_op_layout (#3264)

* Fix x86 depthwise conv2d alter_op_layout

* Small fix

* Add test case

* Fix test

* Assert kernel layout

* Minor fix

* Add get_shape function

* Minor change

5 years ago[Relay][Frontend] Simplify parameter handling in Tensorflow frontend (#2993)
Alexey Romanov [Thu, 6 Jun 2019 18:00:19 +0000 (21:00 +0300)]
[Relay][Frontend] Simplify parameter handling in Tensorflow frontend (#2993)

5 years ago[VTA] [APPS] [TSIM] small naming fix (#3293)
Luis Vega [Thu, 6 Jun 2019 05:03:12 +0000 (22:03 -0700)]
[VTA] [APPS] [TSIM] small naming fix  (#3293)

* make off lowercase

* update README

5 years agoImprove x86 roi align (#3296)
Yao Wang [Thu, 6 Jun 2019 04:42:20 +0000 (21:42 -0700)]
Improve x86 roi align (#3296)

* Improve roi_align performance for x86

* Change test

5 years agoGhost nodes in NNVM graph (#3290)
Przemyslaw Tredak [Wed, 5 Jun 2019 23:27:16 +0000 (16:27 -0700)]
Ghost nodes in NNVM graph (#3290)

5 years agofast tanh (#3255)
hlu1 [Wed, 5 Jun 2019 23:23:11 +0000 (16:23 -0700)]
fast tanh (#3255)

5 years agoAdd support for overloading comparison operations in relay (#2910) (#3168)
Ramana Radhakrishnan [Wed, 5 Jun 2019 17:19:13 +0000 (18:19 +0100)]
Add support for overloading comparison operations in relay (#2910) (#3168)

5 years ago[VTA] [Hardware] Chisel implementation (#3258)
Luis Vega [Wed, 5 Jun 2019 17:17:11 +0000 (10:17 -0700)]
[VTA] [Hardware] Chisel implementation (#3258)

5 years agoMore fixes and tweaks to the cuda conda packages (#3281)
abergeron [Wed, 5 Jun 2019 17:14:12 +0000 (13:14 -0400)]
More fixes and tweaks to the cuda conda packages (#3281)

5 years agoImprove error message for custom tflite operators (#3284)
Alexander Pivovarov [Wed, 5 Jun 2019 16:29:43 +0000 (09:29 -0700)]
Improve error message for custom tflite operators (#3284)

5 years ago[Relay][VM] Fix code generation for packed functions + tuples (#3287)
Jared Roesch [Wed, 5 Jun 2019 16:28:52 +0000 (09:28 -0700)]
[Relay][VM] Fix code generation for packed functions + tuples  (#3287)

5 years ago[IR] Try to improve nms and get_valid_count (#3282)
Leyuan Wang [Wed, 5 Jun 2019 03:32:31 +0000 (20:32 -0700)]
[IR] Try to improve nms and get_valid_count (#3282)

* improve nms

* add back get_valid_count syncs

5 years ago[LANG] Comparison operators support for Imm expressions (#3283)
ziheng [Tue, 4 Jun 2019 23:56:38 +0000 (16:56 -0700)]
[LANG] Comparison operators support for Imm expressions (#3283)

5 years ago[Relay/TOPI][Op] Add TopK operator (#3256)
Haichen Shen [Tue, 4 Jun 2019 23:29:56 +0000 (16:29 -0700)]
[Relay/TOPI][Op] Add TopK operator (#3256)

* init impl for topk

* Fix cpu for topk

* init cuda impl for topk

* Add cuda for topk

* fix

* Add doc

* update doc

* lint

* lint

* lint

* x

* fix warning

* [Relay] Add TopK in tf converter

* Add frontend converter

* fix

5 years ago[Relay][Docs] Add parser dependency install instructions. (#3277)
Josh Pollock [Tue, 4 Jun 2019 20:28:36 +0000 (13:28 -0700)]
[Relay][Docs] Add parser dependency install instructions. (#3277)

* [Relay][Docs] Add parser dependency install instructions.

See https://discuss.tvm.ai/t/trouble-enabling-antlr/2783.

* Add a word.

* Update since the parser will now be committed to the repo.

* revert b/c adding the parser doesn't fix this

5 years ago[Bugfix] [VTA] VTA DRAM Have A Logic Issue May Cause GEMM Output Wrong. (#3278)
Hua [Tue, 4 Jun 2019 16:47:29 +0000 (09:47 -0700)]
[Bugfix] [VTA] VTA DRAM Have A Logic Issue May Cause GEMM Output Wrong. (#3278)

* [Bugfix] [VTA] VTA DRAM Have A Logic Issue May Cause GEMM Output Wrong.

Symptom:
after change “LOG_BLOCK_IN” and “LOG_BLOCK_OUT” from vta_config.json
into 7, run vta "Simple Matrix Multiply" in "simulator", the vta
calculate result for GEMM is wrong.

Sometime VTA crash with error “Check failed: phy_addr != 0 (0 vs. 0) :
trying to get address that is nullptr”

Analysis:
Simulator hardcode kPageSize into 1<<12 and physical address calculate
based on this size, when doing “insn->dram_base” calculation , because
GetElemBytes(dst_memory_type) larger than page size, different physcial
address may get same dram_base, than caused logic issue and finally
trigger GEMM out put is wrong.

Solution:
add logic to check if PAGE SIZE larger then "GetElemBytes" return value.

* address review comments.

5 years agoBump ONNX version (#3286)
Jared Roesch [Tue, 4 Jun 2019 15:42:47 +0000 (08:42 -0700)]
Bump ONNX version (#3286)

5 years ago[ARITH] Bugfix: int bound analysis for mod (#3288)
Sergei Grechanik [Tue, 4 Jun 2019 15:42:27 +0000 (18:42 +0300)]
[ARITH] Bugfix: int bound analysis for mod (#3288)

5 years ago[RELAY][TRANSFORM] Migrate buildmodule to transform (#3251)
Zhi [Mon, 3 Jun 2019 17:40:38 +0000 (10:40 -0700)]
[RELAY][TRANSFORM] Migrate buildmodule to transform (#3251)

5 years ago[ARITH] Bugfix: check arg positiveness for mod rules (#3279)
Sergei Grechanik [Mon, 3 Jun 2019 15:52:31 +0000 (18:52 +0300)]
[ARITH] Bugfix: check arg positiveness for mod rules (#3279)

5 years agoUpdate tflite tutorial to use TFLite r1.13 schema (#3271)
Alexander Pivovarov [Sat, 1 Jun 2019 18:16:16 +0000 (11:16 -0700)]
Update tflite tutorial to use TFLite r1.13 schema (#3271)

5 years ago[relay][heterogeneous] annotate using visitor (#3261)
Zhi [Sat, 1 Jun 2019 07:53:18 +0000 (00:53 -0700)]
[relay][heterogeneous] annotate using visitor (#3261)

* annotate using visitor

* retrigger CI

5 years ago[Bugfix][VTA] PkgConfig cause crash in PYNQ board due to link library (#3257)
Hua [Sat, 1 Jun 2019 02:42:15 +0000 (19:42 -0700)]
[Bugfix][VTA] PkgConfig cause crash in PYNQ board due to link library (#3257)

* [Bugfix][VTA] PkgConfig cause crash in PYNQ board due to link library
not exist.

Symptom:
When run vta_get_started.py with pynq board, host crash and
complain "cannot find -lsds_lib" and "cannot find -l:libdma.so"

Reproduce:
At pynq board, delete the ./build/vta_config.json, then run rpc
server.
In host machine run vta_get_started.py, issue would reproduce.

Analysis:
This issue caused by 'PkgConfig' function  still using pynq2.1
library which not exist in pynq2.4 anymore, when a "reconfig_runtime"
logic of rpc_server.py get triggered , the compile would failed due to
link library not exist.

Solution:
change the link library to libcma.so.

* [Document Change][VTA] Change pynq version from 2.3 into 2.4.

Issue:
pynq 2.3 image not available anymore from pynq download page and pynq
2.4 is the current latest image which available in the said website, after
verification, currently VTA work good with pynq 2.4 image, hence update
related document from pynq 2.3 to 2.4.

5 years agoEnable uTVM in Jenkinsfile (#3269)
Logan Weber [Fri, 31 May 2019 19:21:36 +0000 (12:21 -0700)]
Enable uTVM in Jenkinsfile (#3269)

5 years ago[Relay][Hashing] Structural hash - incorporate the var type into its hash (#3267)
Animesh Jain [Fri, 31 May 2019 08:29:54 +0000 (01:29 -0700)]
[Relay][Hashing] Structural hash - incorporate the var type into its hash (#3267)

Currently, the BindVar function does not take Var type into account. This causes
two same graph structures with different var shapes to have same hash.
Structural hash is used for keeping track of which operators we have
already compiled. Because of this, two operators with different shapes end up
pointing to same compiled code. The failure is encountered at runtime, where the
expected input shape asserts are not met.

5 years agoJekyll (#3262)
Tianqi Chen [Fri, 31 May 2019 04:32:33 +0000 (21:32 -0700)]
Jekyll (#3262)

5 years ago[Bugfix] Fix a memory leak in OpManager (#3263)
hlu1 [Fri, 31 May 2019 04:11:25 +0000 (21:11 -0700)]
[Bugfix] Fix a memory leak in OpManager (#3263)

5 years ago[Relay] Handle float16 constants & fix BatchNorm (#3260)
Balint Cristian [Fri, 31 May 2019 02:12:56 +0000 (05:12 +0300)]
[Relay] Handle float16 constants & fix BatchNorm (#3260)

5 years ago[AutoTVM]Core functionality for Graph tuner (#2184)
Yao Wang [Wed, 29 May 2019 23:36:05 +0000 (16:36 -0700)]
[AutoTVM]Core functionality for Graph tuner (#2184)

* Add graph tuning

* Add tests

* Fix tests

* Fix pylint

* Small fix for docstring

* Minor fix

* Support fetching workload from relay expr

* Simplify benchmark layout transformation

* Add relay support

* Fix infer layout func name

* Refactor internal data representation

* Fix issues

* Add PBQP solver

* Fix layout transform check

* Add PBQPTuner test

* Fix lint

* Update tutorial

* Fix tutorial

* Fix lint

* Add relay test

* Remove nnvm since nnvm graph can be converted to relay function

* Modify benchmark layout wrt new layout_transform api

* Fix lint

* Update docstring for DP tuner

* Refactor traverse graph

* Support graph tuning for multiple target operators

* Fix fetching workloads

* Add x86 depthwise_conv2d infer_layout

* Fix x86 depthwise_conv2d autotvm

* Fix PBQP tuner

* Fix DP tuner

* Generate dummy layout transform record

* Update tutorial

* Modify layout records name

* Add ASF header

* Add ASF header for testing files

* Fix test

* Fix topi fetching

* Some refactors

* Fix lint

* Fix tutorial

* Rename test files

* Fix doc typo

* Add test case note link

5 years ago[BugFix][VTA] Fix vta_conv2d crash issue after change vta_config.json configuration...
Hua [Wed, 29 May 2019 17:32:47 +0000 (10:32 -0700)]
[BugFix][VTA] Fix vta_conv2d crash issue after change vta_config.json configuration. (#3213)

Issue:
Once change LOG_BLOCK_IN or LOG_BLOCK_OUT into > 4 value, when run vta
“Simple Matrix Multiply” or load vta, vta would crash at vta_conv2d.py.

Analysis:
This issue caused by resnet18 logic of vta_conv2d.py which have
in_filter minmum size that is 16. > 4 value would cause such in_filter
check failed then make xfer_size be empty and find_schedules function
return a empty list finally cause crash.

Solution:
add the empty list check.

5 years ago[C++] Cleanup transform API nits (#3253)
Tianqi Chen [Wed, 29 May 2019 01:12:17 +0000 (18:12 -0700)]
[C++] Cleanup transform API nits (#3253)

5 years ago[TOPI] Fix resize nearest with fractional scaling (#3244)
masahi [Tue, 28 May 2019 22:20:58 +0000 (07:20 +0900)]
[TOPI] Fix resize nearest with fractional scaling (#3244)

5 years ago[RUST] Rust DSO module (#2976)
Nick Hynes [Tue, 28 May 2019 22:20:18 +0000 (15:20 -0700)]
[RUST] Rust DSO module (#2976)

5 years agoTypo: Tensorflow --> TensorFlow (#3249)
Gus Smith [Tue, 28 May 2019 20:35:25 +0000 (13:35 -0700)]
Typo: Tensorflow --> TensorFlow (#3249)

5 years agokCustomBegin overlapped with kExtEnd; incr by 1 (#3250)
Gus Smith [Tue, 28 May 2019 20:35:09 +0000 (13:35 -0700)]
kCustomBegin overlapped with kExtEnd; incr by 1 (#3250)

This was a typo in the original custom datatypes PR.

5 years agoMove CombineParallelConv2D to opt level 4 (#3248)
Wuwei Lin [Tue, 28 May 2019 18:02:48 +0000 (02:02 +0800)]
Move CombineParallelConv2D to opt level 4 (#3248)

5 years ago[VTA][TSIM] Use Module instead of RawModule for testbench by creating an empty bundle...
Luis Vega [Tue, 28 May 2019 04:29:55 +0000 (21:29 -0700)]
[VTA][TSIM] Use Module instead of RawModule for testbench by creating an empty bundle for the IO (#3242)

* use Module instead of RawModule for testbench by creating an empty bundle for the IO

* change default back to verilog

5 years ago[Doc][Relay] Add VM doc (#3188)
Wei Chen [Mon, 27 May 2019 22:24:54 +0000 (06:24 +0800)]
[Doc][Relay] Add VM doc (#3188)

* [Doc][Relay] Add VM doc

* Add Apache header

* Apply suggestions from code review

Co-Authored-By: Steven S. Lyubomirsky <slyubomirsky@gmail.com>
Co-Authored-By: 雾雨魔理沙 <lolisa@marisa.moe>
Co-Authored-By: Logan Weber <36520469+weberlo@users.noreply.github.com>
Co-Authored-By: Zhi <5145158+zhiics@users.noreply.github.com>
* Junru's comment

* More fix

* More fix

* More fix

* last fix

* Apply suggestions from code review

Co-Authored-By: 雾雨魔理沙 <lolisa@marisa.moe>
* Apply suggestions from code review

Co-Authored-By: Logan Weber <36520469+weberlo@users.noreply.github.com>
* Add code links

* Remove unused bp

* Update docs/dev/virtual_machine.rst

Co-Authored-By: Logan Weber <36520469+weberlo@users.noreply.github.com>
* Explain TODO

* Yong's comment

Co-Authored-By: Yong Wu <55wuyong@163.com>
* Comment

5 years ago[ARITH] Improve div/mod in rewrite simplifier (#3149)
Sergei Grechanik [Mon, 27 May 2019 16:33:13 +0000 (19:33 +0300)]
[ARITH] Improve div/mod in rewrite simplifier (#3149)

* [ARITH] Improve div/mod in rewrite simplifier

* Fix lint error

* Fuller file name in src/arithmetic/modular_set.h

Co-Authored-By: Wei Chen <ipondering.weic@gmail.com>
* Generalize some rules

* Replace gcd factoring with specialized rules

* Mark rules that don't work for non-truncated division

* More tests

5 years ago[Relay][Frontend] Add Crop op converter (#3241)
Haichen Shen [Sun, 26 May 2019 00:40:02 +0000 (17:40 -0700)]
[Relay][Frontend] Add Crop op converter (#3241)

* Add Crop op converter

* lint

* x

5 years agoFixed a typo (#3218)
Gemfield [Sat, 25 May 2019 00:48:58 +0000 (08:48 +0800)]
Fixed a typo (#3218)

* Fixed a typo

* Remove outdated url link.

5 years ago[Relay] Start porting pass to the pass manager (#3191)
雾雨魔理沙 [Fri, 24 May 2019 23:43:03 +0000 (16:43 -0700)]
[Relay] Start porting pass to the pass manager (#3191)

5 years ago[Relay] remove unneeded VisitExpr (#3239)
雾雨魔理沙 [Fri, 24 May 2019 23:42:29 +0000 (16:42 -0700)]
[Relay] remove unneeded VisitExpr (#3239)

5 years ago[RELAY]Frontend darknet (#2773)
Siju [Fri, 24 May 2019 21:38:08 +0000 (03:08 +0530)]
[RELAY]Frontend darknet (#2773)

* [RELAY]Frontend darknet

* CI test file updated & CI error fixed

* avg_pool pad fix

* Changed repo_url and doc formatting