1. 12 Feb, 2020 1 commit
  2. 07 Feb, 2020 1 commit
    • [REFACTOR][PY][API-Change] Polish tvm.runtime, tvm.runtime.module API update (#4837) · e0122c0e
      * [REFACTOR][PY-API] Polish tvm.runtime, tvm.runtime.module API update
      
      This PR updates the tvm.runtime to use the new FFI style.
      
      - Remove top-level tvm.module to avoid confusion between runtime.Module and IRModule
      - API changes wrt to runtime.Module
        - tvm.module.load -> tvm.runtime.load_module
        - tvm.module.enabled -> tvm.runtime.enabled
        - tvm.module.system_lib -> tvm.runtime.system_lib
      - Remove dep on api_internal from runtime.
      
      * Update module.load in the latest API
      Tianqi Chen committed
  3. 16 Jan, 2020 1 commit
  4. 23 Dec, 2019 1 commit
  5. 26 Nov, 2019 1 commit
  6. 18 Nov, 2019 1 commit
  7. 10 Nov, 2019 1 commit
  8. 06 Nov, 2019 1 commit
  9. 23 Oct, 2019 1 commit
  10. 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
  11. 20 Jun, 2019 1 commit
  12. 10 Apr, 2019 1 commit
  13. 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
  14. 05 Apr, 2019 1 commit
  15. 14 Mar, 2019 1 commit
  16. 10 Aug, 2018 1 commit
  17. 30 Jul, 2018 1 commit
  18. 27 Jul, 2018 1 commit
  19. 24 Jul, 2018 1 commit
  20. 22 Jul, 2018 1 commit
  21. 20 Jul, 2018 1 commit
  22. 09 Jul, 2018 1 commit
  23. 08 Jul, 2018 1 commit
  24. 30 Jun, 2018 1 commit
  25. 11 Jun, 2018 1 commit
  26. 01 Jun, 2018 1 commit
  27. 29 May, 2018 1 commit
  28. 05 Apr, 2018 1 commit
  29. 19 Mar, 2018 1 commit
  30. 03 Nov, 2017 1 commit
  31. 27 Aug, 2017 1 commit
  32. 25 Aug, 2017 1 commit
    • [APP] Android RPC (#359) · 0ee68d72
      * [APP] Android RPC first version
      
      * [APP] Android RPC build jni automatically
      
      * [APP] Android OpenCL RPC tested on real devices
      
      * [APP] optimize android app interface. add ndk compile tool
      
      * add ndk compile tool
      
      * [APP] fix android app thread crash; add android test script
      
      * [APP] android app - show alert dialog and disconnect when error occurs
      
      * fix ndk build script code lint
      
      * fix ndk build default argument
      
      * ndk script build remove shell=True. disable android app screen orientation
      Yizhi Liu committed
  33. 10 Aug, 2017 1 commit
  34. 08 Aug, 2017 1 commit
  35. 27 Jul, 2017 1 commit
  36. 20 Jul, 2017 1 commit
    • [tvm4j] register user-defined function (#251) · 68c4400e
      * [tvm4j] register user-defined function
      
      * [tvm4j] define java function (pushArgToStack) to convert arguments to C TVMValue
      
      * [tvm4j] make Module & Function extends TVMValue
      
      * [tvm4j] make registered cb function return Object
      
      * [tvm4j] add cb finalizer; add TVMValueBytes
      
      * [tvm4j] support NDArrayBase cb arg
      
      * [tvm4j] register cb function unit tests
      
      * [tvm4j] pass Function.Callback to resource_handle
      
      * [tvm4j] fix type cast
      Yizhi Liu committed
  37. 15 Jul, 2017 1 commit
    • [WIP][Frontend] Scala/Java package (#176) · d3efd7fc
      * JVM package skeleton
      
      * [JVM] link libtvm.so and list function names
      
      * [JVM] Function & NDArray skeleton
      
      * [JVM] TVMFuncCall in JNI
      
      * [JVM] handle string arg in TVMFuncCall
      
      * [JVM] get module function
      
      * [JVM] entry function for Module
      
      * [JVM] construct Module from function return value
      
      * [JVM] TVMContext, TVMArray attributes
      
      * [JVM] NDArray from / to java array
      
      * [JVM] load so and compute on cpu
      
      * [JVM] move PackedFunc to individual modules
      
      * [JVM] assembly package & native library loader
      
      * [JVM] unit test & codestyle check settings
      
      * [JVM] NDArray from & to different dtypes
      
      * [JVM] NDArray from native double array. Add linux-cpu profile.
      
      * [JVM] modify Makefile
      
      * [JVM] add linux-x86_64-gpu profile
      
      * [tvm4j] delay load libtvm_runtime.so
      
      * [tvm4j] refactor to pure java
      
      * [tvm4j] remove scalastyle-config.xml
      
      * [tvm4j] remove link HalideIR, remove Shape, remove scala binary versions
      
      * [tvm4j] only allow convert from/to same type array
      
      * [tvm4j] make NDArray api more readable
      
      * [tvm4j] refactor for c api
      
      * [tvm4j] add Jenkins tests
      
      * [tvm4j] fix duplicate Dockerfile cmd
      
      * [tvm4j] fix ut script filename
      
      * [tvm4j] add module load tests
      
      * [tvm4j] add javadoc, remove types package
      
      * [tvm4j] fix test script
      
      * [tvm4j] remove ut temp dir
      
      * [tvm4j] fix missing package types
      
      * [tvm4j] java code style check
      
      * [tvm4j] fix java lint
      
      * [tvm4j] downgrade checkstyle plugin for JDK7
      
      * [tvm4j] add stylecheck in jenkins tests
      
      * [tvm4j] specify source file encoding
      
      * [tvm4j] lazy init function; add Function.call() api; allow manully release Module,NDArray,Function
      
      * [tvm4j] fix ModFree
      
      * [tvm4j] cache Function in API
      Yizhi Liu committed