You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Hongbo <no...@github.com.INVALID> on 2021/08/02 15:56:50 UTC

[apache/incubator-teaclave] Add TVM MNIST example and related tests for Teaclave (#535)

## Description

- Enlarge enclave stack for larger tasks
- Enlarge WAMR stack and heap for larger tasks
- Add TVM MNIST example and related tests

Fixes # (issue)

## Type of change (select or add applied and delete the others)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] API change with a documentation update
- [X] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates

## How has this been tested?

## Checklist

- [X] Fork the repo and create your branch from `master`.
- [X] If you&#39;ve added code that should be tested, add tests.
- [ ] If you&#39;ve changed APIs, update the documentation.
- [ ] Ensure the tests pass (see CI results).
- [ ] Make sure your code lints/format.

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/535

-- Commit Summary --

  * init
  * seems work
  * Merge branch &#39;apache:master&#39; into tvm
  * Merge branch &#39;master&#39; of https://github.com/apache/incubator-teaclave into tvm
  * MNIST example done
  * Merge branch &#39;tvm&#39; of https://github.com/ya0guang/incubator-teaclave into tvm
  * add tvm mnist example and relative tests
  * polished, rdy to merge

-- File Changes --

    M cmake/scripts/test.sh (1)
    M docker/teaclave-rt.ubuntu-1804.Dockerfile (3)
    A examples/python/wasm_tvm_mnist.py (108)
    A examples/python/wasm_tvm_mnist_payload/Cargo.toml (40)
    A examples/python/wasm_tvm_mnist_payload/build.rs (23)
    A examples/python/wasm_tvm_mnist_payload/build_lib.py (103)
    A examples/python/wasm_tvm_mnist_payload/data/img_10.jpg (0)
    A examples/python/wasm_tvm_mnist_payload/mnist.wasm (0)
    A examples/python/wasm_tvm_mnist_payload/src/lib.rs (86)
    A examples/python/wasm_tvm_mnist_payload/src/types.rs (208)
    A examples/python/wasm_tvm_mnist_payload/src/utils.rs (72)
    A examples/python/wasm_tvm_mnist_payload/test_lib.py (51)
    M executor/src/wamr.rs (45)
    M services/execution/enclave/Enclave.config.xml (2)
    M services/management/enclave/Enclave.config.xml (2)
    M services/scheduler/enclave/Enclave.config.xml (2)
    M services/storage/enclave/Enclave.config.xml (4)
    A tests/fixtures/functions/wamr_tvm_mnist/img_10.jpg (0)
    A tests/fixtures/functions/wamr_tvm_mnist/img_10.jpg.enc (0)
    A tests/fixtures/functions/wamr_tvm_mnist/mnist.wasm (0)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/535.patch
https://github.com/apache/incubator-teaclave/pull/535.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/535

Re: [apache/incubator-teaclave] Add TVM MNIST example and related tests for Teaclave (#535)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #535 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/535#event-5108471351

Re: [apache/incubator-teaclave] Add TVM MNIST example and related tests for Teaclave (#535)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/535#issuecomment-892336971