Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Thierry Moreau 028f47ce65 [VTA][Relay] Extending Vision model coverage compilation for VTA (#3740)
* adding support for graphpack over multiply op

* increasing resnet model coverage

* fix indentation

* lint

* moving recursion limit fix into graphpack pass

* moving recursionlimit to relay init

* pooling on NCHWnc format

* adding more models

* deploy_resnet_on_vta.py

* trailing line

* generalizing to vision models

* merge conflicts

* fix, apply quantization to VTA only

* improving comments

* trimming models that have runtime issues for the moment

* lint

* lint

* lint
2019-09-05 11:17:09 -07:00
Thierry Moreau 6c7f0c4d08 [VTA] Support for batched inference (#3661)
* fix in IR pass to support padding on 6-d tensors

* support for both N>1 and N==1 for padding

* batch size > 1 tuning and base config

* output formatting

* batch conv2d

* print all category results

* revert to single-batch config

* pick record best

* fix conv test

* improving reporting

* address batching bug in fast simulator

* fix
2019-07-30 14:01:31 -07:00
Thierry Moreau f55609b4a1 [VTA] Refactor to increase platform coverage (Ultra96 etc.) (#3496)
* hardware refactor for increased FPGA coverage, small optimizations

* fix header

* cleaning up parameters that won't be needed for now

* streamlining makefile, and simplifying tcl scripts

* moving parameter derivation into pkg_config.py, keeping tcl scripts lightweight

* refactoring tcl script to avoid global variables

* deriving AXI signals in pkg_config.py

* unifying address map definition for hardware and software drivers

* single channel design for ultra96 to simplify build

* enable alu by default, no mul opcode for now

* hardware fix

* new bitstream; vta version

* avoid error when env variable is not set

* ultra96 cleanup

* further cleaning up tcl script for bitstream generation

* preliminary rpc server support on ultra96

* rpc server tracker scripts

* ultra96 ldflag

* ultra96 support

* ultra96 support

* cleanup line

* cmake support for ultra96

* simplify memory instantiation

* cleaning up IP parameter initialization

* fix queue instantiation

* 2019.1 transition

* fix macro def

* removing bus width from config

* cleanup

* fix

* turning off testing for now

* cleanup ultra96 ps insantiation

* minor refactor

* adding comments

* upgrading to tophub v0.6

* model used in TVM target now refers to a specific version of VTA for better autoTVM scheduling

* revert change due to bug

* rename driver files to be for zynq-type devices

* streamlining address mapping

* unifying register map offset values between driver and hardware generator

* rely on cma library for cache flush/invalidation

* coherence management

* not make buffer packing depend on data types that can be wider than 64bits

* refactor config derivation to minimize free parameters

* fix environment/pkg config interaction

* adding cfg dump property to pkgconfig:

* fix rpc reconfig

* fix spacing

* cleanup

* fix spacing

* long line fix

* fix spacing and lint

* fix line length

* cmake fix

* environment fix

* renaming after pynq since the driver stack relies on the pynq library - see pynq.io

* update doc

* adding parameterization to  name

* space

* removing reg width

* vta RPC

* update doc on how to edit vta_config.json

* fix path

* fix path
2019-07-28 18:41:10 -07:00
Thierry Moreau 4c9729bf70 avoiding cast None to int errors (#3578) 2019-07-18 18:35:19 -07:00
Luis Vega a31dd16257 [VTA] TSIM improvements and fixes (#3505)
* add tsim init function

* add sim device

* test wait and resume

* launch simulation thread from DPILoader

* add VTASimDPI module to handle all simulation related stuff

* test tsim init

* move exit to simdpi module

* update vta driver

* add chisel DPI module

* get back simshell

* update vta to support dpi sim

* update unittests

* add tsim to integration-conv2d test

* run resnet on tsim

* remove max-cycles

* match tsim counters with sim counters

* use env in simulator to switch between sim and tsim

* update unittest

* rollback conv2d test

* update resnet

* add stats to matrix multiply

* add stats

* print stats after assert

* update other tests

* add stats to gemm

* add return and remove unused libs

* add missing arg

* return lib

* update comments for linter

* add more comments to VTASimDPI module

* remove trailing spaces

* remove trailing spaces
2019-07-07 23:47:48 -07:00
Zhi f35f22767d [relay][frontend] Return Module from get_workload (#3483)
* [relay][frontend] Return Module from get_workload

* pass entry_func to autotvm

* disable tune

* add property to module

* mod.entry_func to main

* .main -> mod["main"]

* fix
2019-07-05 21:23:27 -07:00
Thierry Moreau 882ae1267c producing simulation statistics instead of time to get useful information out of simulation runs (#3481) 2019-07-02 20:25:49 -07:00
Zhi e3d6074a5b Clean up pass.h (#3312) 2019-07-02 09:14:52 -07:00
Thierry Moreau 3818b2a250 [VTA][Relay] Relay Compilation + AutoTVM compatible operator libraries for VTA (#3135) 2019-06-28 09:28:20 -07:00
Tianqi Chen cffb4fba03
[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
2019-04-07 21:14:02 -07:00
MORITA Kazutaka 77718f8e11 [TUTORIAL] Fix downloaded file path (#2590) 2019-02-12 07:36:39 -08:00
Sergey Mironov 39c8bc2a3d [TOPI] Specify non-zero absolute tolerance in tests (#1925) 2018-10-20 22:06:45 -07:00
Tianqi Chen ce0d5144f0
Fix VTA Tutorial for more strict graphrt check (#1737) 2018-09-19 08:18:52 -07:00
Lianmin Zheng cfafd212c0 [AUTOTVM] Simplify TopHub (#1630) 2018-08-22 20:21:15 -07:00
Lianmin Zheng 32076df815 [AUTOTVM] TOPI integration for ARM CPU (#1487) 2018-08-02 08:59:25 -07:00
Thierry Moreau e806cd1511 [DOC, HARDWARE] Hardware developer guide, migrating to use Vivado 2018.2 (#1473) 2018-07-22 21:54:45 -07:00
tqchen e531d02288 [BUILD][DOCS] Migrate VTA CI, test, build, docs 2018-07-11 21:54:39 -07:00
Tianqi Chen bc41013028 [TOPI] Fix the CPU op perf (#56) 2018-07-11 21:54:39 -07:00
Thierry Moreau ffe1badd9d [TUTORIAL] Resnet-18 end to end tutorial example (#55) 2018-07-11 21:54:39 -07:00
Thierry Moreau 3ae9e15559 [DOC, TVM] ResNet tutorial, updated TVM (#51) 2018-07-11 21:54:39 -07:00
Thierry Moreau 4ba6bd50dd [UTILS, DOC] Use TVM file downloading utility, conv2d tutorial (#48) 2018-07-11 21:54:39 -07:00
Thierry Moreau d1128cedfb [DOC] VTA installation & basic tutorials (#47) 2018-07-11 21:54:39 -07:00
Tianqi Chen 395f4c36ad [TEST] CI infrastructure (#30) 2018-07-11 21:54:39 -07:00
Tianqi Chen 0979e9aaf5 [DOCS] Initial docs (#4)
* [DOCS] Initial docs

* update instruction
2018-07-11 21:54:39 -07:00