Alexander Pivovarov [Thu, 27 Jun 2019 16:37:51 +0000 (06:37 -1000)]
Add mod supoort in relay.build (#3424)
cclauss [Thu, 27 Jun 2019 16:36:53 +0000 (18:36 +0200)]
Undefined name: Typo in variable name sotrage_order --> storage_order (#3439)
Discovered via: __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
Li [Thu, 27 Jun 2019 16:36:10 +0000 (09:36 -0700)]
Fix Windows build (#3429)
Lianmin Zheng [Thu, 27 Jun 2019 08:40:25 +0000 (16:40 +0800)]
[AutoTVM] Fix a bug in simulated annealing (#3413)
* [AutoTVM] Fix a bug in simulated annealing
* Update sa_model_optimizer.py
Yong Wu [Tue, 25 Jun 2019 08:38:55 +0000 (01:38 -0700)]
[Relay] Add ResizeNearestNeighbor and CropAndResize in tf converter (#3393)
Hua Jiang [Tue, 25 Jun 2019 07:26:47 +0000 (00:26 -0700)]
[VTA] Add VTA PYNQ metal_test bitstream program logic and fix compile issue. (#3400)
* [VTA] Add VTA PYNQ metal_test bitstream program logic and fix couple compile issue.
Issue:
VTAProgram not exist and cause compile error.
No logic to program the bitstream into FPGA.
metal test still use pynq 2.1 library which not support on latest
pynq 2.4.
Solution:
remove old VTAProgram.
when setting is pynq, program the bitstream during compile.
change DMA link library to libcma.
* Address review commends.
Andrew Tulloch [Tue, 25 Jun 2019 04:06:20 +0000 (21:06 -0700)]
[Runtime] Allow for parameter sharing in GraphRuntime (#3384)
Summary:
In multi-threaded applications where we have multiple inferences on the
same model in parallel (consider e.g. a TTS system handling multiple
requests), it can be useful to share the parameters of a model amongst
these multiple instances. This improves the cache utilization behaviour
of the system, as multiple cores can use the same set of weights instead
of evicting the identical copies of weights in a shared cache.
As the underlying `NDArray` instances in `data_entry_` implement a
ref-counted based sharing system, this is a simple modification of the
`GraphRuntime::LoadParams` logic to instead copy parameters from an
existing GraphRuntime instance. This is a little ugly in that we need
both the pre-existing GraphRuntime instance, as well as the 'serialized'
params (since we need to know the set of names we should copy), but
without imposing additional assumptions (i.e. storing the set of param
names in GraphRuntime, and enforcing that shared param names are
identical to the parameters set in the preceding `LoadParams` call),
this seems unavoidable.
Test Plan:
Unit test added.
Sammy [Tue, 25 Jun 2019 03:55:55 +0000 (23:55 -0400)]
Fixing package path in tflite test (#3427)
雾雨魔理沙 [Mon, 24 Jun 2019 04:40:14 +0000 (21:40 -0700)]
fix (#3417)
Alexander Pivovarov [Mon, 24 Jun 2019 03:39:43 +0000 (17:39 -1000)]
Add Reduce operators to TFLite (#3421)
Haichen Shen [Sun, 23 Jun 2019 01:36:07 +0000 (18:36 -0700)]
[Frontend][MxNet] Support bidirectional RNN layer (#3397)
* Support bidirectional RNN layer
* tweak
* tweak
雾雨魔理沙 [Sat, 22 Jun 2019 23:32:50 +0000 (16:32 -0700)]
Add nix to gitignore (#3418)
ziheng [Sat, 22 Jun 2019 21:59:41 +0000 (14:59 -0700)]
[QUANTIZE] Memorizing the quantize node mapping (#3233)
* [QUANTIZE] Support for clip operator
* [QUANTIZE] Memorizing the quantize node mapping.
* [QUANTIZE] Remove use_stop_fusion and skip_k_conv in qconfig
* update
* update
* update
* update
Wei Chen [Sat, 22 Jun 2019 21:17:29 +0000 (14:17 -0700)]
Fix global var in prelude (#3405)
Wei Chen [Sat, 22 Jun 2019 21:16:58 +0000 (14:16 -0700)]
Create closure object for GlobalVar (#3411)
Jessica Davies [Sat, 22 Jun 2019 04:22:54 +0000 (00:22 -0400)]
Extend TensorComputeOp to allow scalar inputs (#2606). (#3300)
Luis Vega [Fri, 21 Jun 2019 18:45:16 +0000 (11:45 -0700)]
[VTA] [APPS] Update README on tsim example (#3409)
* update README
* fix typo
Lianmin Zheng [Fri, 21 Jun 2019 17:58:30 +0000 (01:58 +0800)]
[Community] @joshpoll -> Reviewer (#3412)
Wei Chen [Thu, 20 Jun 2019 20:41:41 +0000 (13:41 -0700)]
Add EtaExpand to transform API (#3406)
* Add EtaExpand to transform API
* Add test case
henrywu2019 [Thu, 20 Jun 2019 16:55:46 +0000 (12:55 -0400)]
to fix issue Target llvm is not enabled[followup] (#3404)
Wuwei Lin [Thu, 20 Jun 2019 07:25:37 +0000 (15:25 +0800)]
[Relay] Fix name conflict in PartialEval (#3402)
Zhi [Thu, 20 Jun 2019 03:29:12 +0000 (20:29 -0700)]
return mod from frontend for autotvm (#3401)
Hua Jiang [Thu, 20 Jun 2019 03:23:50 +0000 (20:23 -0700)]
[VTA] Fix VTA function Vivado Compile Error. (#3375)
Issue:
when using vivado compile vta.cc with top function 'vta', vivado
report deadlock error like '...with default size is used in a non -dataflow
region, which may result in deadlock Please consider to resize the
stream using the directive ‘set_directive_stream’ or the ‘HL S stream’
pragma.'
Solution:
give the queue a default size as 8.
hlu1 [Wed, 19 Jun 2019 16:51:42 +0000 (09:51 -0700)]
[Bugfix] Missing headers (#3392)
zhengdi [Wed, 19 Jun 2019 12:57:38 +0000 (20:57 +0800)]
[TEST][TENSORFLOW] clean up code (#3342)
Tianqi Chen [Tue, 18 Jun 2019 19:56:59 +0000 (12:56 -0700)]
[CI] Update ci-gpu to v0.52 (#3374)
* [CI] Update ci-gpu to v0.52
* update nodejs
Alexander Pivovarov [Tue, 18 Jun 2019 06:03:27 +0000 (23:03 -0700)]
Add RESIZE operators to realy TFLite frontend (#3370)
Tianqi Chen [Tue, 18 Jun 2019 04:51:33 +0000 (21:51 -0700)]
[ARITH] Bugfix min/max const canonicalize rule (#3386)
Zhi [Tue, 18 Jun 2019 04:51:24 +0000 (21:51 -0700)]
hotfix for onnx (#3387)
Tianqi Chen [Mon, 17 Jun 2019 23:27:53 +0000 (16:27 -0700)]
Revert "[Relay][Frontend][ONNX] Fix reshape precompute, and type error (#3230)" (#3385)
This reverts commit
df6957a5ea49806b3073bbb81e339ae379cbbb1c.
Alexander Pivovarov [Mon, 17 Jun 2019 19:36:31 +0000 (12:36 -0700)]
TFLite: Add fused_activation_function for ADD, SUB, MUL, DIV (#3372)
Jared Roesch [Mon, 17 Jun 2019 16:58:45 +0000 (09:58 -0700)]
[Relay][Frontend][ONNX] Fix reshape precompute, and type error (#3230)
Howave [Mon, 17 Jun 2019 16:56:58 +0000 (00:56 +0800)]
[nnvm] fix nnvm compiler build module error (#3378)
Wuwei Lin [Mon, 17 Jun 2019 16:56:10 +0000 (00:56 +0800)]
[Relay][Pass] CanonicalizeCast (#3280)
Zhi [Mon, 17 Jun 2019 16:55:08 +0000 (09:55 -0700)]
[relay][frontend] Return module from frontend parsers (#3353)
Tianqi Chen [Mon, 17 Jun 2019 16:54:48 +0000 (09:54 -0700)]
[RELAY][PASS] Enable decorating python class as Pass (#3364)
Sheng Zha [Mon, 17 Jun 2019 16:52:31 +0000 (09:52 -0700)]
add favicon in rtd (#3379)
雾雨魔理沙 [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
Alexander Pivovarov [Sat, 15 Jun 2019 04:34:37 +0000 (21:34 -0700)]
Fix typo in word explicitly (#3376)
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
Alexander Pivovarov [Fri, 14 Jun 2019 20:34:17 +0000 (13:34 -0700)]
Add test_forward_ssd_mobilenet_v1 to tflite/test_forward (#3350)
Tianqi Chen [Fri, 14 Jun 2019 17:30:46 +0000 (10:30 -0700)]
[BUILD] Enable more visible symbols by default (#3365)
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)
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
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
Marcelo Duarte Trevisani [Thu, 13 Jun 2019 22:03:49 +0000 (23:03 +0100)]
Update CMakeLists.txt to be more flexible (#3354)
Hua [Thu, 13 Jun 2019 22:01:42 +0000 (15:01 -0700)]
[Relay] tflite frontend, keep underline with comments in same length. (#3363)
Tianqi Chen [Thu, 13 Jun 2019 20:09:58 +0000 (13:09 -0700)]
[ARITH] Revamp IntSet (#3272)
Yong Wu [Thu, 13 Jun 2019 20:08:48 +0000 (13:08 -0700)]
[Relay][Frontend] Add a bunch of ops in tf converter (#3270)
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)
Steven S. Lyubomirsky [Thu, 13 Jun 2019 16:02:26 +0000 (09:02 -0700)]
[Relay] Check match expressions for completeness (#3203)
Zhi [Thu, 13 Jun 2019 15:57:43 +0000 (08:57 -0700)]
[Relay][Transform] quantize opt passes to pass manager (#3289)
Alexander Pivovarov [Thu, 13 Jun 2019 15:52:25 +0000 (08:52 -0700)]
Update tflite schema version to 1.13 (#3356)
Yizhi Liu [Thu, 13 Jun 2019 15:51:58 +0000 (08:51 -0700)]
[Team] Jian Weng -> Committer (#3359)
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
Yong Wu [Wed, 12 Jun 2019 21:56:18 +0000 (14:56 -0700)]
[Relay] add ClipByValue and Neg in tf frontend converter (#3211)
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)
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
Marcus Shawcroft [Wed, 12 Jun 2019 04:22:48 +0000 (05:22 +0100)]
[DOC] clarfiy explanation (#3340)
Marcus Shawcroft [Wed, 12 Jun 2019 04:22:22 +0000 (05:22 +0100)]
[DOC] minor grammatical improvements (#3341)
Leyuan Wang [Wed, 12 Jun 2019 04:10:51 +0000 (21:10 -0700)]
Non_maximum_suppression and get_valid_counts add new parameters (#3335)
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
hlu1 [Tue, 11 Jun 2019 23:32:12 +0000 (16:32 -0700)]
[Topi] Fast mode in take op (#3325)
Tianqi Chen [Tue, 11 Jun 2019 17:55:37 +0000 (10:55 -0700)]
[CI] separate out legacy as a stage (#3337)
Tianqi Chen [Tue, 11 Jun 2019 17:55:24 +0000 (10:55 -0700)]
[RELAY] Pass infra cleanup (#3336)
Marcus Shawcroft [Tue, 11 Jun 2019 17:54:04 +0000 (18:54 +0100)]
[CI] Clarify RAT exclude patterns. (#3328)
Alexander Pivovarov [Tue, 11 Jun 2019 04:26:15 +0000 (21:26 -0700)]
Add LOGISTIC operator to relay tflite frontend (#3313)
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
Zhi [Tue, 11 Jun 2019 00:47:31 +0000 (17:47 -0700)]
[relay][vm] move vm opt passes to pass manager (#3323)
Alexander Pivovarov [Mon, 10 Jun 2019 22:29:01 +0000 (15:29 -0700)]
Add PAD operator to relay tflite frontend (#3310)
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
hlu1 [Mon, 10 Jun 2019 21:33:11 +0000 (14:33 -0700)]
[Autotvm] Support override (#3292)
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
Alexander Pivovarov [Mon, 10 Jun 2019 18:34:52 +0000 (11:34 -0700)]
Fix Error messages in tflite.py (#3320)
Alexander Pivovarov [Mon, 10 Jun 2019 18:34:33 +0000 (11:34 -0700)]
Add all parameters to from_tensorflow docs (#3321)
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.
Marcus Shawcroft [Mon, 10 Jun 2019 18:01:10 +0000 (19:01 +0100)]
Drop trailing whitespace (#3331)
Marcus Shawcroft [Mon, 10 Jun 2019 16:24:22 +0000 (17:24 +0100)]
[DOC] minor gramatical improvements to tensor_expr_get_started (#3330)
Luis Vega [Sun, 9 Jun 2019 23:41:22 +0000 (16:41 -0700)]
add another default location to verilator (#3324)
Alexander Pivovarov [Sun, 9 Jun 2019 23:24:11 +0000 (16:24 -0700)]
Add MUL operator to relay tflite frontend (#3304)
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
Nick Hynes [Sun, 9 Jun 2019 03:56:58 +0000 (20:56 -0700)]
[Rust] Static syslib (#3274)
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
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)
Tianqi Chen [Fri, 7 Jun 2019 21:38:57 +0000 (14:38 -0700)]
[PASS][RELAY] polish pass infra (#3319)
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)
Marcus Shawcroft [Fri, 7 Jun 2019 19:51:14 +0000 (20:51 +0100)]
[DOC] minor language use improvements (#3317)
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.
Marcus Shawcroft [Fri, 7 Jun 2019 16:07:03 +0000 (17:07 +0100)]
[DOC] Capitalize TVM consistently (#3316)
Alexander Pivovarov [Fri, 7 Jun 2019 07:01:01 +0000 (00:01 -0700)]
Fix some typos in api docs (#3309)
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
Pedro Larroy [Thu, 6 Jun 2019 22:14:11 +0000 (15:14 -0700)]
Minor improve to assertion (#3295)
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
Alexey Romanov [Thu, 6 Jun 2019 18:00:19 +0000 (21:00 +0300)]
[Relay][Frontend] Simplify parameter handling in Tensorflow frontend (#2993)
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
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
Przemyslaw Tredak [Wed, 5 Jun 2019 23:27:16 +0000 (16:27 -0700)]
Ghost nodes in NNVM graph (#3290)
hlu1 [Wed, 5 Jun 2019 23:23:11 +0000 (16:23 -0700)]
fast tanh (#3255)
Ramana Radhakrishnan [Wed, 5 Jun 2019 17:19:13 +0000 (18:19 +0100)]
Add support for overloading comparison operations in relay (#2910) (#3168)
Luis Vega [Wed, 5 Jun 2019 17:17:11 +0000 (10:17 -0700)]
[VTA] [Hardware] Chisel implementation (#3258)