1. 25 Jun, 2019 1 commit
    • [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
  2. 23 May, 2019 1 commit
  3. 21 May, 2019 1 commit
  4. 11 May, 2019 1 commit
  5. 10 Apr, 2019 1 commit
  6. 08 Apr, 2019 1 commit
    • [HEADER] Add Header to Comply with ASF Release Policy (#2982) · cffb4fba
      * [HEADER] ASF header dir=include
      
      * [HEADER] ASF Header dir=src
      
      * [HEADER] ASF Header -dir=python
      
      * [HEADER] ASF header dir=topi
      
      * [HEADER] ASF Header dir=nnvm
      
      * [HEADER] ASF Header -dir=tutorials
      
      * [HEADER] ASF Header dir=tests
      
      * [HEADER] ASF Header -dir=docker
      
      * fix whitespace
      
      * [HEADER] ASF Header -dir=jvm
      
      * [HEADER] ASF Header -dir=web
      
      * [HEADER] ASF Header --dir=apps
      
      * [HEADER] ASF Header --dir=vta
      
      * [HEADER] ASF Header -dir=go
      
      * temp
      
      * [HEADER] ASF Header --dir=rust
      
      * [HEADER] Add ASF Header --dir=cmake
      
      * [HEADER] ASF Header --dir=docs
      
      * [HEADER] Header for Jenkinsfile
      
      * [HEADER] ASF Header to toml and md
      
      * [HEADER] ASF Header to gradle
      
      * Finalize rat cleanup
      
      * Fix permission
      
      * Fix java test
      
      * temporary remove nnvm onnx test
      Tianqi Chen committed
  7. 02 Apr, 2019 1 commit
  8. 30 Mar, 2019 2 commits
  9. 29 Mar, 2019 2 commits
  10. 26 Mar, 2019 1 commit
  11. 18 Mar, 2019 1 commit
  12. 17 Mar, 2019 1 commit
  13. 05 Mar, 2019 1 commit
  14. 27 Feb, 2019 2 commits
  15. 21 Feb, 2019 1 commit
  16. 12 Feb, 2019 1 commit
  17. 29 Jan, 2019 1 commit
  18. 24 Dec, 2018 1 commit
  19. 13 Dec, 2018 1 commit
  20. 12 Dec, 2018 1 commit
  21. 11 Dec, 2018 1 commit
  22. 06 Dec, 2018 1 commit
  23. 04 Dec, 2018 1 commit
  24. 01 Dec, 2018 1 commit
  25. 29 Nov, 2018 1 commit
  26. 28 Nov, 2018 1 commit
    • [BACKEND][CODEGEN] C codegen with tests (#2161) · a259b737
      * Implement C code generation with tests
      
      * Code cleanup
      
      * Implement C code generation with tests
      
      * Code cleanup
      
      * tabs to spaces
      
      * make lint compliant
      
      * update export_library and reserve unique C keywords
      
      * move ReserveKeywordsAsUnique to codegen_c
      
      * some documentation and code cleanup
      
      * use tvm.contrib.util for tempdir in testcases
      Pratyush Patel committed
  27. 15 Nov, 2018 1 commit
  28. 10 Nov, 2018 1 commit
  29. 05 Nov, 2018 1 commit
  30. 15 Oct, 2018 1 commit
  31. 12 Oct, 2018 1 commit
  32. 04 Oct, 2018 1 commit
  33. 22 Sep, 2018 1 commit
  34. 20 Sep, 2018 1 commit
  35. 11 Sep, 2018 1 commit
  36. 06 Sep, 2018 2 commits