Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with Apache/incubator-tvm #71

Merged
merged 61 commits into from
Jan 9, 2020
Merged

Commits on Dec 31, 2019

  1. Change upstream url

    zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    47f0310 View commit details
    Browse the repository at this point in the history
  2. Fix bias_add gradient (apache#4516)

    * Fix bias_add gradient
    
    A change caused collapse_sum_like to reject implicit dimension
    broadcasting for bias_add gradient, so switch to explicit sum reduction
    on the non-bias axis dimensions.
    
    * Lint fix
    SWu authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    1d7723b View commit details
    Browse the repository at this point in the history
  3. [Bugfix][Frontend][TFlite] Fix wrong function call in TANH tests (apa…

    …che#4517)
    
    * Replace sigmoid() with tanh() in tests for TANH
    inadob authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    d842c39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eab876e View commit details
    Browse the repository at this point in the history
  5. Use the best tuner possible (apache#4397)

    * Use the best tuner possible
    
    * Add comment denoting availability of better tuners
    
    * Fix typos and wording
    vmiheer authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    97f5058 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2cbec29 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4c4c41a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    77b11f1 View commit details
    Browse the repository at this point in the history
  9. fix onnx shape dtype (apache#4528)

    masahi authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    23026b3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c847fde View commit details
    Browse the repository at this point in the history
  11. PIL is depreciated and should be replaced with pillow (a fork of PIL) (

    …apache#4533)
    
    Change-Id: If2075df5475505f2da87dae7145af5a7ab83d8a4
    lhutton1 authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    687b6e1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3a5061b View commit details
    Browse the repository at this point in the history
  13. Update legacy places from nnvm to relay. (apache#4535)

    * Update legacy places from nnvm to relay.
    
    This PR prepares the current mainline to remove nnvm compiler dep.
    
    * remove legacy stage
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    73fc1ac View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    93c8d5b View commit details
    Browse the repository at this point in the history
  15. [relay][op] add expand op (from ONNX) to relay frontend (apache#4483)

    * Add Expand to onnx.py
    
    * add test function for expand
    
    * Fix a onnx frontend test
    
    * Add tests for the value itself instead of shape only on test_expand
    
    * Cleaned up some unnecessary modifications.
    Takato Yamada authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    b701285 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    73e22bb View commit details
    Browse the repository at this point in the history
  17. [TOPI] Fixed nms max_output_size loop (apache#4541)

    One of the loops in hybrid_nms used for
    performing the max_output_size reordering
    was incorrectly designated as parallel
    resulting in incorrect behaviour. This patch
    changes that loop to a serial loop.
    
    Change-Id: I97184f5887f5f028d8ab339fa2808eb7630a4017
    mbaret authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    491aa07 View commit details
    Browse the repository at this point in the history
  18. [DOCS] Mention Ninja build system in install/from_source.rst (apache#…

    …4554)
    
    * [DOCS] Mention Ninja build system in install/from_source.rst
    
    * Address comments
    uenoku authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    66a4ca7 View commit details
    Browse the repository at this point in the history
  19. [PYTHON][FFI] Cythonize NDArray.copyto (apache#4549)

    * [PYTHON][FFI] Cythonize NDArray.copyto
    
    * Cythonize the shape property
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    3a0a606 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    02c850f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9b0928d View commit details
    Browse the repository at this point in the history
  22. [VTA] improved virtual memory mapping (apache#4545)

    * [VTA] improved virtual memory mapping
    
    * Update virtual_memory.cc
    liangfu authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    a1394c6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    8226c2e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7994c71 View commit details
    Browse the repository at this point in the history
  25. [REFACTOR][DTYPE] Isolate dtype to runtime (apache#4560)

    dtype.h -> runtime/data_type.h
    
    Changes:
    - Rename all old reference of tvm::Type to DataType
    - ExprNode.type -> ExprNode.dtype
    - Expr.type() -> Expr.dtype()
    - Change Expr related functions to expr_operator.
      - DataType::min() -> min_value(DataType)
      - DataType::max() -> max_value(DataType)
    - Move type constructor Int, UInt, Float, Handle, Bool into DataType.
      - Int(bits) -> DataType::Int(bits)
      - UInt(bits) -> DataType::UInt(bits)
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    17bb396 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e43e575 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    a519be0 View commit details
    Browse the repository at this point in the history
  28. [TEST] Remove nnvm related code in topi and test script (apache#4562)

    * [TEST] Remove nnvm related code in topi and test script
    
    * Remove docs dep
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    945599e View commit details
    Browse the repository at this point in the history
  29. [Relay] add max_pool3d in relay and TF converter (apache#4551)

    * [Relay] add max_pool3d in relay and TF converter
    
    * fix comments
    yongwww authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    fb07cdd View commit details
    Browse the repository at this point in the history
  30. Remove nnvm (apache#4565)

    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    1556202 View commit details
    Browse the repository at this point in the history
  31. [VTA][Chisel] End-to-end Inference with Chisel VTA (apache#4574)

    * [VTA][Chisel] End-to-end Inference with Chisel VTA
    
    * Update TensorAlu.scala
    liangfu authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    5c266c9 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f1d9994 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    b849be4 View commit details
    Browse the repository at this point in the history
  34. [DEPRECATION] Remove NNVM compiler (apache#4571)

    * Remove NNVM compiler
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    831796a View commit details
    Browse the repository at this point in the history
  35. [Relay/Topi][Op] Added native DepthToSpace and SpaceToDepth Operators (

    …apache#4566)
    
    * Added tvm function stencil for subpixel operations to topi.
    
    * Topi subpixel operators added and tested.
    
    * Added subpixel attrs.
    
    * Added depth_to_space relay attributes.
    
    * depth_to_space fully working.
    
    * Fixed NHWC shape bug.
    
    * SpaceToDepth in and all tests passing.
    
    * lint fixes.
    
    * Added string include
    
    * Fixed topi formatting.
    
    * Added DCR/CDR mode to depthtospace operator.
    jwfromm authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    a8792ba View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    50ea788 View commit details
    Browse the repository at this point in the history
  37. [DEPRECATION] Cleanup legacy verilog support (apache#4576)

    This PR cleans up the left over code for legacy verilog support which was experimental.
    The new hardware backend path is now support by VTA via TSIM.
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    b2a90ac View commit details
    Browse the repository at this point in the history
  38. [RUNTIME] Remove Extension VTable in favor of Unified Object system. (a…

    …pache#4578)
    
    Before the unified object protocol, we support pass
    additional extension objects around by declaring a type as an extension type.
    The old extension mechanism requires the types to register their
    constructor and deleter to a VTable and does not enjoy the benefit of the
    self-contained deletion property of the new Object system.
    
    This PR upgrades the extension example to make use of the new object system
    and removed the old Extension VTable.
    
    Note that the register_extension funtion in the python side continues to work
    when the passed argument does not require explicit container copy/deletion,
    which covers the current usecases of the extension mechanism.
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    1ea35cf View commit details
    Browse the repository at this point in the history
  39. Some Windows and MSVC fixes (apache#4569)

    * fix python exception creation in Windows
    
    * better string conversion for msvc
    
    * fix cpp style issue
    kice authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    7e14e8d View commit details
    Browse the repository at this point in the history
  40. [NEWS] add v0.6 release (apache#4558)

    * [NEWS] add v0.6 release
    
    * remove link prefix
    
    * fix issue number
    yzhliu authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    4bcbbec View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    b2b7767 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    24275a6 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    4bb799d View commit details
    Browse the repository at this point in the history
  44. [TOPI][AutoTVM] NHWC conv2d templates for ARM (apache#3859)

    * [AutoTVM][TOPI] NHWC conv2d templates (spatial pack) for ARM
    
    As some frontends (tflite for example) are using NHWC as the default
    layout, we are enabling NHWC schedule templates in TOPI and AutoTVM.
    
    * some comments fix
    zhenhuaw-me authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    52e9859 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    5dd1a49 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    628a660 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    692cd20 View commit details
    Browse the repository at this point in the history
  48. [TOPI] add 3D upsampling Op. (apache#4584)

    * [TOPI] add 3D upsampling Op.
    
    * fix lint issues
    
    * change align_corners to coordinate_transformation_mode
    
    * fix resize3d half_pixel
    
    * make a simple function and clean up trilinear_resize3d_python
    
    * fix doc
    optima2005 authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    50b91d0 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    cf6d99a View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    201d305 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    0efccc9 View commit details
    Browse the repository at this point in the history
  52. [FRONTEND][TF] conv2d_transpose 'SAME' support kernel more than 1x1 (a…

    …pache#4484)
    
    * [FRONTEND][TF] conv3d_transpose 'SAME' support kernel more than 1x1
    
    * revised per as review comments
    
    * add more fallback wolkaround to make all tests pass
    optima2005 authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    67a06a4 View commit details
    Browse the repository at this point in the history
  53. [GraphRuntime] Support parameter out in the graph runtime debug (apac…

    …he#4598)
    
    * [GraphRuntime] Support parameter out in the graph runtime debug
    
    * Dummy commit to trigger build
    cchung100m authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    5fc1712 View commit details
    Browse the repository at this point in the history
  54. [Perf] Add CublasLt extern support for better Igemm performance (apac…

    …he#4550)
    
    * cublaslt added
    
    * fix lint
    
    * address comments
    
    * address more comments
    
    * Trigger CI
    
    * Trigger CI
    Laurawly authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    5df3776 View commit details
    Browse the repository at this point in the history
  55. fix codegenc (apache#4597)

    zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    9547d4d View commit details
    Browse the repository at this point in the history
  56. [REFACTOR][RUNTIME] Update NDArray use the Unified Object System (apa…

    …che#4581)
    
    * [REFACTOR][RUNTIME] Move NDArray to Object System.
    
    Previously NDArray has its own object reference counting mechanism.
    This PR migrates NDArray to the unified object protocol.
    
    The calling convention of NDArray remained intact.
    That means NDArray still has its own type_code and
    its handle is still DLTensor compatible.
    
    In order to do so, this PR added a few minimum runtime type
    detection in TVMArgValue and RetValue only when the corresponding
    type is a base type(ObjectRef) that could also refer to NDArray.
    
    This means that even if we return a base reference object ObjectRef
    which refers to the NDArray. The type_code will still be translated
    correctly as kNDArrayContainer.
    If we assign a non-base type(say Expr) that we know is not compatible
    with NDArray during compile time, no runtime type detection will be performed.
    
    This PR also adopts the object protocol for NDArray sub-classing and
    removed the legacy NDArray subclass protocol.
    Examples in apps/extension are now updated to reflect that.
    
    Making NDArray as an Object brings all the benefits of the object system.
    For example, we can now use the Array container to store NDArrays.
    
    * Address review comments
    tqchen authored and zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    13a5158 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    1e46a08 View commit details
    Browse the repository at this point in the history
  58. [relay][refactor] Cache Op::Get in passes to reduce lookup overhead (a…

    …pache#4594)
    
    * Refactor to use IsOp utility
    
    * retrigger CI
    zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    9e17599 View commit details
    Browse the repository at this point in the history
  59. Update dmlc_tvm_commit_id.txt

    zhiics committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    535e6ce View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. Configuration menu
    Copy the full SHA
    648b1cf View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. enable test_batch_norm

    zhiics committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    291bacf View commit details
    Browse the repository at this point in the history