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

Fix TVM compilation with USE_LLVM=OFF #194

Closed
wants to merge 3,897 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3897 commits
Select commit Hold shift + click to select a range
35dabd6
[µTVM] Fix two warnings when deprecated forms are used (#7269)
gromero Jan 13, 2021
259652b
Adding aten::unsqueeze_ to PT Frontend (#7231)
codeislife99 Jan 13, 2021
af716e5
update vta-hw version (#7271)
vegaluisjose Jan 14, 2021
c11959d
[FIX] Remove leftovers from check_correctness (#7272)
tkonolige Jan 14, 2021
8d3c0e7
[CUDA] [Codegen] Ensuring atleast one thread block for dynamism (#7273)
anijain2305 Jan 14, 2021
7f4aa24
[AutoScheduler] Fix layout rewrite for axis with extent=1 (#7279)
merrymercy Jan 14, 2021
51a2d66
[AutoScheduler] Fix typos in feature extraction and cost model (#7280)
merrymercy Jan 14, 2021
1677bb2
[PatternLang][Bugfix] Ensure CallNode attrs are not undefined before …
slyubomirsky Jan 14, 2021
bb6c26b
switch to more portable bash pipeline syntax (#7274)
areusch Jan 14, 2021
ac29624
Add MicroTVM support for the STM32F746 Discovery board (#7225)
tom-gall Jan 14, 2021
f503d82
fix mcpu on os x (#7276)
areusch Jan 14, 2021
d7a9a7c
[PatternLang] Add If pattern (#7282)
masahi Jan 14, 2021
c947463
[Frontend][Tensorflow] Sparse_Dense Op CSR scheduling issue resolved …
Jan 15, 2021
4c5c086
[BYOC][bugfix] Handle empty tuples in annotation pass (#7288)
slyubomirsky Jan 15, 2021
c3f50ff
[µTVM] Add ST STM32F746 disco board to tflite tutorial script (#7254)
gromero Jan 15, 2021
4f1f591
Bring back numbered lists to TVM docs. (#7290)
areusch Jan 15, 2021
2992e9b
[VM] Per-input, data dependence specification for shape func (#7210)
masahi Jan 15, 2021
b52267e
[uTVM] Initial BYOC support with c-source module (#6950)
manupak Jan 15, 2021
637c9da
A few typo fixes in the uTVM design doc. (#7291)
mdw-octoml Jan 15, 2021
ccccac2
Change const to used dtype if it is passed in (#7285)
rkimball Jan 15, 2021
3f15d06
[TEST] Fix test_topi_batch_matmul_tensorcore.py:test_batch_matmul req…
leandron Jan 16, 2021
052ad3d
[TIR] Support Return in TIR (#7084)
ZihengJiang Jan 16, 2021
09bb60a
Add QEMU setup to uTVM tutorial. (#7296)
mdw-octoml Jan 18, 2021
6fb1019
[TUTORIAL] Add gpu instructions and results to deploy_sparse (#7298)
tkonolige Jan 18, 2021
5e92eed
[COMMUNITY] @Laurawly => PMC (#7307)
tqchen Jan 19, 2021
5d95105
[AutoScheduler] Bug fix & Custom sketch support (#7260)
jcf94 Jan 19, 2021
7340c02
[TIR][REFACTOR] ForNode introduce thread binding and remove legacy fi…
tqchen Jan 19, 2021
f91b51d
[Relay][Frontend][Onnx] Compare against onnxruntime more consistently…
Jan 19, 2021
2290cc0
[TOPI] Minor perf improvement for GPU scatter (#7233)
masahi Jan 19, 2021
f8c55db
[TFLite] Added ability to infer shapes for arguments (#7293)
d-smirnov Jan 20, 2021
62f251b
[TOPI] Make cumsum IR reusable, add thrust scan (#7303)
masahi Jan 20, 2021
969b77a
[BYOC][ACL] removed ACL 20.05 limitations (#7251)
d-smirnov Jan 20, 2021
727345e
[COMMUNITY] tkonolige -> Reviewer (#7311)
icemelon Jan 20, 2021
e8ab607
[TFLite] Strided slice handling of shrink_axis_mask improved (#6998)
d-smirnov Jan 21, 2021
f829403
[TOPI] Rewrite GPU argwhere using exclusive scan (#7314)
masahi Jan 21, 2021
20e03bc
[COMMUNITY] @jwfromm -> Committer (#7316)
icemelon Jan 21, 2021
8524b28
[µTVM] Add TVMPlatformGenerateRandom, a non-cryptographic random numb…
areusch Jan 21, 2021
fc9e264
Made tensorflow IsNan actually work (#7320)
jchia Jan 21, 2021
7b6a1a7
Fix an issue with dynamic functions overwritting call arg types (#7295)
Jan 22, 2021
17ae44d
add a shape function and dynamic test for round (#7324)
Jan 22, 2021
790344c
relax tolerance for dlpack test (#7325)
masahi Jan 22, 2021
6787d74
get_top_results works on a copy of output (#7327)
SebastianBoblest Jan 22, 2021
af9d1d2
[BYOC][Verilator] add support to dynamically load hardware library (#…
vegaluisjose Jan 22, 2021
3ec67f0
[AutoScheduler] Fix conv3d's op strategy for auto-scheduler (#7328)
merrymercy Jan 22, 2021
e889def
[PatternLang] Add a relay LetPattern (#7332)
Jan 23, 2021
218048e
[FIX,AUTOTVM] Add flop counts to cublas (#7297)
tkonolige Jan 23, 2021
42eb55d
add Verilator to CI (#7098)
vegaluisjose Jan 23, 2021
5d33491
[Tutorial] Autoscheduler on ARM devices (#7326)
tmoreau89 Jan 25, 2021
e6d5318
[AutoScheduler] Separate shapes from DAG hash and enable schedule sha…
comaniac Jan 25, 2021
f3b852d
[FIX] Infer input shape in sparse_dense_padded's alter_op if one does…
tkonolige Jan 25, 2021
da446af
Fix warning showed with GCC10 (#7336)
ggardet Jan 25, 2021
6f75cff
[Relay][Training] Add more gradients (#7323)
altanh Jan 25, 2021
3d13809
fix tanh gradient and update tests to use downstream gradient (#7340)
altanh Jan 26, 2021
c53030f
[CMake] use wrong flag name (#7341)
windclarion Jan 26, 2021
ab8bc0a
Add resource_handle to TVM_DLL_EXPORT_TYPED_FUNC. (#7338)
areusch Jan 26, 2021
1e0d356
[Relay, TOPI] Add numpy style cumsum op (#7334)
masahi Jan 26, 2021
eeec538
Add resource_handle to both TVM_DLL_EXPORT_TYPED_FUNC and TVM_DLL_EXP…
jinchenglee Jan 27, 2021
38fa420
[FIX] Don't add $TVM_HOME/.. to the include path when compiling code.…
tkonolige Jan 27, 2021
eae21b0
[PRNG] Add check to PRNG to make sure that unsigned integer arithmeti…
tkonolige Jan 27, 2021
59e0a4a
[Torch] Various updates for PyTorch frontend (#7348)
masahi Jan 27, 2021
fd39122
[AutoScheduler] Enable schedule sharing in dispatch context (#7344)
comaniac Jan 27, 2021
4006bde
[Torch] More graph rewrites for Faster RCNN / MaskRCNN (#7346)
masahi Jan 27, 2021
00257f3
[Autodiff] Deterministic gradient compute (#7321)
hzfan Jan 28, 2021
d8efe70
[COMMUNITY] @trevor-m -> reviewer (#7352)
tqchen Jan 28, 2021
913abe0
[Relay][Frontend][Onnx] Robustify Loop Importer (#7353)
jwfromm Jan 28, 2021
02fefbc
If an expression has two branches, and the pattern ignores one with a…
Jan 28, 2021
8b84e33
Fold If when the condition is Constant (#7354)
Jan 28, 2021
cbc035f
Update uTVM code to work with the nRF5340DK dev board. (#7331)
mdw-octoml Jan 28, 2021
dda8f5d
[Frontend][Tensorflow] Sparse dense matmul adjoint option added (#7267)
Jan 28, 2021
67acad3
[Relay][PatternLang] Bug fix of rewrite func attr (#7358)
manupak Jan 28, 2021
f17cba7
[RUNTIME] Improve error messages for TypedPackedFunc (#7152)
tkonolige Jan 28, 2021
b8ad146
[Relay] Type Relation Fixes (#7362)
Jan 28, 2021
ef032b3
Remove MemoryPlan from VM passes (#7361)
Jan 29, 2021
f7275f9
Some docstring fixes. (#7367)
mdw-octoml Jan 29, 2021
f7862e7
[Relay][Frontend[Onnx] Add testing for output datatypes and fix relat…
jwfromm Jan 29, 2021
4f414fd
fix grad for zeros and ones (#7357)
altanh Jan 29, 2021
4142128
[BYOC][Verilator] change runtime registry function name (#7351)
vegaluisjose Jan 29, 2021
02c764c
disable one of rewrite in torch detection test (#7365)
masahi Jan 29, 2021
44a071a
[Refactor][VM] Port memory_alloc to c++ (#7369)
zhiics Jan 29, 2021
3734d5f
[CUDA][PASS]Legalize tensorcore (#7147)
Meteorix Jan 29, 2021
e892619
swap pytorch and tvm import order (#7380)
masahi Jan 31, 2021
96b0981
disable other rewrite to test CI (#7371)
masahi Feb 1, 2021
2365c7e
fix duplicated symbol bug in external codegen (#7383)
yhj050806 Feb 1, 2021
0d303b4
[Parser] Fix tokenizing inf (#7370)
masahi Feb 1, 2021
f7e05c3
Improve op_type missing message (#7384)
comaniac Feb 1, 2021
0bd259a
[COMMUNITY] @hzfan -> reviewer (#7360)
tqchen Feb 1, 2021
3635945
Refactor Dynamic to Static (#7368)
Feb 1, 2021
0ab9c95
[Relay][Passes] Iterative A-normal Traversals (#7374)
Feb 2, 2021
de0ab4c
Fix missing round(), floor(), ceil() for target C lowering (#7382)
cbalint13 Feb 2, 2021
da42924
[FFI] Improve error messages when array/map types do not match in fun…
tkonolige Feb 2, 2021
618ef9e
[TOPI] Add einsum operator (#6370)
hanke580 Feb 3, 2021
2e8133d
[TFLite] Added check for dynamic range quantization (#7114)
d-smirnov Feb 4, 2021
1de98be
Generate requirements.txt from Python spec (#7289)
areusch Feb 4, 2021
30c110c
[Bugfix][AutoScheduler] Fail to register ComputeDAG when deserializin…
comaniac Feb 4, 2021
9aec474
[CI] Temporary increase ci timeout (#7403)
tqchen Feb 4, 2021
f1b9663
[RPC] Replace timestamp with counter (#7389)
comaniac Feb 5, 2021
c118b08
Support negative pad values (#7375)
codeislife99 Feb 5, 2021
38c9eb1
Fix Bug in Bilinear Interpolation and Add Deform Conv to PT FrontEnd …
codeislife99 Feb 5, 2021
d8313d0
[AutoScheduler] Support early_stopping per task (#7377)
comaniac Feb 5, 2021
132cf6b
[CI] Add back the tests after timeout adjusted (#7408)
tqchen Feb 5, 2021
91e07e1
[Relay][Frontend][Onnx] Refactor where importer to support dynamic sh…
jwfromm Feb 5, 2021
4df530d
Add cuda tags and unit test (#7410)
zxybazh Feb 5, 2021
fc08430
check for dynamic rank before accessing value (#7414)
Feb 6, 2021
1f846f0
[VM] Minor refactor for C++ memory alloc (#7413)
masahi Feb 6, 2021
9daf3fe
Fix AutoScheduler for anaconda python (#7387)
dlexplorer Feb 7, 2021
33f30af
Fix compilation when Arm FP16 extensions are enabled (#7386)
MatthewARM Feb 7, 2021
5103bb6
Jenkinsfile changes for #7333. (#7388)
areusch Feb 8, 2021
0e7e2dc
[µTVM] Add VMWare to Reference VM instructions (#7221)
areusch Feb 8, 2021
c789a29
Generate JUnitXML from pytest (#7407)
areusch Feb 8, 2021
79b6ef7
[FIX,CMAKE] Only compile runtime files once (#7417)
tkonolige Feb 9, 2021
2b8d113
[TVMC] Allow manual shape specification in tvmc (#7366)
CircleSpin Feb 9, 2021
0716c2a
[AutoScheduler] Add sampling to dispatcher (#7376)
comaniac Feb 9, 2021
2999d03
[ONNX] Add CumSum operator to ONNX frontend (#7391)
echuraev Feb 9, 2021
68b7e71
[Relay][Topi][CPU] Dense with weight transform (#7404)
kevinthesun Feb 9, 2021
3863e09
[FIX,CMAKE] Only set Clang flags for C++ files (#7424)
tkonolige Feb 10, 2021
9175c6d
TRT Dynamic Reshape Fix (#7412)
codeislife99 Feb 10, 2021
12c6b70
Simplify full broadcast (#7423)
Feb 10, 2021
b7808fb
[Arith] Fix iter_affine_map with non-const extent (#7437)
vinx13 Feb 11, 2021
d05d75d
Stop running some python testsuites twice (#7430)
areusch Feb 11, 2021
6b58321
[BYOC][TRT] Fix small bug preventing TRT runtime compilation for vers…
Feb 11, 2021
8b9005f
Make the TVM targets list available in Python (#7427)
Feb 11, 2021
c52c176
Replace type punning with memcpy. (#7415)
grant-arm Feb 11, 2021
33829b3
Fix double compile of runtime sources for TRT, ACL (#7436)
Feb 11, 2021
d5851dd
[TIR][Printer] Fix SelectNode TIRTextPrinter bracket mismatch (#7405)
Beya2019 Feb 12, 2021
c7c54de
Update tags with minor fix (#7448)
zxybazh Feb 12, 2021
d769727
Add ROCm docker (#7422)
jtuyls Feb 12, 2021
e426c87
[AutoScheduler] Fix distill record (#7439)
comaniac Feb 12, 2021
b36bdf6
[Relay][Op][Bug] Fix missing return in scatter_nd cuda strategy (#7447)
altanh Feb 12, 2021
a1260cc
Make keras reshape less restrictive (#7446)
Feb 12, 2021
b8a8340
[µTVM] Use standalone_crt build tree for all µTVM builds (#7333)
areusch Feb 12, 2021
4e211a7
[ONNX] Make the ONNX Importer More Static (#7429)
Feb 13, 2021
0aa90b0
[VM] Move param bind to OptimizeModule (#7451)
masahi Feb 13, 2021
2e6e7dc
[Frontend][MXNet] Add support for MXNet GroupNorm (#7409)
Feb 13, 2021
2af3ab1
update stm32mp1 arm_cpu target configuration (#7443)
vinceab Feb 14, 2021
6187e1c
[FRONTEND][TFLITE] get input tensor information from graph (#7400)
Feb 15, 2021
32c4402
[µTVM] Print .elf statistics for a model runtime built with Zephyr (#…
gromero Feb 15, 2021
0ebc820
Add IdentityN operator for TF Frontend (#7452)
codeislife99 Feb 15, 2021
2264206
docker/bash.sh: lookup docker image in Jenkinsfile. (#7453)
areusch Feb 15, 2021
fc48514
[BYOC][Verilator] Refactor Verilator runtime (#7406)
vegaluisjose Feb 16, 2021
413692e
Make spelling of "axes" consistent (#7460)
gussmith23 Feb 16, 2021
564aae0
[Relay][Topi] Add max mode to ROI align (#7440)
electriclilies Feb 17, 2021
e57e644
[ROCM] Add Thrust support (#7458)
masahi Feb 17, 2021
173f3fc
SparseFillEmptyRows Op (#7442)
codeislife99 Feb 17, 2021
77d2fe8
[Bugfix][Relay] Crash in match_exhaustion.cc when given an empty tupl…
slyubomirsky Feb 17, 2021
fe398bf
Report JUnit test results for all TVM Python tests (#7450)
areusch Feb 17, 2021
76647ca
[ETHOSN] Add support for default Ethos-N78 configuration. (#6982)
tristan-arm Feb 17, 2021
143c88e
debug operator--() in include/tvm/node/container.h (#7461)
monchin Feb 18, 2021
b7e0cfb
[TOPI, Relay] Support roi_align NHWC layout (#7463)
masahi Feb 18, 2021
84c4b15
Set TOpPattern=kOpaque for scatter_nd (#7464)
apivovarov Feb 18, 2021
944d8d1
[RUNTIME] Fast path for single thread run to allow app level threadin…
masahi Feb 18, 2021
50e013d
[Torch] Add index_put operator (#7465)
apivovarov Feb 18, 2021
b51973f
[Relay][Bugfix] Fix off-by-one error in BiasAddRel, use new reporting…
slyubomirsky Feb 19, 2021
e204209
[AutoScheduler] Fix the type inference for conv3d (#7475)
merrymercy Feb 19, 2021
256b9cf
Get tvmc version from tvm (#7478)
NicolaLancellotti Feb 19, 2021
d16f282
[TVMC] Add composite target passes for compilation and tuning (#7304)
leandron Feb 19, 2021
5688068
[Frontend][Tensorflow] Support explicit_paddings for TF 2.x (#7445)
Feb 20, 2021
5a0573b
make test_runtime_rpc use pytest.main() (#7482)
areusch Feb 20, 2021
cfe88c1
[TIR] Specialize MutateArray in StmtFunctor. (#7486)
tqchen Feb 21, 2021
072c469
[CUDA][THRUST] Enforce -libs=thrust to allow thrust offload (#7468)
masahi Feb 22, 2021
d666b41
Fix cuda nms handling of additional per box features (#7483)
Feb 22, 2021
84359a9
Fixed minor misspelling (#7499)
mshr-h Feb 22, 2021
794f6c6
[Target] Add target host field for target specification (#7462)
zxybazh Feb 23, 2021
a111803
[RELAY][Parser] Optimize relay parser to restore calls attrs (#7347)
domin1985 Feb 23, 2021
d94cbbb
[Frontend]Make onnx gemm tensor C optional (#7489)
xutianming Feb 23, 2021
0ba3741
[CRT] Create C-runtime-style metadata module for llvm builds (#7398)
areusch Feb 23, 2021
929717a
Fix stack overflow when partially-__init__ Node raises exception. (#7…
areusch Feb 23, 2021
e67f15b
[COMMUNITY] @d-smirnov -> reviewer (#7510)
yzhliu Feb 24, 2021
d425c14
[Relay][Frontend][Onnx] Fix GEMM converter when C is not a parameter.…
jwfromm Feb 24, 2021
086dbfe
[AutoScheduler] Fix the type inference for conv2d (#7501)
tmoreau89 Feb 24, 2021
9c5333e
[TVMC] rename composite target "acl" to "compute-library" (#7508)
leandron Feb 24, 2021
88a4fdd
Support creating Bool constants in the pattern_utils (#7507)
Feb 24, 2021
7f86987
[Frontend][Tensorflow] Support range like axis in tf.raw_ops.All for …
Feb 24, 2021
1455536
[BYOC][VitisAI] Fix issue in Vitis AI codegen out tensor names matchi…
jtuyls Feb 24, 2021
9e74f90
Support CombinedNMS in TF frontend. (#7520)
Feb 25, 2021
fc6f08a
[Frontend] TF V2 sparse.todense() test added (#7473)
Feb 25, 2021
b77c019
[DOCS] Remove incubating from docs (#7525)
tqchen Feb 25, 2021
772fa6b
[PYTHON] Enable proper error message in python package (#7521)
tqchen Feb 25, 2021
b111695
Introduce module_loader to AutoTVM. (#7337)
areusch Feb 25, 2021
43b15a8
Many fixes to get unit tests passing on Windows. (#7431)
rkimball Feb 25, 2021
6274a7f
use checked_type instead of type_annotation (#7522)
Feb 25, 2021
e664b2f
[Torch] Avoid adding unnecessary slicing (#7479)
masahi Feb 26, 2021
63ea8e1
[Relay] Enforce static dim for non-concat axis if one or more tensors…
masahi Feb 26, 2021
09b0c8e
[Frontend][Tensorflow] Add unique operator (#7441)
ymwangg Feb 26, 2021
c46b187
[Torch] Pool ops, convert strides and pool_size to int (#7517)
alexwong Feb 26, 2021
56ac892
SparseReshape Op (#7477)
codeislife99 Feb 26, 2021
5c5aea6
[BUG_FIX][TOPI] Allow topi resize to accept more options (#7532)
electriclilies Feb 26, 2021
2d57470
[ONNX]fix datatype on Reciprocal op (#7519)
Feb 26, 2021
74ca8f0
[CI] Move ci-cpu to use llvm-11 (#7541)
tqchen Feb 26, 2021
0758337
Add create_local_debug_runtime to micro exports (#7528)
areusch Feb 27, 2021
f6d0fee
Don't run non-tvm_op GraphRuntime nodes in Debug Runtime over RPC. (#…
areusch Feb 27, 2021
e7f0a11
Add test_forward_index_put to __main__ (#7542)
apivovarov Feb 27, 2021
0bbc205
[torch] Add narrow operator (#7535)
apivovarov Feb 27, 2021
22ba2c4
[Torch] Simplify contiguous (#7544)
comaniac Feb 27, 2021
b1b3823
add missing equal sign (#7531)
vegaluisjose Feb 27, 2021
485dfd6
Fix typo in relay.vm.Executable (#7543)
ymwangg Feb 27, 2021
2673309
[Runtime] Special Memory Scope Support (#7488)
ZihengJiang Feb 28, 2021
51dc332
Fix foldconstant involving dropout (#7550)
masahi Mar 1, 2021
057a673
[TensorIR] introduce Block and BlockRealize (#312) (#7553)
Hzfengsy Mar 1, 2021
a1d43c1
[Autoscheduler][VM] Autoscheduler layout rewrite pass to VM (#7516)
tmoreau89 Mar 2, 2021
633ee11
fuse constant padding into conv kernels (#7515)
Mar 2, 2021
5d354e4
[Codegen][CUDA] Fix: cuda codegen vectorize cast (#7561)
kongroo Mar 2, 2021
08ea961
[Torch] Fix converting torch slice op with dynamic slice length (#7549)
masahi Mar 2, 2021
3a02e0b
[Pass] Profiling TVM compiler passes (#7500)
altanh Mar 3, 2021
cf36aa6
[TIR] Add TIR While node (#7425)
masahi Mar 3, 2021
91b6b3f
[RELAY] Modify some passes to not stack overflow on many lets. (#7558)
tkonolige Mar 3, 2021
67bba90
[torch] Add linear operator support (#7569)
apivovarov Mar 3, 2021
37053e1
[Tensorize] Support conds depend on outer loop vars inside tensorize …
leeexyz Mar 3, 2021
296700e
[CI][VitisAI] Update CI Vitis AI PyXIR version (#7575)
jtuyls Mar 3, 2021
dccc1ab
[SPIR-V] Add SPIR-V lowering for While node (#7574)
masahi Mar 3, 2021
25bf449
[Relay][Quantization] Fix Bug Which Cause Negative Left Shift Op (#7432)
Johnson9009 Mar 3, 2021
1d5f334
[Relay][bugfix][error reporting] BiasAddRel does not check for a nega…
slyubomirsky Mar 3, 2021
980cf80
compile engine dump tir and shape funcs (#7552)
wangxiang2713 Mar 3, 2021
73a0b96
[RUNTIME] Move Map into runtime (#7570)
tkonolige Mar 3, 2021
41c0591
[AutoSchedule] Fix a flaky test (#7580)
comaniac Mar 4, 2021
3f5f84d
[AutoScheduler] Querying and sampling in task extraction (#7571)
comaniac Mar 4, 2021
66f9139
[DOCKER] Fix: install script regarding get-pip.py during docker build…
brianlan Mar 4, 2021
02a6483
[ETHOSN] Add support for 20.11 Ethos-N driver stack release (#7506)
tristan-arm Mar 4, 2021
6aae48b
Fixes for using Python APIs from Rust. (#7085)
jroesch Mar 4, 2021
83ab234
Add segment sum Op to relay and 7 corresponding TF Ops , fix scatter_…
codeislife99 Mar 4, 2021
3fbb0a3
[BYOC][TensorRT] Make TRT runtime robust to empty or weird subgraphs …
Mar 4, 2021
d7f5753
[SPIRV] Support Bool buffer argument (#7591)
masahi Mar 5, 2021
d5cb3cb
[PyTorch] Guarantee data input is the first argument (#7592)
comaniac Mar 5, 2021
61e799c
[CI] Bump arm version (#7584)
zhiics Mar 5, 2021
fb06fd8
Fix for dynamic batch size conv2d nhwc (#7598)
masahi Mar 5, 2021
b9adce2
[Frontend][MXNet] Fix default value for is_ascend in topk (#7568)
Mar 5, 2021
c5f608f
[BYOC][TRT]Fix groups cannot divide output channel count error for de…
Laurawly Mar 5, 2021
5d5bbfb
Support negative axis for gather (#7600)
codeislife99 Mar 5, 2021
c0b9688
[Vulkan] Support passing 64 bit scalar (#7572)
masahi Mar 5, 2021
7344b66
Fix autotuning, broken in #7337 (#7566)
areusch Mar 5, 2021
d6c0cea
[RUNTIME] Add device specific timers (#7472)
tkonolige Mar 5, 2021
1ae4697
[Relay][Pass] Avoid stack overflow when using PostOrderRewrite (#7588)
hgt312 Mar 5, 2021
783be9d
[TOPI] disable test_shift with i8 datatype (#7597)
mesauser Mar 5, 2021
0b4f669
[AutoSchedule] Sparse dense tuning support with custom sketch rule (#…
jcf94 Mar 6, 2021
69c1c6d
Move SimplifyConvPad to a new pass and don't enable it by default (#7…
Mar 6, 2021
875f8ee
[Executor][Bugfix] Properly return and unflatten outputs from GraphEx…
altanh Mar 6, 2021
8aa2a7c
[CUDA] BF16 support (#7014)
hgt312 Mar 6, 2021
760e9b2
[Torch, QNN] Support quantized mobilenet v3 from torch 1.8 (#7606)
masahi Mar 8, 2021
cc7f8dc
[TE] Fix bug in AutoInlineElemWise and implement AutoInlineBroadcast …
leeexyz Mar 8, 2021
ca303aa
[Relay] add ShapeFunc for tanh (#6898)
monklof Mar 8, 2021
8d1f5b2
[Relay] Fix relay op strategy for cuda dense int8 (#7586)
huochaitiantang Mar 8, 2021
717c5e0
Add logging to diagnose flaky ci-qemu test (#7610)
areusch Mar 8, 2021
b827845
[Relay] add ShapeFunc for one_hot op (#7490)
monklof Mar 8, 2021
89bafd5
[RUNTIME] Unify load params interface (#7559)
tkonolige Mar 9, 2021
a8d1055
[FIX] Fix clang12 warnings (#7593)
tkonolige Mar 9, 2021
d830f2c
[Runtime][Object] Add Object::unique() (#7615)
junrushao Mar 9, 2021
dfc231c
[Bugfix][AutoScheduler] Correctly resume status (#7614)
comaniac Mar 9, 2021
8f9e5a4
Added MaybeAlign to CreateAtomicRMW calls to fix build for LLVM13 (#7…
LuukOddity Mar 9, 2021
12c3b3d
Prevent host Vulkan SDK blocking cross-compilation (#7609)
PENGUINLIONG Mar 9, 2021
a0656f5
[SPIRV] Minor update to TIR sort to make it work on VK/SPIR-V (#7607)
masahi Mar 9, 2021
77d28ab
Fix TVM compile without LLVM
Mar 9, 2021
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
34 changes: 34 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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.

github:
description: "Open deep learning compiler stack for cpu, gpu and specialized accelerators"
homepage: https://tvm.apache.org/
labels:
- tvm
- compiler
- tensor
- deep-learning
- gpu
- opencl
- metal
- performance
- javascript
- rocm
- vulkan
- spirv
- machine-learning
8 changes: 8 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Run the following command to reformat a file:
# clang-format -i -style=Google <file>
# Or use clang-format-diff to only reformat the changed lines:
# https://clang.llvm.org/docs/ClangFormat.html
BasedOnStyle: Google
DerivePointerAlignment: false
ColumnLimit: 100
PointerAlignment: Left
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from others in the community.
Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @ them in the pull request thread.
88 changes: 88 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# 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.

# GH actions.
# We use it to cover windows and mac builds
# Jenkins is still the primary CI

name: WinMacBuild

on:
push:
branches:
- main

pull_request:
branches:
- main

jobs:
Build:
strategy:
matrix:
os: [windows-2016, macOS-latest]

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

steps:
- uses: actions/checkout@v2
- name: Initialize submodules
run: git submodule update --recursive --init
- 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: >-
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: >-
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
35 changes: 31 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
__pycache__/
*.py[cod]
*$py.class

*.S
# C extensions
*.so

*.ll
.npm
# Distribution / packaging
.Python
env/
Expand All @@ -23,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 Expand Up @@ -65,7 +66,7 @@ docs/_build/
docs/gen_modules

# PyBuilder
target/
/target/

# IPython Notebook
.ipynb_checkpoints
Expand Down Expand Up @@ -195,6 +196,13 @@ tvm_t.*
.python_history
.pytest_cache
.local
cmake-build-debug

# Visual Studio
.vs

# Visual Studio Code
.vscode

# tmp file
.nfs*
Expand All @@ -206,3 +214,22 @@ tvm_t.*
*.cer
*.crt
*.der

# patch sentinel
patched.txt

# Python type checking
.mypy_cache/
.pyre/

# pipenv files
Pipfile
Pipfile.lock

# conda package artifacts
conda/Dockerfile.cuda*
conda/pkg
.node_repl_history
# nix files
.envrc
*.nix
9 changes: 6 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[submodule "dmlc-core"]
path = 3rdparty/dmlc-core
url = https://github.com/dmlc/dmlc-core
[submodule "HalideIR"]
path = 3rdparty/HalideIR
url = https://github.com/dmlc/HalideIR
[submodule "dlpack"]
path = 3rdparty/dlpack
url = https://github.com/dmlc/dlpack
[submodule "3rdparty/rang"]
path = 3rdparty/rang
url = https://github.com/agauniyal/rang
[submodule "3rdparty/vta-hw"]
path = 3rdparty/vta-hw
url = https://github.com/apache/incubator-tvm-vta
68 changes: 0 additions & 68 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion 3rdparty/HalideIR
Submodule HalideIR deleted from e4a4c0
43 changes: 43 additions & 0 deletions 3rdparty/cma/cma.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/* cma.h
*
* The MIT License (MIT)
*
* COPYRIGHT (C) 2017 Institute of Electronics and Computer Science (EDI), Latvia.
* AUTHOR: Rihards Novickis (rihards.novickis@edi.lv)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/

#ifndef VTA_DE10_NANO_KERNEL_MODULE_CMA_H_
#define VTA_DE10_NANO_KERNEL_MODULE_CMA_H_

/* Should be defined in settings.mk file */
#ifndef CMA_IOCTL_MAGIC
#define CMA_IOCTL_MAGIC 0xf2
#endif

#define CMA_ALLOC_CACHED _IOC(_IOC_WRITE | _IOC_READ, CMA_IOCTL_MAGIC, 1, 4)
#define CMA_ALLOC_NONCACHED _IOC(_IOC_WRITE | _IOC_READ, CMA_IOCTL_MAGIC, 2, 4)
#define CMA_FREE _IOC(_IOC_WRITE, CMA_IOCTL_MAGIC, 3, 4)
#define CMA_GET_PHY_ADDR _IOC(_IOC_WRITE | _IOC_READ, CMA_IOCTL_MAGIC, 4, 4)
#define CMA_GET_SIZE _IOC(_IOC_WRITE | _IOC_READ, CMA_IOCTL_MAGIC, 5, 4)

#define CMA_IOCTL_MAXNR 5

#endif // VTA_DE10_NANO_KERNEL_MODULE_CMA_H_
Loading