tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tqc...@apache.org
Subject [incubator-tvm] branch master updated (93dff44 -> 41e1d5f)
Date Tue, 10 Mar 2020 02:35:27 GMT
This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.


    from 93dff44  [REDO AFTER GH BUG] Add support for quantized models via QNN (#5016)
     add 41e1d5f  Revive the Rust + SGX refactor (#4976)

No new revisions were added by this update.

Summary of changes:
 CMakeLists.txt                                     |   8 -
 Jenkinsfile                                        |   1 +
 apps/sgx/.cargo/config                             |   5 +
 apps/sgx/.gitignore                                |   1 -
 apps/sgx/.rustfmt.toml                             |   1 +
 apps/sgx/Cargo.lock                                | 750 +++++++++++++++++++++
 apps/sgx/{enclave => }/Cargo.toml                  |  16 +-
 apps/sgx/Makefile                                  | 106 ---
 apps/sgx/README.md                                 |  66 +-
 apps/sgx/build.rs                                  |  84 +++
 apps/sgx/enclave/.rustfmt.toml                     |   1 -
 apps/sgx/enclave/Makefile                          |  59 --
 apps/sgx/enclave/Xargo.toml                        |  30 -
 apps/sgx/enclave/build.rs                          |  28 -
 apps/sgx/enclave/enclave.lds                       |   9 -
 apps/sgx/enclave/enclave_config.xml.in             |  11 -
 apps/sgx/enclave/sgx-deps.diff                     |  13 -
 apps/sgx/enclave/src/lib.rs                        | 155 -----
 apps/sgx/enclave/x86_64-unknown-linux-sgx.json     |  31 -
 .../sgx/read_results.py                            |  18 +-
 apps/sgx/run_example.sh                            |  26 -
 apps/sgx/run_model.py                              |  39 --
 apps/sgx/{enclave => }/src/build_model.py          |  14 +-
 apps/sgx/src/main.rs                               |  51 ++
 cmake/modules/SGX.cmake                            |  70 --
 docker/install/install_tvm_cpu.sh                  |   2 -
 docker/install/ubuntu_install_sgx.sh               |  41 --
 include/tvm/runtime/device_api.h                   |   3 -
 include/tvm/runtime/packed_func.h                  |  23 -
 rust/.rustfmt.toml                                 |  14 +-
 rust/Cargo.toml                                    |   1 +
 rust/common/Cargo.toml                             |   6 +-
 rust/common/build.rs                               |   5 +-
 rust/common/src/lib.rs                             |   4 +-
 rust/common/src/packed_func.rs                     |  67 +-
 rust/common/src/value.rs                           |  50 +-
 rust/frontend/Cargo.toml                           |  12 +-
 rust/frontend/examples/resnet/Cargo.toml           |   6 +-
 rust/frontend/examples/resnet/src/main.rs          |   4 +-
 rust/frontend/src/function.rs                      |  43 +-
 rust/frontend/src/lib.rs                           |   4 +-
 rust/frontend/src/module.rs                        |   6 +-
 rust/frontend/src/ndarray.rs                       |  37 +-
 rust/frontend/src/value.rs                         |   2 +-
 rust/frontend/tests/basics/Cargo.toml              |   2 +-
 rust/frontend/tests/basics/src/main.rs             |   2 +-
 rust/frontend/tests/callback/Cargo.toml            |   2 +-
 rust/frontend/tests/callback/src/bin/array.rs      |   4 +-
 rust/frontend/tests/callback/src/bin/error.rs      |   9 +-
 rust/macros/Cargo.toml                             |   9 +-
 rust/macros/src/lib.rs                             | 106 +--
 rust/{macros => macros_raw}/Cargo.toml             |  12 +-
 rust/{macros => macros_raw}/src/lib.rs             |  35 +-
 rust/runtime/Cargo.toml                            |  26 +-
 rust/runtime/src/allocator.rs                      |  22 +-
 rust/runtime/src/array.rs                          |  54 +-
 rust/runtime/src/errors.rs                         |   6 -
 rust/runtime/src/graph.rs                          | 159 +++--
 rust/runtime/src/lib.rs                            |  23 +-
 rust/runtime/src/module/dso.rs                     |  20 +-
 rust/runtime/src/module/mod.rs                     |   6 +-
 rust/runtime/src/module/syslib.rs                  |  14 +-
 rust/runtime/src/sgx.rs                            | 101 ---
 rust/runtime/src/threading.rs                      | 152 +----
 rust/runtime/src/workspace.rs                      |  23 +-
 rust/runtime/tests/test_graph_serde.rs             |  31 +-
 rust/runtime/tests/test_nn/Cargo.toml              |   8 +-
 rust/runtime/tests/test_nn/src/main.rs             |   8 +-
 rust/runtime/tests/test_tvm_basic/Cargo.toml       |   4 +-
 src/runtime/c_runtime_api.cc                       |  15 -
 src/runtime/contrib/random/random.cc               |   4 -
 src/runtime/contrib/random/sgx_random_engine.cc    | 308 ---------
 src/runtime/cpu_device_api.cc                      |   2 +-
 src/runtime/file_util.cc                           |   1 -
 src/runtime/graph/graph_runtime.cc                 |   4 -
 src/runtime/library_module.cc                      |   7 -
 src/runtime/module.cc                              |   6 -
 src/runtime/sgx/common.h                           |  43 --
 src/runtime/sgx/trusted/ecall_registry.h           | 109 ---
 src/runtime/sgx/trusted/runtime.cc                 |  93 ---
 src/runtime/sgx/trusted/runtime.h                  |  61 --
 src/runtime/sgx/trusted/threading_backend.cc       |  96 ---
 src/runtime/sgx/tvm.edl                            |  26 -
 src/runtime/sgx/untrusted/sgx_module.cc            | 254 -------
 src/runtime/thread_pool.cc                         |  12 +-
 tests/lint/check_file_type.py                      |   5 +-
 86 files changed, 1370 insertions(+), 2437 deletions(-)
 create mode 100644 apps/sgx/.cargo/config
 delete mode 100644 apps/sgx/.gitignore
 create mode 120000 apps/sgx/.rustfmt.toml
 create mode 100644 apps/sgx/Cargo.lock
 rename apps/sgx/{enclave => }/Cargo.toml (77%)
 delete mode 100644 apps/sgx/Makefile
 create mode 100644 apps/sgx/build.rs
 delete mode 120000 apps/sgx/enclave/.rustfmt.toml
 delete mode 100644 apps/sgx/enclave/Makefile
 delete mode 100644 apps/sgx/enclave/Xargo.toml
 delete mode 100644 apps/sgx/enclave/build.rs
 delete mode 100644 apps/sgx/enclave/enclave.lds
 delete mode 100644 apps/sgx/enclave/enclave_config.xml.in
 delete mode 100644 apps/sgx/enclave/sgx-deps.diff
 delete mode 100644 apps/sgx/enclave/src/lib.rs
 delete mode 100644 apps/sgx/enclave/x86_64-unknown-linux-sgx.json
 copy tests/scripts/task_python_nightly.sh => apps/sgx/read_results.py (77%)
 mode change 100755 => 100644
 delete mode 100755 apps/sgx/run_example.sh
 delete mode 100644 apps/sgx/run_model.py
 rename apps/sgx/{enclave => }/src/build_model.py (87%)
 mode change 100644 => 100755
 create mode 100644 apps/sgx/src/main.rs
 delete mode 100644 cmake/modules/SGX.cmake
 delete mode 100755 docker/install/ubuntu_install_sgx.sh
 copy rust/{macros => macros_raw}/Cargo.toml (90%)
 copy rust/{macros => macros_raw}/src/lib.rs (82%)
 delete mode 100644 rust/runtime/src/sgx.rs
 delete mode 100644 src/runtime/contrib/random/sgx_random_engine.cc
 delete mode 100644 src/runtime/sgx/common.h
 delete mode 100644 src/runtime/sgx/trusted/ecall_registry.h
 delete mode 100644 src/runtime/sgx/trusted/runtime.cc
 delete mode 100644 src/runtime/sgx/trusted/runtime.h
 delete mode 100644 src/runtime/sgx/trusted/threading_backend.cc
 delete mode 100644 src/runtime/sgx/tvm.edl
 delete mode 100644 src/runtime/sgx/untrusted/sgx_module.cc


Mime
View raw message