- 10 Jul, 2019 2 commits
-
-
Tianqi Chen committed
-
* First pass at Relay-to-Python converter testing utility * Indicate astor as a dependency * Add astor dep to host as well * Typos and small bugs * Handle ADTs and matching in Python conversion * Remove any dependency on ast.parse * Eliminate unnecessary type var field in Python version of ConstructorValue (already gone on C++ side) * Update constructor value, fix syntax errors * Don't forget keywords arg on Call nodes * Fix some incorrect calls to ast nodes * Fix more calls, a little more cleaning up * Missing cases in attr conversion * Lower op calls instead of running them through interpreter, as in @MarisaKirisame's AoT compiler * We do still need the module * Remove changes to op attrs: Will PR separately * Smoke test and corrections * More tests and fixes * Ensure imports are properly global in generated Python code * Add unit tests for refs * Add unit test for tuple indexing * Add unit test for if expression * Remove astor dependency * Remove astor from meta.yaml too * Fix if test and add basic local function test * Add global function test, refactor earlier tests * Correct 'clause' field in ADT so Python and C++ field names match * More fixes and tests for matching and constructors * Dramatically simplify matching: no need for a thunk * Improve ref writing test * Ensure local recursion works * cleanup * Add test for global recursion * Add test for higher-order calls * Get ops working, add basic tests * Remove accidentally duplicated test * More docstrings to appease pylint * Forgot to fix a test using constructor values * Reduce optimization level in fusion and fix tuple input to operators * Test op with tuple output, fix tuple output code * Add unit test for batch norm * Add a couple more tricky test cases * Correct nat constructor to drop unnecessary field * Fix the op attrs file (accidentally reduced it) * Address review comments * Adapt to new ConstructorValue representation (no more runtime dep on module) * Use pass manager and updated interfaces. Extend module.from_expr to accommodate necessary demands * Use sequential return value * Lift out nested conditionals * Replace triple single quotes with triple double quotes * Use main variable instead of entry_func
Steven S. Lyubomirsky committed
-
- 09 Jul, 2019 6 commits
-
-
* [Relay][VM]Compiling pattern matching * Fix lint * Remove debug code * Move TreeNode definition * merge ifi and selecti, todo: remove them * fix lint * remove ifi and selecti * rename GetTagi to GetTag * fix dltype * fix more dltype * Generalize If and select, and rename to Ifi and Selecti * Fix lint * Rename Ifi to If * Change register default to match value * Remove bad specialization for Move * Stop use Select * Remove Select * TreeNode refactor * Change entry_func name * Remove Cmp due to rebase issue
Wei Chen committed -
Amy Wang committed
-
- Weight dtype can be different than idtype. So, using the weight tensor to set the dtype of weight. - For conv2d NCHWc operator, the weight can be of any dimension. For int8 computation on Intel, it can be 7D. Relaxing the weight type checking.
Animesh Jain committed -
* Added bool to float conversion support to spirv ir builder. * Added unittest for vulkan bool conversion. * Typo fix.
Josh Fromm committed -
* init fix rebase lint fix cmake try again fix ci * add gitignore * fix format * do not include .interp and .tokens
雾雨魔理沙 committed -
Animesh Jain committed
-
- 08 Jul, 2019 2 commits
-
-
* [Relay][Transform] Support Dumping IR to help debugging * debugprint->printir
Zhi committed -
* 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
Luis Vega committed
-
- 07 Jul, 2019 3 commits
-
-
Tianqi Chen committed
-
Tianqi Chen committed
-
* initialize cond 2d transpose scheduling on x86 * refine the scheduler a bit * fix for lint * address review comments; remove duplicate code * fix lint
Yida Wang committed
-
- 06 Jul, 2019 4 commits
-
-
Tianqi Chen committed
-
- Fix APK path - Add ADB install/uninstall instructions
Ruslan Baratov committed -
* [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
Zhi committed -
- Install OpenCL headers - Set ANDROID_HOME environment variable
Ruslan Baratov committed
-
- 05 Jul, 2019 3 commits
-
-
* Use hash of ADT name and constructor idx to generate tag, add reverse mapping to module and use where appropriate * Lint and build fixes * Add round-tripping test for getting constructors by tag * Use int64_t everywhere for tags * Add additional identity check * Bring out _arg_to_ast again * Use 8-bit hash of GTV name as MSB of tag, index as LSB for more readable tags * Use int32 instead of int64 for tag
Steven S. Lyubomirsky committed -
* avoid error when env var is not set * extra content
Thierry Moreau committed -
Ruslan Baratov committed
-
- 04 Jul, 2019 2 commits
-
-
Needed for: - https://github.com/dmlc/tvm/blob/287078c33db85d4f312d8d2457a064442d9d18c3/tutorials/frontend/deploy_model_on_android.py#L30 - https://github.com/dmlc/tvm/blob/287078c33db85d4f312d8d2457a064442d9d18c3/tutorials/frontend/deploy_model_on_android.py#L37 - https://github.com/dmlc/tvm/blob/287078c33db85d4f312d8d2457a064442d9d18c3/python/tvm/contrib/download.py#L58
Ruslan Baratov committed -
雾雨魔理沙 committed
-
- 03 Jul, 2019 4 commits
-
-
* Pre-allocate buffer for x86 roi_align * Fix typo
Yao Wang committed -
雾雨魔理沙 committed
-
producing simulation statistics instead of time to get useful information out of simulation runs (#3481)
Thierry Moreau committed -
* save add me find type checker problem save save lint do lint reset ti add some doc add failed test case add recursion for cps add recursion for cps fix pytest lint save fix test error lint save fix error * fix rebase * fix * fix test * lint * lint * restore rewriteannotationops * do
雾雨魔理沙 committed
-
- 02 Jul, 2019 6 commits
-
-
* First shot * Add dockerfile for CPU too * Finish the build infrastructure * Remove extra file * Comment out the Jenkinsfile section since it is not ready * Add missing license headers * Update to newer cudnn that anaconda packaged * Bump the build numbers for the newer cudnn * Bring back the toolchain option with a tweak for cuda * Cache some large packages in the docker and update to llvm 7.0.0 * Merge all the python packages together * First fix for the conda cuda builds (again) * Use the tarball version of cudnn since tvm has trouble detecting the other one * Use llvm 8.0 from the numba packages * Also use llvm 8.0 for the cpu builds * Don't use the anaconda compiler for OS X * Enable Metal on OS X builds * Make sure to detect undefined variables in scripts * Fix build when not using cuda
abergeron committed -
Tianqi Chen committed
-
Zhi committed
-
* [Codegen] Support broadcast op with symbolic shape * fix case where last dim = 1 * use enum; simplify stride calculation; improve doc * fix lint * improve py doc
Yizhi Liu committed -
* Add contrib sort functions to android rpc app. * replaced tab with spaces oops.
Josh Fromm committed -
雾雨魔理沙 committed
-
- 01 Jul, 2019 6 commits
-
-
Tianqi Chen committed
-
* add mac count for conv 2d transpose * add the explanation of missing parameter in docstring * typo * fix pylint
Yida Wang committed -
Tianqi Chen committed
-
* [Relay][Pass] Only allow Module -> Module for opts managed by pass infra * revert gradient pass
Zhi committed -
Tianqi Chen committed
-
Tianqi Chen committed
-
- 30 Jun, 2019 2 commits
-
-
Alexander Pivovarov committed
-
Tianqi Chen committed
-