Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Modify test cases to accommodate the CI upgrades #14651

Merged
merged 30 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1fbe8aa
[CI] update all the images
yongwww Apr 18, 2023
434b0d4
Update test_config
yongwww Apr 18, 2023
586dc3d
Fix llvm_codegen_test err
yongwww Apr 18, 2023
fb8bc44
Update with newly built images
yongwww Apr 18, 2023
8b8b294
update pylintrc
yongwww Apr 20, 2023
88f1a4d
Update i386 build
yongwww Apr 20, 2023
29cd41b
Don't use ninja for i386
yongwww Apr 22, 2023
67a365a
Update torch tests
yongwww Apr 22, 2023
75b0cd8
Debug i386 platform
yongwww Apr 22, 2023
6759fbf
check ec2 instance type for i386
yongwww Apr 22, 2023
b955ca2
Remove gluoncv ssd example
yongwww Apr 23, 2023
b431b12
Update pylint
yongwww Apr 24, 2023
4f8a258
Update test images
yongwww Apr 24, 2023
23ec72c
Skip torch jit trace issue for arm
yongwww Apr 24, 2023
7c40ab6
Fix pylint
yongwww Apr 24, 2023
bebb4ae
update tests
yongwww Apr 25, 2023
154d8eb
update i386 build
yongwww Apr 25, 2023
61e4cf1
update s3.py to skip non-existing files
yongwww Apr 26, 2023
a294c44
update pylint
yongwww Apr 26, 2023
53e068f
Update pylint
yongwww Apr 26, 2023
f5785fe
Fix tests
yongwww Apr 26, 2023
e96f457
update clang-format to 15
yongwww Apr 26, 2023
0f150d8
update tests for clang-format-15
yongwww Apr 27, 2023
0cea49f
run with newly images
yongwww Apr 27, 2023
417f60d
skip oom test for i386
yongwww Apr 27, 2023
47c7dd8
Upgrade for DGL sample
yongwww Apr 27, 2023
047bc3c
fix black
yongwww Apr 27, 2023
5f8563c
Ignore a warning in doc
yongwww Apr 28, 2023
5939d48
New run with newly images
yongwww May 3, 2023
1c81a2a
Use newly generated tlcpackstaging images
yongwww May 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/bundle_deploy/demo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int main(int argc, char** argv) {
getFunc<void(void*, const char*, void*)>(bundle, "tvm_runtime_set_input")(handle, "data", &input);
gettimeofday(&t2, 0);

auto* ftvm_runtime_run = (auto (*)(void*)->void)dlsym(bundle, "tvm_runtime_run");
auto* ftvm_runtime_run = (auto(*)(void*)->void)dlsym(bundle, "tvm_runtime_run");
assert(!dlerror());
ftvm_runtime_run(handle);
gettimeofday(&t3, 0);
Expand Down
2 changes: 1 addition & 1 deletion apps/bundle_deploy/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int main(int argc, char** argv) {
getFunc<void(void*, const char*, void*)>(bundle, "tvm_runtime_set_input")(handle, "x", &input);
gettimeofday(&t2, 0);

auto* ftvm_runtime_run = (auto (*)(void*)->void)dlsym(bundle, "tvm_runtime_run");
auto* ftvm_runtime_run = (auto(*)(void*)->void)dlsym(bundle, "tvm_runtime_run");
assert(!dlerror());
ftvm_runtime_run(handle);
gettimeofday(&t3, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ uint32_t semihost_cmd(uint32_t opcode, void* arg) {
"mov r1, %[arg]\n\t"
"bkpt #0xab\n\r"
"mov %[ret_val], r0"
: [ ret_val ] "=r"(ret_val)
: [ opcode ] "r"(opcode), [ arg ] "r"(arg)
: [ret_val] "=r"(ret_val)
: [opcode] "r"(opcode), [arg] "r"(arg)
: "r1", "memory");

return ret_val;
Expand Down
20 changes: 10 additions & 10 deletions ci/jenkins/docker-images.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

# This data file is read during when Jenkins runs job to determine docker images.
[jenkins]
ci_arm: tlcpack/ci-arm:20230314-060145-ccc0b9162
ci_cortexm: tlcpackstaging/ci_cortexm:20230124-233207-fd3f8035c
ci_cpu: tlcpack/ci_cpu:20230409-060118-a84a2cbe0
ci_gpu: tlcpack/ci-gpu:20230318-060139-2ff41c615
ci_hexagon: tlcpack/ci_hexagon:20230127-185848-95fa22308
ci_i386: tlcpack/ci-i386:20221013-060115-61c9742ea
ci_lint: tlcpack/ci_lint:20230322-060120-46fb2ff35
ci_minimal: tlcpack/ci-minimal:20230117-070124-125886350
ci_riscv: tlcpack/ci-riscv:20221013-060115-61c9742ea
ci_wasm: tlcpack/ci-wasm:20221013-060115-61c9742ea
ci_arm: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_arm:PR-14635-40ebeb599-30
ci_cortexm: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_cortexm:PR-14635-fb85d4d26-30
ci_cpu: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_cpu:PR-14635-fb85d4d26-30
ci_gpu: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_gpu:PR-14635-d79fd29ea-30
ci_hexagon: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_hexagon:PR-14635-845c1a1cc-30
ci_i386: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_i386:PR-14635-bcb081e15-30
ci_lint: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_lint:PR-14635-bcb081e15-30
ci_minimal: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_minimal:PR-14635-fb85d4d26-30
ci_riscv: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_riscv:PR-14635-fb85d4d26-30
ci_wasm: 477529581014.dkr.ecr.us-west-2.amazonaws.com/ci_wasm:PR-14635-79c056457-30
9 changes: 7 additions & 2 deletions ci/scripts/jenkins/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,19 @@ def s3(source: str, destination: str, recursive: bool) -> List[str]:

if args.items is None:
if args.action == "upload":
logging.error(f"Cannot upload without --items")
logging.error("Cannot upload without --items")
exit(1)
else:
# Download the whole prefix
items = ["."]

else:
items = args.items
items = []
for item in args.items:
if not Path(item).exists():
logging.warning(f"The path doesn't exist: {item}")
else:
items.append(item)

for item in items:
if action == Action.DOWNLOAD:
Expand Down
30 changes: 1 addition & 29 deletions docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,6 @@ TAB_SIZE = 8

ALIASES =

# This tag can be used to specify a number of word-keyword mappings (TCL only).
# A mapping has the form "name=value". For example adding "class=itcl::class"
# will allow you to use the command class in the itcl::class meaning.

TCL_SUBST =

# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
# only. Doxygen will then generate output that is more tailored for C. For
# instance, some of the names that are used will be different. The list of all
Expand Down Expand Up @@ -1025,13 +1019,6 @@ VERBATIM_HEADERS = YES

ALPHABETICAL_INDEX = YES

# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
# which the alphabetical index list will be split.
# Minimum value: 1, maximum value: 20, default value: 5.
# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.

COLS_IN_ALPHA_INDEX = 5

# In case all classes in a project start with a common prefix, all classes will
# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
# can be used to specify a prefix (or a list of prefixes) that should be ignored
Expand Down Expand Up @@ -2057,12 +2044,6 @@ EXTERNAL_GROUPS = YES

#EXTERNAL_PAGES = YES

# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of 'which perl').
# The default file (with absolute path) is: /usr/bin/perl.

PERL_PATH = /usr/bin/perl

#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
Expand All @@ -2076,15 +2057,6 @@ PERL_PATH = /usr/bin/perl

CLASS_DIAGRAMS = YES

# You can define message sequence charts within doxygen comments using the \msc
# command. Doxygen will then run the mscgen tool (see:
# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
# the mscgen tool resides. If left empty the tool is assumed to be found in the
# default search path.

MSCGEN_PATH =

# You can include diagrams made with dia in doxygen documentation. Doxygen will
# then run dia to produce the diagram and insert it in the documentation. The
# DIA_PATH tag allows you to specify the directory where the dia binary resides.
Expand Down Expand Up @@ -2319,7 +2291,7 @@ MSCFILE_DIRS =
# Minimum value: 0, maximum value: 10000, default value: 50.
# This tag requires that the tag HAVE_DOT is set to YES.

DOT_GRAPH_MAX_NODES = 50
DOT_GRAPH_MAX_NODES = 300

# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
# generated by dot. A depth value of 3 means that only nodes reachable from the
Expand Down
4 changes: 0 additions & 4 deletions docs/legacy_redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@
"../../how_to/deploy_models/deploy_quantized.html",
],
["tutorials/frontend/deploy_sparse.html", "../../how_to/deploy_models/deploy_sparse.html"],
[
"tutorials/frontend/deploy_ssd_gluoncv.html",
"../../how_to/deploy_models/deploy_ssd_gluoncv.html",
],
[
"tutorials/dev/bring_your_own_datatypes.html",
"../../how_to/extend_tvm/bring_your_own_datatypes.html",
Expand Down
132 changes: 0 additions & 132 deletions gallery/how_to/deploy_models/deploy_ssd_gluoncv.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def conv2d_layer(N, H, W, CO, CI, KH, KW, stride, padding):
# file and apply it.

# Run auto-tuning (search)
task.tune(tune_option)
# We do not run the tuning in our webpage server since it takes too long.
# Uncomment the following line to run it by yourself.
# task.tune(tune_option)
# Apply the best schedule
sch, args = task.apply_best(log_file)

Expand Down Expand Up @@ -209,4 +211,6 @@ def resume_search(task, log_file):
del measure_ctx


resume_search(task, log_file)
# We do not run the tuning in our webpage server since it takes too long.
# Uncomment the following line to run it by yourself.
# resume_search(task, log_file)
Loading