Skip to content

Commit

Permalink
[microTVM] Fix RVM onnx dependency and Zephyr document update (apache…
Browse files Browse the repository at this point in the history
…#7774)

* fixing poetry

* fix onnx issue

* add zephyr README

* Update README.md

* clean up

* moved onnx

* replace with poetry

* add tflie
  • Loading branch information
mehrdadh authored and Trevor Morris committed May 6, 2021
1 parent 885760b commit a7c1df3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions apps/microtvm/reference-vm/zephyr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->

<!--- http://www.apache.org/licenses/LICENSE-2.0 -->

<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

# microTVM Zephyr Reference Virtual Machine

This directory contains setup files for Zephyr virtual machine used for testing microTVM platforms
that are supported by [Zephyr Project](https://zephyrproject.org/).

## VM Information for Developers
Zephyr VM is published under [tlcpack/microtvm-zephyr](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr).
Here is a list of different release versions and their tools.

### [v0.0.4](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr/versions/0.0.4)

- Zephyr [version 2.4.0]
- Zephyr SDK [version 0.11.3]
- nRFjProg [version 10.9.0]
4 changes: 4 additions & 0 deletions apps/microtvm/reference-vm/zephyr/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ poetry env use 3.6
# NOTE: due to https://github.com/python-poetry/poetry/issues/2247, download torch here.
poetry run pip3 install torch==1.4.0 torchvision==0.5.0

# importers
poetry install -E importer-onnx
poetry install -E importer-tflite

echo "------------------------------[ TVM Message ]------------------------------"
echo "WARNING: running 'poetry lock', which could take several minutes (depending"
echo "on your network connection and the state of PyPI) as dependencies are"
Expand Down

0 comments on commit a7c1df3

Please sign in to comment.