Skip to content

Commit

Permalink
fix micro test
Browse files Browse the repository at this point in the history
  • Loading branch information
gigiblender committed Jan 12, 2023
1 parent 9497f30 commit e674777
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ if [ "$architecture_type" != "aarch64" ]; then
# We need it to be x86 to be able to call it when building TVM. We just copy and use the x86 one instead.
cp /usr/bin/llvm-config /usr/llvm-aarch64/bin/llvm-config
fi

9 changes: 6 additions & 3 deletions tests/python/unittest/test_micro_ms_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,20 @@
from types import MappingProxyType
import pathlib
import json
from tests.micro.zephyr.test_ms_tuning import create_relay_module
import tvm
import tvm.testing
from tvm import relay
from tvm.relay.backend import Executor
from tvm.contrib import graph_executor, utils
from tvm import meta_schedule as ms
from tvm.contrib.micro.meta_schedule.local_builder_micro import get_local_builder_micro
from tvm.contrib.micro.meta_schedule.rpc_runner_micro import get_rpc_runner_micro


@tvm.testing.requires_micro
def test_micro_tuning_with_meta_schedule():
from tests.micro.zephyr.test_ms_tuning import create_relay_module
from tvm.contrib.micro.meta_schedule.local_builder_micro import get_local_builder_micro
from tvm.contrib.micro.meta_schedule.rpc_runner_micro import get_rpc_runner_micro

platform = "crt"
target = tvm.target.target.micro(model="host")
options = {}
Expand Down

0 comments on commit e674777

Please sign in to comment.