1. 21 Oct, 2019 1 commit
    • [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol. (#4161) · 7895adb2
      * [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol.
      
      This PR removes the original node system, and make node as a subclass of Object.
      This is a major refactor towards a better unified runtime object system.
      
      List of changes in the refactor:
      
      - We now hide data_ field, use Downcast explicitly to get a sub-class object.
      - Removed the node system FFI in python.
      - Removed the node C API, instead use PackedFunc for list and get attrs.
      - Change relay::Op::set_attr_type_key(attr_key_name) to relay::Op::set_attr_type<AttrType>().
        - This change was necessary because of the new Object registration mechanism.
        - Subsequent changes to the op registrations
        - The change revealed a few previous problems that is now fixed.
      - Patched up a few missing node type registration.
        - Now we will raise an error if we register object that is not registered.
      - The original node.h and container.h are kept in the same location.
      - Calling convention: kObjectHandle now equals the old kNodeHandle, kNodeHandle is removed.
      - IRFunctor now dispatches on ObjectRef.
      - Update to the new type checking API: is_type, derived_from are replaced by IsInstance.
      - Removed .hash member function, instead use C++ convention hasher functors.
      
      * Address review comments
      Tianqi Chen committed
  2. 11 Oct, 2019 1 commit
  3. 02 Jul, 2019 1 commit
  4. 28 Jun, 2019 1 commit
  5. 04 Jun, 2019 1 commit
  6. 24 May, 2019 1 commit
  7. 21 May, 2019 1 commit
  8. 16 May, 2019 1 commit
  9. 10 May, 2019 1 commit
  10. 08 May, 2019 1 commit
  11. 01 May, 2019 2 commits
  12. 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
  13. 13 Feb, 2019 1 commit
    • [Hybrid script] Backend support (#2477) · c53dd102
      * a preliminary version is done?
      
      * we no longer need the redundant hybrid/api.py
      
      * support assert stmt
      
      * cast supported
      
      * intrin -> runtime; util is mainly in charge of compilation time
      
      * assert statement
      
      * fix python lint
      
      * fix cpp lint
      
      * on the way to module
      
      * rollback .cc
      
      * fix typo, no direct expose then
      
      * @vinx13 ceil is added i guess?
      
      * wip...
      
      * temp commit
      
      * fix import
      
      * i preliminary version is done?
      
      * on the way to build hybrid module
      
      * nearly fixed...
      
      * dumped python are equiv as original python
      
      * on the way to bootstrap
      
      * cpu bootstrap done
      
      * bootstrap!
      
      * fix lint
      
      * fix doc
      
      * resolve some review concerns
      
      * support load/save
      
      * fix lint
      
      * thanks to xqdan fixed my typo
      
      * fix build, make dump non-optional
      
      * add vthread
      
      * jesus why i added this
      Jian Weng committed
  14. 08 Jan, 2019 1 commit
  15. 07 Dec, 2018 1 commit
  16. 30 Nov, 2018 1 commit
  17. 05 Nov, 2018 1 commit
  18. 20 Sep, 2018 1 commit
  19. 19 Sep, 2018 1 commit
  20. 25 Aug, 2018 1 commit
  21. 09 Aug, 2018 1 commit
  22. 02 Aug, 2018 1 commit
  23. 31 Jul, 2018 1 commit
  24. 12 Jul, 2018 1 commit
  25. 26 Jun, 2018 1 commit
  26. 22 Jun, 2018 1 commit
  27. 21 Apr, 2018 1 commit
  28. 19 Apr, 2018 1 commit
  29. 08 Apr, 2018 2 commits
  30. 07 Apr, 2018 1 commit
  31. 01 Apr, 2018 1 commit
  32. 31 Mar, 2018 1 commit
  33. 28 Mar, 2018 1 commit
  34. 19 Mar, 2018 1 commit
  35. 13 Mar, 2018 1 commit
  36. 27 Feb, 2018 1 commit
  37. 10 Feb, 2018 1 commit
    • Convert BuildModule to use TVM node system (#879) · 523b6a6b
      * Make python BuildConfig serializable/deserializable to/from string
      
      * Make C++ BuildConfig serializable/deserializable to/from string
      
      * Revert "Make python BuildConfig serializable/deserializable to/from string"
      
      This reverts commit a5e1fb3ff63a161cc0d63475d2a32816cc4c3666.
      
      * Revert "Make C++ BuildConfig serializable/deserializable to/from string"
      
      This reverts commit ec0c2c54543050fe6f264d06eebff33dee70370b.
      
      * Converted BuildConfig to use TVM node system
      
      * Fix lint
      
      * Fix lint
      
      * Added code to set node attributes through the C API
      
      * Fixed bug in build_config()
      
      * Fix lint
      
      * Fix lint
      
      * Fix test errors
      
      * Reduced scope of node __setattr__ to apply only to BuildConfig
      
      * Fix lint
      
      * Fix lint
      
      * Changed python BuildConfig to be immutable, with values set once on construction.
      
      * Fix lint
      
      * Fix C++ test
      
      * Fixed BuildConfig setting python-side args
      
      * Fix lint
      
      * Removed dependency on reflection.cc to construct BuildConfig (allow use in runtime library)
      
      * Fix lint
      
      * Revert "Fix lint"
      
      This reverts commit 16ed6d7a1ca5e551b035bad46e8361ea487cd45b.
      
      * Revert "Removed dependency on reflection.cc to construct BuildConfig (allow use in runtime library)"
      
      This reverts commit 43817c97a2ee045791e0c031d962fa97636ce8f6.
      
      * Avoid accessing BuildConfig when using runtime lib
      
      * Fix missing import
      
      * Fix error running under cython (root cause: node handle is not valid until after __init__ has returned, so cannot call __dir__ during __init__
      
      * Fix error where BuildConfig._node_defaults was not copied in build_config()
      
      * Fix lint
      
      * Fix lint
      
      * Fix lint
      
      * Fix lint
      
      * Add comments to python BuildConfig
      alex-weaver committed
  38. 06 Feb, 2018 1 commit