1. 03 Apr, 2020 6 commits
    • [RELAY] Non-recursive Graph Vistor and Rewriter (#4886) · 7de8a539
      * First pass a defining a non-recursive Graph Vistor and Rewriter
      
      autoformat
      
      remove a currently empty test until testing is solidfied
      
      * Make CalcDep from Dead Code Elimination non-recursive
      
      * Partially working, not passing all tests yet
      
      passes tests when disabling GetExprRefCount, I think I have a bug in visit counting
      
      fix GetExprRefCount
      
      Fix a subtle bug with nested recursive/non-recursive scopes
      
      * Refactor
      
      * improve comments
      
      * respond to review comments on comments
      
      * Fix a problem with default recursion for dataflow nodes
      
      mark DataflowVisitor methods as override
      
      * implement ScopeMutator
      
      * convert forward_rewrite to ScopeMutator, remove DataflowMutator
      
      * rewrite ExprRewriter and convert fast_math to use it
      
      * switch BiasAddSimplifier to ExprRewriter
      
      fix a clang warning
      
      fix cpp lint
      
      fix doc param error
      
      * respond to review comments
      
      * fix a typo in the iterative looping
      
      * add a regression test for GetExprRefCount issue
      
      * Normalize naming
      
      * fix lint
      
      * First pass a defining a non-recursive Graph Vistor and Rewriter
      
      autoformat
      
      remove a currently empty test until testing is solidfied
      
      * Make CalcDep from Dead Code Elimination non-recursive
      
      * Partially working, not passing all tests yet
      
      passes tests when disabling GetExprRefCount, I think I have a bug in visit counting
      
      fix GetExprRefCount
      
      Fix a subtle bug with nested recursive/non-recursive scopes
      
      * Refactor
      
      * improve comments
      
      * respond to review comments on comments
      
      * Fix a problem with default recursion for dataflow nodes
      
      mark DataflowVisitor methods as override
      
      * implement ScopeMutator
      
      * convert forward_rewrite to ScopeMutator, remove DataflowMutator
      
      * rewrite ExprRewriter and convert fast_math to use it
      
      * switch BiasAddSimplifier to ExprRewriter
      
      fix a clang warning
      
      fix cpp lint
      
      fix doc param error
      
      * respond to review comments
      
      * fix a typo in the iterative looping
      
      * add a regression test for GetExprRefCount issue
      
      * Normalize naming
      
      * fix lint
      
      * respond to review comments
      Matthew Brookhart committed
    • [RELAY][FIX] Fix hang in MergeCompilerRegions (#5227) · 54975a3f
      For certain network topologies, MCR could hang.
      This patch fixes that case.
      
      Change-Id: I3edd8a8a6b452b2b838b777720adea22a3b995b4
      mbaret committed
    • [KERAS]Upsample3d & ZeroPadding3d op (#5125) · b796c13c
      * [KERAS]upsampling3d and zeropadding3d op
      
      * [KERAS]upsampling3d and zeropadding3d test case
      
      * Review comments updated
      Samuel committed
    • [CodeGen][CUDA] Fix bugs (#5209) · 316ce055
      - Support vectorized casts
      
      - It is incorrect to extract elements from int8x4 with
      
         0x000000ff & (x >> i * 8)
      
        as this value is of type int in C/C++. If this expression
        is used for sign extensions, the sign bit will be wrong.
        Simply use C style casts instead and sign bits will just work.
      
      Signed-off-by: Wei Pan <weip@nvidia.com>
      Wei Pan committed
  2. 02 Apr, 2020 12 commits
  3. 01 Apr, 2020 8 commits
  4. 31 Mar, 2020 10 commits
  5. 30 Mar, 2020 4 commits
    • [TEST] Various CI fixes for the VTA and Relay (#5181) · ff6fa399
      * [VTA] Set the correct type for synchronize
      
      * Fix the legacy API
      
      * Temporary remove the structural equal
      Tianqi Chen committed
    • rocm: fix miopen convolutions (#5179) · 84121966
      * fix miopen convolutions
      
      * fix overly long lines
      Thomas Viehmann committed
    • [DOCS] Point docs to the ASF site. (#5178) · b776ff39
      * [DOCS] Point docs to the ASF site.
      
      We have migrated the main docs to the ASF site,
      which will be periodically updated using the docs generated by the CI.
      Points the docs to the ASF version.
      
      * [CI] Improve the docs generation script
      Tianqi Chen committed
    • [RELAY] Add MergeCompilerRegions pass (#5134) · 02121383
      * [RELAY] Add MergeCompilerRegions pass
      
      This pass is part of the flow to support creating compiler
      regions with multiple outputs. It should be called after
      AnnotateTarget and will merge together regions that share
      the same target to create larger compiler regions that can
      be off-loaded to external codegens.
      
      This pass implements an algorithm to ensure that during the
      merging, no data dependency issues are created. See the tests
      for an example of this case.
      
      Co-authored-by: Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      Co-authored-by: Manupa Karunaratne    <manupa.karunaratne@arm.com>
      
      Change-Id: Ibd99083564608d888482f57c5080109f3eefec88
      
      * [RELAY] Annotate compiler_ends on each edge
      
      This alters the behaviour of the AnnotateTarget
      pass to enforce the property that all compiler
      annotations exist along a single data flow edge.
      Specifically, this means they should have exactly
      one parent and one child.
      
      Change-Id: I0e74803a77767f4f377d17755a13a74a30909797
      
      * Fix comment
      
      * Rebase *Node::make
      
      * Moved block outside for loop
      
      * Code style
      
      * Update make API
      
      * Remove comment
      
      * Remove redundant 'else's
      
      * Make one line
      
      * Fix comment
      
      * RefWrite
      
      * Fix merge ordering
      
      * Add the RFC example as a test
      
      * [FIX] Fixed merging behaviour in AnnotateRegionSet
      
      Deleting items from a list while iterating it seems to
      result in undefined behaviour which sometimes segfaults.
      This makes sure all the item deletion happens separately.
      
      * Added checks
      
      * Move comment
      
      * Update comments
      mbaret committed