1. 15 Apr, 2020 1 commit
  2. 10 Apr, 2020 1 commit
  3. 05 Apr, 2020 1 commit
  4. 18 Mar, 2020 1 commit
  5. 17 Mar, 2020 1 commit
  6. 27 Feb, 2020 1 commit
  7. 24 Feb, 2020 1 commit
    • [Relay][AutoTVM] Relay op strategy (#4644) · 623dd208
      * relay op strategy
      
      fix lint
      
      bitpack strategy
      
      bitserial_dense (#6)
      
      * update strategy
      
      * address comments
      
      fix a few topi test
      
      Dense strategy (#5)
      
      * dense
      
      * add biforst; remove comments
      
      * address comment
      
      Refactor x86 conv2d_NCHWc (#4)
      
      * Refactor x86 conv2d
      
      * Add x86 depthwise_conv2d_NCHWc
      
      * Add back topi x86 conv2d_nchw
      
      * Merge x86 conv2d_nchw and conv2d_NCHWc
      
      * Minor fix for x86 conv2d
      
      fix more strategy
      
      Add x86 conv2d_NCHWc_int8 strategy (#8)
      
      * Add x86 conv2d_NCHWc_int8 strategy
      
      * Remove contrib_conv2d_nchwc_int8
      
      * Fix generic conv2d_NCHWc for int8
      
      * Fix topi arm_cpu conv2d_NCHWc_int8
      
      update x86 conv2d
      
      enable specify relay ops to be tuned for autotvm
      
      add cuda conv2d strategy
      
      add conv2d strategy for rocm
      
      add conv2d strategy for hls
      
      add conv2d strategy for arm cpu
      
      add conv2d strategy for mali
      
      add conv2d strategy for bifrost
      
      add conv2d strategy for intel graphics
      
      clean up and fix lint
      
      remove template keys from autotvm
      
      remove 2 in the func name
      
      address comments
      
      fix
      
      * fix bugs
      
      * lint
      
      * address comments
      
      * add name to op implement
      
      * Modify topi tests (#9)
      
      * Add pooling, reorg, softmax and vision
      
      * Add lrn
      
      * fix topi test
      
      * fix more topi test
      
      * lint
      
      * address comments
      
      * x
      
      * fix more tests & bugs
      
      * Modify more tests (#10)
      
      * Modify tests for bitserial_conv2d, bitserial_dense, bitserial_conv2d_rasp and bnn
      
      * Minor fix
      
      * More minor fix
      
      * fix more test
      
      * try to update vta using strategy
      
      * fix cpptest
      
      * x
      
      * fix rebase err
      
      * Fix two tests (#11)
      
      * change autotvm log format
      
      * lint
      
      * minor fix
      
      * try fix vta test
      
      * fix rebase err
      
      * tweak
      
      * tmp hack for vta pass
      
      * fix tutorial
      
      * fix
      
      * fix more tutorials
      
      * fix vta tutorial
      
      * minor
      
      * address comments
      
      * fix
      
      * address comments
      
      * fix cpptest
      
      * fix docs
      
      * change data structure name and api
      
      * address comments
      
      * lint
      
      * fix rebase err
      
      * updates
      
      * fix winograd test
      
      * fix doc
      
      * rebase
      
      * upgrade tophub version number
      
      * fix bug
      
      * re-enable vta tsim test after tophub is upgraded
      
      * fix vta test to use the correct args so the config can be found in tophub
      
      Co-authored-by: Yao Wang <kevinthesunwy@gmail.com>
      Haichen Shen committed
  8. 18 Feb, 2020 1 commit
  9. 14 Feb, 2020 1 commit
  10. 13 Feb, 2020 1 commit
  11. 12 Feb, 2020 1 commit
    • [REFACTOR][PY][API-CHANGE] establish tvm.ir, migrate corresponding files (#4862) · a5661611
      * [REFACTOR][PY][API-CHANGE] establish tvm.ir, migrate corresponding relay files.
      
      This PR establishes tvm.ir and migrates the corresponding relay
      files into the new folder.
      
      API Change:
      - relay.Module -> tvm.IRModule
      
      * Update with ADT
      
      * Migrate transform
      
      * address comments
      
      * Migrate module
      
      * Migrate json_compact
      
      * Migrate attrs
      
      * Move LoweredFunc to stmt temporarily
      
      * temp migrate container
      
      * Finish migrate container
      Tianqi Chen committed
  12. 11 Feb, 2020 1 commit
  13. 09 Feb, 2020 1 commit
  14. 07 Feb, 2020 1 commit
    • [REFACTOR][PY][API-Change] Polish tvm.runtime, tvm.runtime.module API update (#4837) · e0122c0e
      * [REFACTOR][PY-API] Polish tvm.runtime, tvm.runtime.module API update
      
      This PR updates the tvm.runtime to use the new FFI style.
      
      - Remove top-level tvm.module to avoid confusion between runtime.Module and IRModule
      - API changes wrt to runtime.Module
        - tvm.module.load -> tvm.runtime.load_module
        - tvm.module.enabled -> tvm.runtime.enabled
        - tvm.module.system_lib -> tvm.runtime.system_lib
      - Remove dep on api_internal from runtime.
      
      * Update module.load in the latest API
      Tianqi Chen committed
  15. 05 Feb, 2020 2 commits
    • [REFACTOR][PY] Establish tvm.runtime (#4818) · fc7dd6d7
      * [REFACTOR][PY] Establish tvm.runtime
      
      This PR establishes the tvm.runtime namespace that contains the core runtime data structures.
      The top-level API are kept inact for now via re-exporting.
      
      We will followup later to cleanup some of the top-level APIs.
      
      * Fix ndarray name
      Tianqi Chen committed
    • [REFACTOR][PY] tvm._ffi (#4813) · f9b46c43
      * [REFACTOR][PY] tvm._ffi
      
      - Remove from __future__ import absolute_import in the related files as they are no longer needed if the code only runs in python3
      - Remove reverse dependency of _ctypes _cython to object_generic.
      - function.py -> packed_func.py
      - Function -> PackedFunc
      - all registry related logics goes to tvm._ffi.registry
      - Use absolute references for FFI related calls.
        - tvm._ffi.register_object
        - tvm._ffi.register_func
        - tvm._ffi.get_global_func
      
      * Move get global func to the ffi side
      Tianqi Chen committed
  16. 02 Feb, 2020 1 commit
  17. 18 Jan, 2020 1 commit
  18. 11 Jan, 2020 1 commit
  19. 09 Jan, 2020 1 commit
  20. 03 Jan, 2020 1 commit
  21. 31 Dec, 2019 1 commit
  22. 22 Nov, 2019 1 commit
  23. 21 Nov, 2019 1 commit
  24. 20 Nov, 2019 1 commit
  25. 11 Nov, 2019 1 commit
  26. 01 Nov, 2019 1 commit
  27. 29 Oct, 2019 1 commit
  28. 24 Oct, 2019 1 commit
  29. 21 Oct, 2019 1 commit
    • [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol. (#4161) · 7895adb2
      * [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol.
      
      This PR removes the original node system, and make node as a subclass of Object.
      This is a major refactor towards a better unified runtime object system.
      
      List of changes in the refactor:
      
      - We now hide data_ field, use Downcast explicitly to get a sub-class object.
      - Removed the node system FFI in python.
      - Removed the node C API, instead use PackedFunc for list and get attrs.
      - Change relay::Op::set_attr_type_key(attr_key_name) to relay::Op::set_attr_type<AttrType>().
        - This change was necessary because of the new Object registration mechanism.
        - Subsequent changes to the op registrations
        - The change revealed a few previous problems that is now fixed.
      - Patched up a few missing node type registration.
        - Now we will raise an error if we register object that is not registered.
      - The original node.h and container.h are kept in the same location.
      - Calling convention: kObjectHandle now equals the old kNodeHandle, kNodeHandle is removed.
      - IRFunctor now dispatches on ObjectRef.
      - Update to the new type checking API: is_type, derived_from are replaced by IsInstance.
      - Removed .hash member function, instead use C++ convention hasher functors.
      
      * Address review comments
      Tianqi Chen committed
  30. 20 Oct, 2019 1 commit
  31. 17 Oct, 2019 1 commit
  32. 16 Oct, 2019 1 commit
    • [RUNTIME] Refactor object python FFI to new protocol. (#4128) · 02c1e117
      * [RUNTIME] Refactor object python FFI to new protocol.
      
      This is a pre-req to bring the Node system under object protocol.
      Most of the code reflects the current code in the Node system.
      
      - Use new instead of init so subclass can define their own constructors
      - Allow register via name, besides type idnex
      - Introduce necessary runtime C API functions
      - Refactored Tensor and Datatype to directly use constructor.
      
      * address review comments
      Tianqi Chen committed
  33. 10 Oct, 2019 1 commit
    • [Relay][VM] Fix constant folding issue in VM compiler (#4077) · fc2713e5
      * [Relay][VM] Fix constant folding issue in VM compiler
      
      1. allow pass params when compile a module
      2. enhance profiler robustness
      
      * remove dead code
      
      * fix lint
      
      * add get_params
      
      * fix test
      
      * don't pass params back
      
      * remove get_params
      
      * docs
      
      * move compile function to api
      
      * compile clashes with builtin name
      
      * fix compilation error
      
      * remove dead code
      Wei Chen committed
  34. 05 Oct, 2019 2 commits
  35. 11 Sep, 2019 1 commit
  36. 09 Sep, 2019 1 commit
  37. 01 Sep, 2019 1 commit
  38. 21 Aug, 2019 1 commit
    • [Relay][VM]VM Profiler (#3727) · 95f12e31
      * [Relay][VM]VM debugger
      
      * Report mean/min/max for op duration
      
      * Typos
      
      * Lint
      
      * Lint
      
      * Lint
      
      * Support build debug VM in CMake
      
      * Lint
      
      * Enable VM debug in unit test
      
      * Disable debug vm test until new docker image is built
      
      * Add device sync code
      
      * Fix qnn unit test
      
      * Disable vm debug by default
      
      * Rename files
      
      * Rename classes
      
      * Fix comment
      
      * Fix comment
      Wei Chen committed