1. 30 Jan, 2020 2 commits
  2. 29 Jan, 2020 2 commits
  3. 28 Jan, 2020 2 commits
  4. 27 Jan, 2020 4 commits
  5. 25 Jan, 2020 1 commit
  6. 24 Jan, 2020 5 commits
  7. 23 Jan, 2020 2 commits
    • [VTA] Support network which have no unique operator as start/stop name for graph pack. (#4703) · b9328d02
      * [VTA] Support network which have no unique operator as start/stop name
      for graph pack.
      
      [Issue]
        Current vta use 'start' and 'stop' name to define the pack start point
        and end point, but this method not work for these network which have
        no 2 unique operator as  start point and stop point.
      
      [Solution]
        In this solution we give 2 addtional parameters start_name_indx and
        stop_name_indx to make vta pack logic work with the said network,
        for exampl for following networks which have no unique operator,
      
        %0 = nn.add
        %1 = nn.conv2d
        %2 = nn.batch_norm
        %3 = nn.leaky_relu
        %4 = nn.add
        %5 = nn.conv2d
        %6 = nn.batch_norm
        %7 = nn.leaky_relu
        %8 = nn.add
      
        with this solution we can use following parameter format to make
        vta work on it.
      
        relay_prog = graph_pack(
                      //....
                      start_name="nn.add",
                      stop_name="nn.add",
                      start_name_idx=0,
                      stop_name_idx=4)
      
        to apply on new network, by printing the network we can get index information like following.
      
        print(mod.astext(show_meta_data=False))
        relay_prog = graph_pack(mod
                                ...
                                start_name="nn.add",
                                stop_name="nn.add",
                                start_name_idx=0,
                                stop_name_idx=4)
      
      * address review comments and fix index count bug
      
      issue:
      when do print(mod), the output not only the Call is also have other type
      like Var, need add logic to count all except meta.
      
      solution:
      add related logic
      
      * address review comments.
      
      * address review comments
      
      * add more detail comments.
      Hua Jiang committed
  8. 22 Jan, 2020 4 commits
  9. 21 Jan, 2020 4 commits
  10. 20 Jan, 2020 3 commits
  11. 19 Jan, 2020 3 commits
  12. 18 Jan, 2020 3 commits
  13. 17 Jan, 2020 5 commits
    • [VTA][TSIM] Enable TSIM CI Testing (#4407) · 2738eddf
      * Update task_python_vta.sh
      
      * install sbt=1.1.1 with apt-get
      
      * update verilator_opt
      
      * install verilator with major version 4.0
      
      * disable multi-threading for now
      
      * bug fix for correcting uop fetch address in LoadUop module
      
      * bug fix for correcting uop fetch address in LoadUop module
      
      * adjustment to read from dram_offset
      
      * enable USE_THREADS with verilator 4.x
      
      * DEBUG: try avoid core dump with verilator 4.x
      
      * bug fix in LoadUop module
      
      * log mega cycles in tsim
      
      * download cat.png to avoid fetching in each run
      
      * bug fix in LoadUop module
      
      * solve dram_even/sram_even issue
      
      * bug fix
      
      * introduce scalalint in ci
      
      * speedup tsim in ci
      
      * bug fix
      
      * lint scala code before building
      
      * disable multi-threading
      
      * split fsim/tsim script
      
      * update Jenkins settings
      
      * duplicate task_python_vta_fsim.sh as task_python_vta.sh for now
      
      Co-authored-by: Thierry Moreau <tmoreau@octoml.ai>
      Liangfu Chen committed
    • [REFACTOR] Get rid of packed_func_ext. (#4735) · 2f8a01f7
      Move the conversion extensions to the specific class definitions
      so that we longer need to include packed_func_ext.
      Tianqi Chen committed
    • [TOOLS] JSON upgrader to upgrade serialized json. (#4730) · 67b97e5a
      During Unified IR refactor we will change the structure of IRs.
      This will cause certain historical modules stored via json no longer
      able to be loaded by the current version.
      
      This PR introduces a backward compatible layer to try its best effort
      to upgrade json from previous version(this case 0.6) to the current version.
      We mainly aim to support update of high-level ir(relay).
      Tianqi Chen committed
    • [QNN] Conv2D type checking for kernel per-channel scales. (#4732) · a5bb789a
      * [QNN] Conv2D type checking for kernel per-channel scales.
      
      * Address commments.
      
      * Address comments.
      
      * - Adding safety checks for downcasts.
      
      Co-authored-by: shoubhik <shoubhikbhatti@gmail.com>
      Animesh Jain committed