1. 30 Jun, 2019 2 commits
  2. 29 Jun, 2019 3 commits
  3. 28 Jun, 2019 12 commits
  4. 27 Jun, 2019 9 commits
  5. 25 Jun, 2019 4 commits
    • [VTA] Add VTA PYNQ metal_test bitstream program logic and fix compile issue. (#3400) · fb95a985
      * [VTA] Add VTA PYNQ metal_test bitstream program logic and fix couple compile issue.
      
      Issue:
      VTAProgram not exist and cause compile error.
      No logic to program the bitstream into FPGA.
      metal test still use pynq 2.1 library which not support on latest
      pynq 2.4.
      
      Solution:
      remove old VTAProgram.
      when setting is pynq, program the bitstream during compile.
      change DMA link library to libcma.
      
      * Address review commends.
      Hua Jiang committed
    • [Runtime] Allow for parameter sharing in GraphRuntime (#3384) · 32be34a0
      Summary:
      
      In multi-threaded applications where we have multiple inferences on the
      same model in parallel (consider e.g. a TTS system handling multiple
      requests), it can be useful to share the parameters of a model amongst
      these multiple instances. This improves the cache utilization behaviour
      of the system, as multiple cores can use the same set of weights instead
      of evicting the identical copies of weights in a shared cache.
      
      As the underlying `NDArray` instances in `data_entry_` implement a
      ref-counted based sharing system, this is a simple modification of the
      `GraphRuntime::LoadParams` logic to instead copy parameters from an
      existing GraphRuntime instance. This is a little ugly in that we need
      both the pre-existing GraphRuntime instance, as well as the 'serialized'
      params (since we need to know the set of names we should copy), but
      without imposing additional assumptions (i.e. storing the set of param
      names in GraphRuntime, and enforcing that shared param names are
      identical to the parameters set in the preceding `LoadParams` call),
      this seems unavoidable.
      
      Test Plan:
      
      Unit test added.
      Andrew Tulloch committed
  6. 24 Jun, 2019 2 commits
  7. 23 Jun, 2019 1 commit
  8. 22 Jun, 2019 5 commits
  9. 21 Jun, 2019 2 commits