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

Sync from apache/tvm 12/2/2020, Replace TRT integration with JSONRuntime implementation #181

Merged
merged 258 commits into from
Dec 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
7e431e5
[Docker] Update CI CPU and GPU images based on new Docker build files…
jroesch Oct 16, 2020
9429c66
[FIX,MICROTVM] Skip microtvm tests if microtvm is not built (#6693)
tkonolige Oct 16, 2020
9703834
[TFLite] Fix detection of crop in convert_batch_to_space_nd (#6670)
Oct 16, 2020
334f97a
Fix tutorial broken by Docker build (#6694)
jroesch Oct 16, 2020
708e1fa
[Torch, Quantization] Necessary workaround to prepare for 1.6 update …
masahi Oct 16, 2020
72e79f4
[Relay] Change some passes to mix mode (#6695)
lixiaoquan Oct 16, 2020
5121ec6
[LLVM][WINDOWS] Recover windows support for the latest LLVM (#6698)
tqchen Oct 16, 2020
7687269
Resolve more warnings in msvc (#6702)
tqchen Oct 17, 2020
9b35e3b
Add cloudpickle dependency to docker images (#6701)
tkonolige Oct 18, 2020
acc7b73
Refactor diagnostic to avoid circular dependencies (#6692)
rkimball Oct 18, 2020
ce34c45
[TEST] Address flaky error in test_any (#6705)
tqchen Oct 18, 2020
fdf5474
[Frontend][Relay] Fix MXNet frontend to support NLP backbones in Gluo…
sxjscience Oct 18, 2020
19ec8f5
[PYTHON][WINDOWS] More robust dll loading behavior after python3.8 (#…
tqchen Oct 18, 2020
a82f52e
[AutoScheduler] Add task scheduler (#6663)
merrymercy Oct 19, 2020
1e66bfb
[AutoSchedule] Support multiple cache read and fix bugs (#6686)
comaniac Oct 19, 2020
cc1b8d0
[CI] Update docker to latest (#6708)
tqchen Oct 19, 2020
a5cc256
Fix the Type bug in ConvertSSA. (#6709)
Presburger Oct 19, 2020
bb767ac
[BYOC][TensorRT] TensorRT BYOC integration (#6395)
Oct 19, 2020
7edbfcf
[Relay][Frontend][Onnx] Loop Support (#6700)
jwfromm Oct 20, 2020
107a8fa
[Bugfix] Auto scheduler tutorial failure on CI (#6723)
comaniac Oct 21, 2020
a133fa5
Fix InferCorrectLayout for dynamic upsampling and add a regression te…
Oct 21, 2020
9a0c83b
[TVMScript] refactor (#6734)
spectrometerHBH Oct 22, 2020
7607ade
[AutoScheduler] Use tempfile in tutorials (#6728)
comaniac Oct 22, 2020
f8f17a3
[FIX] Fix cublas batch matmul (#6715)
sxjscience Oct 22, 2020
4ab71f4
[FIX,CMAKE] Use set_property with append flag instead of (#6725)
tkonolige Oct 22, 2020
9769add
[COMMUNITY] junrushao1994 -> committer (#6719)
zhiics Oct 22, 2020
3f81fd9
[LLVM] Create fixed vector size according to latest LLVM12+ changes (…
Oct 22, 2020
cc21fea
[AutoScheduler] Guarantee init population sampling outputs a valid se…
comaniac Oct 23, 2020
ea96ff0
[Relay] Minor fix for some TF OD models (#6729)
kevinthesun Oct 23, 2020
a22e84e
[CONDA] Revamp conda recipe. (#6732)
tqchen Oct 24, 2020
323ecd3
[Hexagon] Use nullptr instead of 0 in hexagon_device_sim.cc (#6718)
Oct 24, 2020
0e3a2f2
[Docker] Turn on Rust docs and MxNet based ResNet (#6640)
jroesch Oct 24, 2020
4e5ce77
[RELAY] Refactor FoldConstant to skip TNonComputationalOps (#6720)
electriclilies Oct 24, 2020
f2dc4f3
Add pytest-xdist and pytest-profiling to the base installation packag…
Oct 24, 2020
a2816b8
[FFI][BUGFIX] Fix memory leak when Pac callback argument is NDArray (…
tqchen Oct 24, 2020
397e075
[LLVM] Avoid warnings when compiling getNumElements with LLVM12+ (#6738)
Oct 24, 2020
57441b6
Add BatchNormAttrs Rust bindings (#6678)
gussmith23 Oct 24, 2020
c39de69
[Torch] Support bincount and scatter_add ops (#6740)
masahi Oct 24, 2020
729b30a
[Docker][CI][BYODT] add universal to Docker image (#6654)
hypercubestart Oct 24, 2020
97cc1ac
[Relay][Frontend] Tensorflow version support upgrade from 2.1.0 to 2.…
Oct 24, 2020
9e5cfd7
Update include and src dir CHECK* to ICHECK* (#6745)
rkimball Oct 24, 2020
6d27055
[MKL] Fix offloading of batch_matmul to MKL (#6752)
masahi Oct 25, 2020
7966d68
[WASM] Update support for latest emcc, add ffi test. (#6751)
tqchen Oct 25, 2020
22b4be3
add onnx resize v10 and unit test (#6726)
Oct 25, 2020
1262930
[CI] Update wasm emcc to latest (#6755)
tqchen Oct 25, 2020
4d668b6
[CI] Introduce all platform test for windows/mac/linux. (#6756)
tqchen Oct 25, 2020
5b03ce7
[BUGFIX] Fix topi matrix multiplication using tensorcore to run faste…
MasterJH5574 Oct 26, 2020
a4e719f
[Fix,Conda] update conda download url (#6760)
shibuiwilliam Oct 26, 2020
1e1a5e3
[ARITH] iter_affine_map bug fix, stride generalize (#6753)
spectrometerHBH Oct 26, 2020
b3f9747
[FIX,PYLINT] Fix pylint errors on MacOS with Python 3.8 (#6746)
tkonolige Oct 26, 2020
d80b94e
[VERSION] Enhance version.py to support git-describe. (#6757)
tqchen Oct 26, 2020
8991282
[TVMC] 'tvmc run' --rpc-tracker and --rpc-tracker fail due to argpars…
leandron Oct 26, 2020
4b1028c
More CHECK to ICHECK (#6758)
rkimball Oct 26, 2020
684fa0c
[LLVM] Add target feature string to function attributes (#6763)
Oct 26, 2020
bc54cd5
[FIX,MICROTVM] Add requires_micro decorators to microtvm tests (#6747)
tkonolige Oct 26, 2020
b845dd3
[Relay] A set of utilities that allows a model to be run efficiently …
jwfromm Oct 26, 2020
9d578ae
[VERSION] Make script path invariant (#6766)
tqchen Oct 27, 2020
0b9907c
[AutoScheduler] Re-organize logs files for tutorials (#6768)
merrymercy Oct 27, 2020
da52ebb
[CI] Update PyXIR version to 0.1.3 (#6769)
shibuiwilliam Oct 27, 2020
a6a1ff0
[CI] Update ci-wasm to latest (#6772)
tqchen Oct 27, 2020
5147534
[Relay, TOPI] Complete rewrite of where op to support broadcasting (#…
masahi Oct 28, 2020
fe60133
[Relay] Fix dynamic case for Squeeze and Split (#6739)
lixiaoquan Oct 28, 2020
d75a7ca
Scatter on Cuda (#6533)
Oct 28, 2020
0236c90
[ARITH] Tight bound for floormod (#6771)
hzfan Oct 28, 2020
1cb1c37
Fix version check bug (#6784)
codeislife99 Oct 28, 2020
9bd74dc
[API] Added remove_global_func to the Python API (#6787)
mbaret Oct 28, 2020
afe10fa
[ManifestAlloc] Handle TupleType inputs in CheckReshapeOnly (#6776)
rohanmukh Oct 28, 2020
19d3d88
[Relay][Training] Add more missing gradients (#6767)
altanh Oct 28, 2020
220248b
[FIX][AUTOTVM] Make autotvm work with spawn (#6790)
Oct 29, 2020
38a8be6
[Torch, QNN] Support dynamic quantization flow to enable importing qu…
masahi Oct 29, 2020
8062fdd
TFLite failures resulted from TF latest version upgrade resolved (#6774)
Oct 29, 2020
3dd35f2
[VTA] quant support for alu-only op (#6191)
zhanghaohit Oct 29, 2020
eac0c9c
Only use thrust for cuda target (#6722)
Oct 29, 2020
9f17c31
[REFACTOR] Remainings of util => utils (#6778)
tqchen Oct 29, 2020
1903b1d
TF frontend: add expm1 op (#6783)
alter-xp Oct 29, 2020
3e3963b
[TVMC] use common function to obtain target from --target value on 't…
leandron Oct 29, 2020
9bd17d3
fix a bug in convertSSA. (#6785)
Presburger Oct 29, 2020
b8ac760
[QNN] Optimize requantize for power of 2 and fix dequantize for per-c…
anijain2305 Oct 29, 2020
33c3688
[FIX,AUTOSCHEDULER] Fix auto_scheduler to run with multiprocessing's …
tkonolige Oct 29, 2020
f5993ec
[CI] Keras version upgraded from 2.3.1 to 2.4.3 (#6793)
Oct 29, 2020
5dd2d5a
[TVMSCRIPT] Add synr dependency in preparation for tvmscript diagnost…
Oct 30, 2020
5702f9f
[BYOC] Allow custom codegens to register their own constant updater (…
mbaret Oct 30, 2020
3a1bb25
[AutoScheduler] Relay integration : Task extraction (#6710)
merrymercy Oct 30, 2020
2a1bae5
Fix mutate auto unroll (#6807)
merrymercy Oct 31, 2020
f73b128
[CI] Pin h5py version to < 3.0 to workaround issues with TF/Keras (#6…
leandron Oct 31, 2020
89d7901
Extract channels from weight shape for conv2d. (#6805)
jwfromm Oct 31, 2020
e012198
[µTVM] Add serial transport, parameterize µTVM Zephyr test, run on ph…
areusch Oct 31, 2020
fd6daea
[CI] Add m6g instance (ARM64) to mainline CI (#6804)
zhiics Oct 31, 2020
15a358b
[CI] Move back Keras to 2.4.3 (#6810)
leandron Nov 1, 2020
8f2beac
[CI] Update to latest (#6812)
tqchen Nov 1, 2020
1c1560f
[OBJECT] Update types slots for baseexpr and primexpr (#6814)
tqchen Nov 1, 2020
72ab03f
[Rust][Diagnostics] Add initial boilerplate for Rust diagnostic inter…
jroesch Nov 2, 2020
3b7b5dc
TF frontend: add softsign op (#6799)
alter-xp Nov 2, 2020
6db2d3a
[TENSORFLOW]Sparse2Dense support (#5767)
siju-samuel Nov 2, 2020
aca586f
[AutoScheduler] New layout rewrite option: Weight pre-transpose (#6750)
jcf94 Nov 2, 2020
17973cf
Update stale link to new location (#6819)
tqchen Nov 2, 2020
1df70a1
[rust][tvm-graph-rt]: maintain error sources when propagating errors,…
adelbertc Nov 2, 2020
1028daf
Improve AArch64 depthwise convolution through smlal/smlal2 intrinsic …
Nov 3, 2020
a20bbd8
[CI] Torch 1.7 update to mainline (#6828)
masahi Nov 3, 2020
e46a609
[TF] Fix a bug in _stridedSlice() (#6829)
lixiaoquan Nov 3, 2020
b4e4cdf
[CI] remove unused environment var (#6824)
zhiics Nov 3, 2020
0f99c67
[TVMC] 'tvmc tune' --rpc-tracker and --rpc-tracker fail due to argpar…
Nov 3, 2020
3f59a62
Fix Annotate Target to support freevars(relay.zeros, relay.ones etc) …
codeislife99 Nov 3, 2020
c693921
[DOCS] Enable theme with header and footer. (#6834)
tqchen Nov 3, 2020
fa99c39
Update link (#6838)
tqchen Nov 4, 2020
f6b8067
[BYOC] FTVMAnnotateTarget method signature update (#6786)
d-smirnov Nov 4, 2020
85c2c0e
[CI] Disable flaky tests (#6841)
comaniac Nov 4, 2020
8b1ccc9
[Relay][Frontend] SparseTensorDenseMatMul support for Tensorflow (#6685)
Nov 4, 2020
925d057
Register shape functions for some image related ops (#6373)
Laurawly Nov 4, 2020
68a2867
[TopHub] Bump the versions (#6837)
comaniac Nov 4, 2020
8e8d73d
[Graph memory plan] Support nested tuples (#6809)
masahi Nov 4, 2020
275d3de
[CI] Add python setup script (#6844)
tqchen Nov 4, 2020
9e458a2
Syntax error String::fromwe() should be String::from() (#6846)
mikeseven Nov 4, 2020
acee155
[AutoScheduler] Bug fix for layout rewrite CI error in i386 (#6830)
jcf94 Nov 4, 2020
4b31988
[CI] Add more guidelines about local setup (#6848)
tqchen Nov 4, 2020
5d1a4e9
[FIX] Add task_ci_python_setup.sh to the arm CI (#6850)
tkonolige Nov 5, 2020
eb8be76
Update SimplifyInference documentation (#6853)
gussmith23 Nov 5, 2020
1e58427
[µTVM] Add virtual machine, test zephyr runtime on real hardware (#6703)
areusch Nov 5, 2020
0178a8b
[Rust][IRModule] Flesh out IRModule methods (#6741)
jroesch Nov 5, 2020
334140b
[TOPI] Enable scatter_add on GPU (#6856)
masahi Nov 5, 2020
90ddf10
[Relay][Frontend][Onnx] If Operator Support (#6730)
jwfromm Nov 6, 2020
b9c2ed1
[QNN] Dynamic scale, zero point in qnn.op.dequantize (#6849)
electriclilies Nov 6, 2020
b1aa82c
[TVMSCRIPT] Using diagnostics for TVM Script (#6797)
tkonolige Nov 6, 2020
a01a03a
[BYOC] [ACL] ACL Runtime padding workaround (#6724)
d-smirnov Nov 6, 2020
72ae683
Fix the build error for wasm-standalone app (#6862)
leonwanghui Nov 6, 2020
887dccd
Update arm_compute_lib.rst (#6861)
siju-samuel Nov 6, 2020
875a561
[Bugfix][Module] Fix recursive GetFunction in runtime::Module (#6859)
junrushao Nov 6, 2020
f5805e5
[BYOC][CONTRIB] Vitis-AI codegen integration (#6343)
anilmartha Nov 6, 2020
4a0b368
[TIR] Make loop unrolling in LoopPartition optional (#6823)
mbaret Nov 6, 2020
26e3e2a
[RELAY][OP] Support MXNet-style attributes for reshape_like (#6851)
altanh Nov 6, 2020
770b60f
fix first-order AD on tuple arguments (#6827)
altanh Nov 6, 2020
c9563c8
[Relay] Mix mode type inference (#6704)
lixiaoquan Nov 6, 2020
fb0452b
[FIX,RPC] Skip RPC tests when using multiprocessing's spawn method (#…
tkonolige Nov 6, 2020
9a801b4
Add smmla/ummla support in quantized Conv2d (#6802)
Nov 6, 2020
72bc5a7
Update search for bitcode files for rocm 3.9 (#6865)
t-vi Nov 7, 2020
12ab455
making quantization tweaks (#6731)
tmoreau89 Nov 7, 2020
d8fb974
conv1d_transpose speedup. (#6840)
alexgl-github Nov 7, 2020
74bc0fd
Fix bug in processing script (#6867)
hogepodge Nov 7, 2020
a7e1c38
[COMMUNITY] New committer -- @mbaret (#6873)
tqchen Nov 7, 2020
7a3e44f
[AutoScheduler] Make SearchTask and ComputeDAG serializable (#6842)
comaniac Nov 7, 2020
5a486db
[BYOC][TRT] Allocate GPU data buffers and transfer data when needed (…
Nov 7, 2020
19b605e
register auto-scheduler to more ops (#6879)
merrymercy Nov 8, 2020
dab8783
More flexible conv2d_NCHWc_int8 generic operator. (#6714)
cbalint13 Nov 8, 2020
3288531
[AutoScheduler] Fix the occasional crash caused by split memo (#6883)
merrymercy Nov 8, 2020
6dae2b0
[DOC] Improve the order of tutorials within a subsection (#6880)
merrymercy Nov 8, 2020
b846e50
[RELAY][OP] roi_pool operator alter layout (#6516)
Beya2019 Nov 8, 2020
7a13321
Do not show meta-data when printing IRModule (#6881)
merrymercy Nov 8, 2020
0135dc1
TF frontend: add rint op (#6818)
alter-xp Nov 9, 2020
e385676
[Relay][TF] Keep node name in span (#6885)
lixiaoquan Nov 9, 2020
7697781
[TVMC] add cl support in tvmc runner (#6831)
euntaik Nov 10, 2020
cb5c12b
[GCC] Fix GCC8.1 and GCC8.2 template dispatch compilation issue (#6893)
FrozenGene Nov 10, 2020
5904443
Fix bug of generate-unmatched-brackets in CodeGenC::PrintSSAAssign (#…
Light-of-Hers Nov 10, 2020
0266721
[TIR] Add spans to all ExprNodes (#6860)
tkonolige Nov 11, 2020
746ad51
[AutoScheduler] Improve tuning with random cost model (#6835)
comaniac Nov 11, 2020
2b40d3f
fix (#6902)
icemelon Nov 11, 2020
c94d2c5
Dynamic gpu tests, add dynamic strided slice to topi (#6870)
Nov 11, 2020
230dcd2
[AutoScheduler] Add winograd support in tuning networks (#6877)
merrymercy Nov 12, 2020
9674d49
Bump up tophup cuda version (#6908)
alexgl-github Nov 12, 2020
e09edaa
[TFLite runtime] Allow to set number of threads to TFLite interpreter…
tmoreau89 Nov 12, 2020
b11f173
[AutoScheduler] Tutorial on auto-scheduling a network for GPU (#6882)
merrymercy Nov 13, 2020
fcf9e78
Fix edge cases in const_int_bound and fold_scale_axis (#6911)
Nov 13, 2020
c5aebfa
[TRT][BYOC] handling dynamism in TensorRT to support OD models (#6905)
rohanmukh Nov 13, 2020
0584634
Consolidate RPC Context helper functions (#6915)
areusch Nov 14, 2020
1552a76
Make TVMLogf platform-independent (#6916)
areusch Nov 14, 2020
a9017dc
[TF parser] Handle int64 dtype in range (#6918)
anijain2305 Nov 14, 2020
7483aa2
[ShapeFunc] Handle weights in shape func (#6912)
anijain2305 Nov 14, 2020
ca61eb8
[Doc] Minor improvements for auto-tuning tutorials (#6919)
merrymercy Nov 15, 2020
32129b6
[Relay] Add dynamic SparseToDense (#6892)
lixiaoquan Nov 16, 2020
a661896
[CI] Update actions miniconda (#6926)
tqchen Nov 16, 2020
9167d72
[AutoSchedule] Extract tasks via compile engine (#6903)
comaniac Nov 17, 2020
82abda7
Make AutoScheduler handling of errors during measure consistent with …
TaylorZowtuk Nov 17, 2020
ddc295f
[Relay] Add space_to_batch_nd and batch_to_space_nd operators (#6477)
BhushanIMG Nov 17, 2020
9978f7f
[AutoTVM][RPCRunner] timeout is not passed correctly (#6924)
bernhardklein Nov 17, 2020
25c71ab
[CI] Install libc6-dev-i386 to compile wasm32 (#6886)
kazum Nov 17, 2020
b12a9db
[TensorFlow] Support NonMaxSuppressionV5 (#6933)
Nov 17, 2020
0c5df01
[DOC] Fix typo (#6920)
wweic Nov 18, 2020
6aa3d96
[AutoScheduler] Fix task scheduler restoring (#6934)
comaniac Nov 18, 2020
7ecb739
[COMMUNITY] New committer -- @mbrookhart (#6936)
yzhliu Nov 18, 2020
e21424c
Add Handling of Zero Len Arguments (#6923)
codeislife99 Nov 18, 2020
110f268
[AutoScheduler] Improve warning messages (#6935)
merrymercy Nov 18, 2020
792e4f2
explicitly use new to avoid exit-time destruction of global state for…
Nov 19, 2020
34d921c
Lazy import XGBoost (#6939)
comaniac Nov 19, 2020
8e1deb0
[µTVM] Fix problems with the debug flow (#6930)
areusch Nov 19, 2020
4e238e8
fix tvm.relay.build() docs (#6940)
areusch Nov 19, 2020
5ec48f5
Bug-fix] Fix tir allocation with multiple lanes (#6941)
Nov 20, 2020
1e7c114
[AutoScheduler] Register workload when deserializing tasks (#6927)
comaniac Nov 20, 2020
2e59f24
[DOCS] Improve windows build instruction via conda (#6944)
tqchen Nov 21, 2020
5a32985
[Relay] Add DefuseOps pass (#6946)
merrymercy Nov 23, 2020
b302b76
[µTVM] Remove binutils module, no longer needed after microTVM refact…
areusch Nov 23, 2020
c9a3efb
AArch64 base algorithm refactoring in LLVM (#6907)
Nov 23, 2020
dafcd9c
Fix code to work with cmake 3.2 (#6952)
rkimball Nov 24, 2020
9fcb6ff
[PatternLang] Remove unnecessary check (#6958)
comaniac Nov 24, 2020
57ba863
[Bugfix][AutoScheduler] Strictly select impl using plevel (#6956)
comaniac Nov 24, 2020
6bee8a0
[AutoScheduler] Task scheduler callbacks (#6945)
comaniac Nov 24, 2020
945e29b
Cleanup comments (#6951)
rkimball Nov 24, 2020
e666d3c
[AutoScheduler] Fix task extraction (#6965)
merrymercy Nov 24, 2020
dc994ca
Fix #6954 uTVM, fix when building the runtime for native hardware (#6…
tom-gall Nov 24, 2020
955412c
[DOCS] Update to reflect the repo name change (#6967)
tqchen Nov 24, 2020
2980ae0
Raise ImportError for XGBoost (#6969)
comaniac Nov 24, 2020
ed62b3f
Bug fix for debug builds in micro_session.cc (#6968)
manupak Nov 24, 2020
14fbcfb
[CI] Disable ASF header checking on untracked files (#6975)
manupak Nov 25, 2020
1914e04
[AutoScheduler] Print the time used for measurement (#6972)
merrymercy Nov 25, 2020
23de2d3
[AutoScheduler] Check duplicated names in the compute dag (#6973)
merrymercy Nov 25, 2020
5f37380
[Frontend][Relay][Parser] fix unparsable yolo formals (#6963)
hypercubestart Nov 26, 2020
48f4f64
Don't fuse take with dynamic inputs (#6979)
Nov 26, 2020
9cd8c6c
bumping vta version (#6977)
dsteger Nov 26, 2020
65e63ee
Add Relay option to link parameters into runtime Modules (#6917)
areusch Nov 26, 2020
8dbc3cb
Add initial support for quantized transpose convolution in Relay (#6899)
Nov 26, 2020
39d359f
[AutoScheduler] Accelerate feature extraction for winograd (#6981)
merrymercy Nov 28, 2020
874911f
Fix GraphRuntime with -link-params over RPC (#6985)
areusch Nov 29, 2020
e96cae9
[Hardware][Verilator] Integrating and simulating hardware accelerator…
vegaluisjose Nov 29, 2020
0900113
Fix C runtime NDArray allocation bug (#6991)
areusch Nov 29, 2020
aac5468
Demote session traffic logs to DEBUG log level (#6989)
areusch Nov 29, 2020
ef2e9dd
Include required CMSIS headers in Cortex-M micro kernel. (#6988)
areusch Nov 29, 2020
5eb0252
Fix the shape check for vta dense strategy (#6983)
insop Nov 29, 2020
93679ac
[AutoScheduler] Skip useless calls to RewriteLayout (#6993)
merrymercy Nov 29, 2020
b3f1bb8
[AutoScheduler] Use a smaller retry number (#6996)
merrymercy Nov 29, 2020
5ed1dea
[AutoScheduler] Use a smaller iteration number for GA to acclerate th…
merrymercy Nov 30, 2020
f689f46
[Backend][Verilator] Multiple fixes (#6995)
vegaluisjose Nov 30, 2020
9b20aa1
add files (#6986)
vegaluisjose Nov 30, 2020
b2968b8
fix docker image when installing rust (#7004)
vegaluisjose Dec 1, 2020
c9f303a
[TVMC] use target_host when it is set (#6855)
euntaik Dec 1, 2020
e6b06d5
Dynamic Batch Support for TRT (#6955)
codeislife99 Dec 1, 2020
4ef456c
[RELAY,TOPI] Add scatter_nd op (#6854)
tkonolige Dec 1, 2020
f3b7908
[TOPI] deformable_conv2d in NHWC (#6999)
vinx13 Dec 1, 2020
bbf2c7e
Fix call mkl gemm in mkldnn.py (#7007)
CaramelFc Dec 1, 2020
dcbccde
Use channels from attrs if possible (#7011)
Dec 2, 2020
dd89300
[µTVM] Minor fixes to the Reference VM tutorial (#7012)
areusch Dec 2, 2020
0f24128
Update dmlc_tvm_commit_id.txt
Dec 2, 2020
d507657
Fix python formatting
Dec 2, 2020
c43b2c5
Remove duplicate shape func for 'where'
Dec 2, 2020
5eabee8
[Backend][Verilator] regression tests (#7000)
vegaluisjose Dec 2, 2020
699fcb7
[µTVM] Modify reference VMs to support new µTVM demo (#7001)
areusch Dec 3, 2020
c0c4b46
[AutoScheduler] Support layout rewrite for whole networks (#6987)
merrymercy Dec 3, 2020
1987206
Fix trt Test (#7016)
codeislife99 Dec 3, 2020
8d703f0
[AutoScheduler] Add a tutorial on auto-scheduling a network for x86 C…
merrymercy Dec 3, 2020
ea7c167
[auto_scheduler] metal default hardware params (#7022)
antinucleon Dec 3, 2020
5782944
[Diagnostics] Add environment variable for controlling top-level prin…
jroesch Dec 3, 2020
7b0e7d3
Update dmlc_tvm_commit_id.txt
Dec 3, 2020
5cad7d1
Temporarily disable arm build/test in CI
Dec 3, 2020
d6acdd0
[RPC] Prefer IPv4 between IPv4 and IPv6 (#7013)
echuraev Dec 3, 2020
7069662
[CI] Hotfix CI (see #7010) (#7025)
altanh Dec 3, 2020
50ed7d8
[AutoScheduler] Misc update to hardware parameter and task scheduler …
merrymercy Dec 3, 2020
41e68c1
[Topi] Fix GPU Dynamic Topk by Improving Dynamic Strided Slice in Top…
kevinthesun Dec 4, 2020
846614f
[Relay][Pass] Clean up DCE tests in preparation for refactoring. (#7…
jroesch Dec 4, 2020
eeb75c9
[AutoScheduler] Refactor task interface for tuning single operators (…
merrymercy Dec 4, 2020
21df600
Save PyTorch frontend state in object (#7023)
t-vi Dec 4, 2020
b589920
[Relay][Frontend][Onnx] Add support for Size op in Onnx frontend. (#7…
jwfromm Dec 4, 2020
7e503cb
[Frontend] Prevent tflite frontend from producing int64 shape/paramet…
merrymercy Dec 4, 2020
a8bad30
Update dmlc_tvm_commit_id.txt
Dec 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
84 changes: 43 additions & 41 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,53 +34,55 @@ jobs:
Build:
strategy:
matrix:
os: [windows-latest, macOS-latest]
os: [windows-2016, macOS-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Lint Python
if: matrix.os == 'macOS-latest'
run: |
pip install flake8
flake8 . --count --select=E9,F63,F7 --show-source --statistics
- name: Initialize submodules
run: git submodule update --recursive --init

- name: Make Build Directory
run: cmake -E make_directory build.common

# configuration for Windows
- name: CMake@Win
if: matrix.os == 'windows-latest'
working-directory: build.common
- name: Lint Python
if: startsWith(matrix.os, 'macOS')
run: |
python3 -m pip install flake8
python3 -m flake8 . --count --select=E9,F63,F7 --show-source --statistics
- uses: actions/cache@v1
env:
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('conda/build-environment.yaml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: tvm-build
channel-priority: strict
environment-file: conda/build-environment.yaml
auto-activate-base: false
use-only-tar-bz2: true
- name: Conda info
run: |
conda info
conda list
- name: Conda-Build@Win
if: startsWith(matrix.os, 'windows')
shell: cmd /C call {0}
run: >-
cmake
-DUSE_SORT=ON
-DUSE_RPC=ON
-DUSE_GRAPH_RUNTIME=ON
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CONFIGURATION_TYPES="Release"
..

# configuration for Mac
- name: CMake@MacOS
if: matrix.os == 'macOS-latest'
working-directory: build.common
conda build --output-folder=conda/pkg conda/recipe &&
conda install tvm -c ./conda/pkg
- name: Conda-Build@MacOS
if: startsWith(matrix.os, 'macOS')
shell: bash -l {0}
run: >-
cmake
"-DUSE_SORT=ON"
"-DUSE_RPC=ON"
"-DUSE_GRAPH_RUNTIME=ON"
"-DUSE_METAL=ON"
..

- name: Build@Win
if: matrix.os == 'windows-latest'
run: cmake --build build.common --config Release -- /m

- name: Build@MacOS
if: matrix.os == 'macOS-latest'
run: cmake --build build.common --config Release -j3
conda build --output-folder=conda/pkg conda/recipe &&
conda install tvm -c ./conda/pkg
- name: Test@Win
if: startsWith(matrix.os, 'windows')
shell: cmd /C call {0}
run: >-
python -m pytest -v tests/python/all-platform-minimal-test
- name: Test@MacOS
if: startsWith(matrix.os, 'macOS')
shell: bash -l {0}
run: >-
python -m pytest -v tests/python/all-platform-minimal-test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var/
*.egg-info/
.installed.cfg
*.egg

.conda/
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/vta-hw
38 changes: 24 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 3.2)
project(tvm C CXX)

# Utility functions
include(cmake/util/Util.cmake)
include(cmake/util/FindCUDA.cmake)
include(cmake/util/FindOpenCL.cmake)
include(cmake/util/FindVulkan.cmake)
include(cmake/util/FindLLVM.cmake)
include(cmake/util/FindROCM.cmake)
include(cmake/util/FindEthosN.cmake)
include(cmake/utils/Utils.cmake)
include(cmake/utils/FindCUDA.cmake)
include(cmake/utils/FindOpenCL.cmake)
include(cmake/utils/FindVulkan.cmake)
include(cmake/utils/FindLLVM.cmake)
include(cmake/utils/FindROCM.cmake)
include(cmake/utils/FindEthosN.cmake)

if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/config.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/config.cmake)
Expand Down Expand Up @@ -79,6 +79,10 @@ tvm_option(USE_COREML "Build with coreml support" OFF)
tvm_option(USE_TARGET_ONNX "Build with ONNX Codegen support" OFF)
tvm_option(USE_ARM_COMPUTE_LIB "Build with Arm Compute Library" OFF)
tvm_option(USE_ARM_COMPUTE_LIB_GRAPH_RUNTIME "Build with Arm Compute Library graph runtime" OFF)
tvm_option(USE_TENSORRT_CODEGEN "Build with TensorRT Codegen support" OFF)
tvm_option(USE_TENSORRT_RUNTIME "Build with TensorRT runtime" OFF)
tvm_option(USE_RUST_EXT "Build with Rust based compiler extensions, STATIC, DYNAMIC, or OFF" OFF)
tvm_option(USE_VITIS_AI "Build with VITIS-AI Codegen support" OFF)

# include directories
include_directories(${CMAKE_INCLUDE_PATH})
Expand All @@ -100,6 +104,8 @@ if(MSVC)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
add_definitions(-DNOMINMAX)
# regeneration does not work well with msbuild custom rules.
set(CMAKE_SUPPRESS_REGENERATION ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /bigobj")
Expand Down Expand Up @@ -361,8 +367,12 @@ include(cmake/modules/contrib/TF_TVMDSOOP.cmake)
include(cmake/modules/contrib/CoreML.cmake)
include(cmake/modules/contrib/ONNX.cmake)
include(cmake/modules/contrib/ArmComputeLib.cmake)
include(cmake/modules/contrib/TensorRT.cmake)
include(cmake/modules/contrib/VitisAI.cmake)
include(cmake/modules/contrib/Verilator.cmake)
include(cmake/modules/Git.cmake)
include(cmake/modules/LibInfo.cmake)
include(cmake/modules/RustExt.cmake)

include(CheckCXXCompilerFlag)
if(NOT MSVC)
Expand Down Expand Up @@ -400,23 +410,23 @@ endif()

if(USE_RELAY_DEBUG)
message(STATUS "Building Relay in debug mode...")
set_target_properties(tvm_objs PROPERTIES COMPILE_DEFINITIONS "USE_RELAY_DEBUG")
set_target_properties(tvm_objs PROPERTIES COMPILE_DEFINITIONS "DMLC_LOG_DEBUG")
target_compile_definitions(tvm_objs PRIVATE "USE_RELAY_DEBUG")
target_compile_definitions(tvm_objs PRIVATE "DMLC_LOG_DEBUG")
else()
set_target_properties(tvm_objs PROPERTIES COMPILE_DEFINITIONS "NDEBUG")
target_compile_definitions(tvm_objs PRIVATE "NDEBUG")
endif(USE_RELAY_DEBUG)

if(USE_FALLBACK_STL_MAP)
message(STATUS "Building with STL Map...")
set_target_properties(tvm_objs PROPERTIES COMPILE_DEFINITIONS "USE_FALLBACK_STL_MAP=1")
target_compile_definitions(tvm_objs PRIVATE "USE_FALLBACK_STL_MAP=1")
else()
message(STATUS "Building with TVM Map...")
set_target_properties(tvm_objs PROPERTIES COMPILE_DEFINITIONS "USE_FALLBACK_STL_MAP=0")
target_compile_definitions(tvm_objs PRIVATE "USE_FALLBACK_STL_MAP=0")
endif(USE_FALLBACK_STL_MAP)

if(BUILD_FOR_HEXAGON)
# Wrap pthread_create to allow setting custom stack size.
set_target_properties(tvm_runtime PROPERTIES LINK_FLAGS
set_property(TARGET tvm_runtime APPEND PROPERTY LINK_FLAGS
"-Wl,--wrap=pthread_create")

target_include_directories(tvm_runtime SYSTEM
Expand Down Expand Up @@ -483,7 +493,7 @@ if(GTEST_INCLUDE_DIR AND GTEST_LIB)
add_executable(${__execname} ${__srcpath})
list(APPEND TEST_EXECS ${__execname})
target_include_directories(${__execname} SYSTEM PUBLIC ${GTEST_INCLUDE_DIR})
target_link_libraries(${__execname} ${TVM_TEST_LIBRARY_NAME} ${GTEST_LIB} pthread dl)
target_link_libraries(${__execname} PRIVATE ${TVM_TEST_LIBRARY_NAME} ${GTEST_LIB} pthread dl)
set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_ALL 1)
set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1)
endforeach()
Expand Down
5 changes: 4 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ We add tag along with committer name to show areas that they are familiar with.
We do encourage everyone to work anything they are interested in.

- [Aditya Atluri](https://github.com/adityaatluri): @adityaatluri - rocm
- [Matthew Barrett](https://github.com/mbaret): @mbaret - byoc, arm
- [Matthew Brookhart](https://github.com/mbrookhart): @mbrookhart - relay, frontends
- [Tianqi Chen](https://github.com/tqchen) (PPMC): @tqchen - topi, compiler, relay, docs
- [Liangfu Chen](https://github.com/liangfu): @liangfu - vta, chisel, intel FPGA, c runtime
- [Wei Chen](https://github.com/wweic): @wweic - runtime, relay, vm
Expand All @@ -59,6 +61,7 @@ We do encourage everyone to work anything they are interested in.
- [Jared Roesch](https://github.com/jroesch) (PPMC): @jroesch - relay
- [Siju Samuel](https://github.com/siju-samuel): @siju-samuel - frontends
- [Siva](https://github.com/srkreddy1238): @srkreddy1238 - frontends, golang
- [Junru Shao](https://github.com/junrushao1994) @junrushao1994 - relay, compiler
- [Haichen Shen](https://github.com/icemelon9) (PPMC): @icemelon9 - relay, topi
- [Zhixun Tan](https://github.com/phisiart): @phisiart - opengl, web
- [Andrew Tulloch](https://github.com/ajtulloch): @ajtulloch - topi, compiler, runtime
Expand Down Expand Up @@ -136,7 +139,7 @@ We do encourage everyone to work anything they are interested in.
- [Lianmin Zheng](https://github.com/merrymercy): @merrymercy

## List of Contributors
- [Full List of Contributors](https://github.com/apache/incubator-tvm/graphs/contributors)
- [Full List of Contributors](https://github.com/apache/tvm/graphs/contributors)
- To contributors: please add your name to the list.
- [Qiao Zhang](https://github.com/zhangqiaorjc)
- [Haolong Zhang](https://github.com/haolongzhangm)
Expand Down
45 changes: 39 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@

// NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
ci_lint = "tlcpack/ci-lint:v0.62"
ci_gpu = "tlcpack/ci-gpu:v0.64"
ci_cpu = "tlcpack/ci-cpu:v0.66"
ci_wasm = "tlcpack/ci-wasm:v0.60"
ci_i386 = "tlcpack/ci-i386:v0.52"
ci_gpu = "tlcpack/ci-gpu:v0.72"
ci_cpu = "tlcpack/ci-cpu:v0.71"
ci_wasm = "tlcpack/ci-wasm:v0.70"
ci_i386 = "tlcpack/ci-i386:v0.71"
ci_qemu = "tlcpack/ci-qemu:v0.01"
ci_arm = "tlcpack/ci-arm:v0.01"
// <--- End of regex-scanned config.

// tvm libraries
Expand Down Expand Up @@ -180,11 +181,12 @@ stage('Build') {
make(ci_cpu, 'build', '-j2')
pack_lib('cpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_unittest.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_integration.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_vta_fsim.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_vta_tsim.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_golang.sh"
// sh "${docker_run} ${ci_cpu} ./tests/scripts/task_golang.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_rust.sh"
}
}
Expand All @@ -197,6 +199,7 @@ stage('Build') {
sh "${docker_run} ${ci_wasm} ./tests/scripts/task_config_build_wasm.sh"
make(ci_wasm, 'build', '-j2')
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_wasm} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_wasm} ./tests/scripts/task_web_wasm.sh"
}
}
Expand All @@ -212,13 +215,24 @@ stage('Build') {
}
}
},
// 'BUILD : arm': {
// node('ARM') {
// ws(per_exec_ws("tvm/build-arm")) {
// init_git()
// sh "${docker_run} ${ci_arm} ./tests/scripts/task_config_build_arm.sh"
// make(ci_arm, 'build', '-j4')
// pack_lib('arm', tvm_multilib)
// }
// }
// },
'BUILD: QEMU': {
node('CPU') {
ws(per_exec_ws("tvm/build-qemu")) {
init_git()
sh "${docker_run} ${ci_qemu} ./tests/scripts/task_config_build_qemu.sh"
make(ci_qemu, 'build', '-j2')
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_qemu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_qemu} ./tests/scripts/task_python_microtvm.sh"
}
}
Expand All @@ -233,6 +247,7 @@ stage('Unit Test') {
init_git()
unpack_lib('gpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_sphinx_precheck.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_unittest_gpuonly.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_integration_gpuonly.sh"
Expand All @@ -246,19 +261,34 @@ stage('Unit Test') {
init_git()
unpack_lib('i386', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_i386} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_i386} ./tests/scripts/task_python_unittest.sh"
sh "${docker_run} ${ci_i386} ./tests/scripts/task_python_integration.sh"
sh "${docker_run} ${ci_i386} ./tests/scripts/task_python_vta_fsim.sh"
}
}
}
},
// 'python3: arm': {
// node('ARM') {
// ws(per_exec_ws("tvm/ut-python-arm")) {
// init_git()
// unpack_lib('arm', tvm_multilib)
// timeout(time: max_time, unit: 'MINUTES') {
// sh "${docker_run} ${ci_arm} ./tests/scripts/task_ci_python_setup.sh"
// sh "${docker_run} ${ci_arm} ./tests/scripts/task_python_unittest.sh"
// // sh "${docker_run} ${ci_arm} ./tests/scripts/task_python_integration.sh"
// }
// }
// }
// },
'java: GPU': {
node('GPU') {
ws(per_exec_ws("tvm/ut-java")) {
init_git()
unpack_lib('gpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_java_unittest.sh"
}
}
Expand All @@ -273,6 +303,7 @@ stage('Integration Test') {
init_git()
unpack_lib('gpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_topi.sh"
}
}
Expand All @@ -284,6 +315,7 @@ stage('Integration Test') {
init_git()
unpack_lib('gpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_frontend.sh"
}
}
Expand All @@ -295,6 +327,7 @@ stage('Integration Test') {
init_git()
unpack_lib('cpu', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
sh "${docker_run} ${ci_cpu} ./tests/scripts/task_python_frontend_cpu.sh"
}
}
Expand All @@ -307,12 +340,12 @@ stage('Integration Test') {
// init_git()
// unpack_lib('gpu', tvm_multilib)
// timeout(time: max_time, unit: 'MINUTES') {
// sh "${docker_run} ${ci_gpu} ./tests/scripts/task_ci_python_setup.sh"
// sh "${docker_run} ${ci_gpu} ./tests/scripts/task_python_docs.sh"
// }
// pack_lib('mydocs', 'docs.tgz')
// }
// }
// }
}

/*
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->

<img src=https://raw.githubusercontent.com/apache/incubator-tvm-site/main/images/logo/tvm-logo-small.png width=128/> Open Deep Learning Compiler Stack
<img src=https://raw.githubusercontent.com/apache/tvm-site/main/images/logo/tvm-logo-small.png width=128/> Open Deep Learning Compiler Stack
==============================================
[Documentation](https://tvm.apache.org/docs) |
[Contributors](CONTRIBUTORS.md) |
[Community](https://tvm.apache.org/community) |
[Release Notes](NEWS.md)

[![Build Status](https://ci.tlcpack.ai/buildStatus/icon?job=tvm/main)](https://ci.tlcpack.ai/job/tvm/job/main/)
[![WinMacBuild](https://github.com/apache/incubator-tvm/workflows/WinMacBuild/badge.svg)](https://github.com/apache/incubator-tvm/actions?query=workflow%3AWinMacBuild)
[![WinMacBuild](https://github.com/apache/tvm/workflows/WinMacBuild/badge.svg)](https://github.com/apache/tvm/actions?query=workflow%3AWinMacBuild)

Apache TVM (incubating) is a compiler stack for deep learning systems. It is designed to close the gap between the
productivity-focused deep learning frameworks, and the performance- and efficiency-focused hardware backends.
Expand Down
2 changes: 1 addition & 1 deletion apps/android_camera/app/src/main/jni/tvm_runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "../src/runtime/c_runtime_api.cc"
#include "../src/runtime/cpu_device_api.cc"
#include "../src/runtime/dso_library.cc"
#include "../src/runtime/file_util.cc"
#include "../src/runtime/file_utils.cc"
#include "../src/runtime/graph/graph_runtime.cc"
#include "../src/runtime/library_module.cc"
#include "../src/runtime/module.cc"
Expand Down
Loading