Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
8bcef00
[Hexagon] Skip test if "onnx" module not available (#13585)
Dec 9, 2022
5e20a14
[FQ2I] Support converting `dense` -> `add` to `qnn.dense` -> `add` ->…
masahi Dec 9, 2022
9a3bec8
[ci][docker] Allow usage of ECR images in PRs (#13590)
driazati Dec 10, 2022
3008e78
[TIR][Schedule] Support for specific consumer block targeting in cach…
wrongtest-intellif Dec 12, 2022
f0f23d1
[LLVM] Fix get tm allow_missing check pos (#13591)
wrongtest-intellif Dec 12, 2022
ed52610
[Torch] Stable diffusion support (#13594)
masahi Dec 12, 2022
dc9ac6d
[OpenCL][CI] Enable OpenCL cpp tests in CI (#13400)
echuraev Dec 12, 2022
4a5032b
[Relay] Bug fix in relay.squeeze function for issue #12400 (#12684)
padreofthegame Dec 12, 2022
e3968c1
[Relay] Fix `CombineParallelDense` slicing axis (#13597)
masahi Dec 13, 2022
4aa8c55
[Fix] Task scheduler error prompt upon build/run failure (#13601)
MasterJH5574 Dec 13, 2022
c8ffabc
[TIR] Fix PlanAndUpdateBufferAllocationLocation not visiting constant…
masahi Dec 13, 2022
0d4a2cd
[Hexagon] Enable depthwise conv2d NHWC with an HWIO kernel layout (#1…
farshidsp Dec 13, 2022
c48c063
[Relay][Frontend][Onnx] SequenceAt and SplitToSequence Operators (#13…
Dec 13, 2022
e181045
[Relay][TIR] Add utility to lower Relay func to TIR prim func (#13606)
masahi Dec 14, 2022
1a6798f
[microNPU] Disable copying weights to SRAM for FullyConnected ops in …
Aleksei-grovety Dec 14, 2022
2024e63
[microTVM][Zephyr] Fix TVMC test on hardware (#13598)
mehrdadh Dec 14, 2022
f566e61
[LLVM] Use std::nullopt instead of llvm::None (#13617)
Dec 15, 2022
69e3509
[Hexagon] Switch from default_rng to random in Hexagon tests (#13616)
Dec 15, 2022
f04ec55
[Metaschedule] Aligning get_top_k logic in MemoryDatabase and JSONDat…
Icemist Dec 15, 2022
1938273
[TOPI] Fix batch_matmul tensorcore legalize for transpose_b = False c…
masahi Dec 15, 2022
0a3535e
[Relay] Remove overwriting of matmul shapes when they are static (#13…
Dec 15, 2022
dfdaab7
[Frontend] [ONNX] Support sequence_lens of GRU (#13587)
jacquesguan Dec 15, 2022
662ccfb
[ETHOSN] Add support for experimental compiler option (#13410)
lhutton1 Dec 15, 2022
af59d45
[TVMScript] Fix print round-tripable multi thread env binding (#13622)
wrongtest-intellif Dec 15, 2022
6f8f450
[TOPI][Hexagon] Implement global_avg_pool2d for hexagon (#13614)
trahman-quic Dec 15, 2022
9e162f4
Add check for non-contiguous memory access when lowering to async dma…
nverke Dec 16, 2022
ac92ad9
[MetaSchedule] Fix tensorcore winograd task extraction (#13625)
masahi Dec 16, 2022
80c0233
[COMMUNITY] Min Chen -> Reviewer (#13628)
junrushao Dec 16, 2022
54358e0
[BugFix][UMA] Protect target registration (#13624)
cbalint13 Dec 16, 2022
cc8ad69
[Arith] Allow const folding on fp16 involving one and zero (#13631)
masahi Dec 16, 2022
23c509a
[Hexagon][runtime] Make HexagonThreadManager::CheckSemaphore thread s…
janetsc Dec 17, 2022
005a463
[Relay][Testing][Bugfix] `py_converter` should use correct AST for ve…
slyubomirsky Dec 17, 2022
2799a3e
[Relay][Runtime] Add `set_input/output_zero_copy` in python (#13623)
Dec 17, 2022
8427852
[BugFix][TVMScript] Parser crash (#13630)
lightzhan-intellif Dec 18, 2022
c798ed1
[TRANSFORM] Fix virtual device annotation issue with BYOC subgraphs (…
srkreddy1238 Dec 19, 2022
8798c93
[BugFix][TVMScript]fix var capturing order error (#13640)
lightzhan-intellif Dec 19, 2022
16677d4
[TVMScript] Remove obsolete modules (#13638)
junrushao Dec 19, 2022
7e2b8dd
[CI] Fix android build by constraining numpy version (#13648)
lhutton1 Dec 20, 2022
5ae63ac
[ETHOSN] Update driver stack version to 22.11 (#13637)
asparkhi Dec 20, 2022
9b0de0a
[CMSIS-NN] Add Cortex-M85 support (#13644)
NicolaLancellotti Dec 21, 2022
323ec09
[ETHOSN] Fix for the mock inference after NPU driver update (#13650)
asparkhi Dec 21, 2022
c9001a0
[RPC] Add fail-guard for termination time exception (#13651)
tqchen Dec 22, 2022
3ec03f7
[CMSIS-NN] Global function that provides range based on dtype (#13652)
asparkhi Dec 25, 2022
05ffab9
[Pytorch][Relay] aten::_weight_norm implementation (#13661)
valmat07 Dec 27, 2022
a9c8494
[Relay][Frontend] Span filling common API (#13402)
chunit-quic Dec 27, 2022
46bc136
[QNN] Change in Pass Context for lookup table calculation (#13660)
ibsidorenko Dec 27, 2022
a6337ca
[CLML][RELAY] Enable Pad and Conv2d layer fusion (#13649)
krishnaraj36 Dec 28, 2022
9c16365
[TVMScript] More accurate hints for ImportError (#13662)
standbyme Dec 28, 2022
96d55ec
[TIR] Create Layout with specified axis dtype (#13663)
MasterJH5574 Dec 28, 2022
a188e7c
[MetaSchedule] Add "disabled_pass" option in tuning API (#13659)
ibsidorenko Dec 28, 2022
cede850
[CONTAINER] Struct Hash/Equal and JSON support for ShapeTuple (#13671)
tqchen Dec 29, 2022
e9cd558
[RUNTIME][OPENCL] OpenCL host pointer support to acheive zero copy (#…
srkreddy1238 Dec 30, 2022
0fad2de
[BugFix] Pylance emits the warnning 'Code is unreachable' (#13673)
lightzhan-intellif Dec 30, 2022
59e7a5c
[TOPI][bugfix] Fix a bug in arm_cpu int8 dotprod schedule and moderni…
ekalda Dec 31, 2022
a1df230
[fix] MXNet dot for all tensor dimensions (#11760)
petuca Jan 1, 2023
a4ec3a2
[Build] Expose missing USE_VERILATOR in cmake (#13676)
cbalint13 Jan 1, 2023
30a513a
[BENCHMARK][ADRENO] Adreno Benchmarks with texture (#13675)
srkreddy1238 Jan 1, 2023
f121fd7
[Bug][CodeGen,Cuda]fix cast fp16 to int8/uint8 in cuda (#13641)
ninesheep Jan 2, 2023
aa0699c
[TOPI] Expose mem_scope from generic conv2d variants to be more reusa…
cbalint13 Jan 3, 2023
ed6a407
[CLML] Version compatibility and various test cases (#13670)
srkreddy1238 Jan 3, 2023
444e3a1
[BENCHMARKS][ADRENO] Documentation for Adreno (Texture) benchmarks (#…
srkreddy1238 Jan 3, 2023
381476e
[ONNX] Add converter for QAttention from Microsoft onnxruntime contri…
KJlaccHoeUM9l Jan 3, 2023
d375d0e
[BugFix][Runtime] Add missing check for `PackedFunc` (#13687)
cyx-6 Jan 3, 2023
43f1913
[COMMUNITY] @blackkker -> Reviewer (#13686)
junrushao Jan 4, 2023
f554f35
[Git] Ignore python/requirements directory (#13684)
Lunderberg Jan 4, 2023
5a043c9
[Schedule][Bugfix] Fix decompose padding wrt the single child subtree…
wrongtest-intellif Jan 4, 2023
942abff
[Hexagon] Remove temporary VTCM workspace APIs (#13681)
janetsc Jan 4, 2023
91c8004
[Contrib][Sort] Faster Top-K Implementation (#13599)
AndrewZhaoLuo Jan 4, 2023
47fc772
[Build][Bugfix] Use CMAKE_ prefix for <LANG>_COMPILER_LAUNCHER (#13697)
Lunderberg Jan 4, 2023
4d816b7
[microTVM]Add default value to unspecified project options in project…
mehrdadh Jan 4, 2023
77a39da
Add header files for GraphExecutorDebug (#13694)
zhaojinxi Jan 4, 2023
e1ff1c4
[Relay][Docs] Fixed examples in relay/transform.py documentation (#13…
padreofthegame Jan 4, 2023
38bf0ed
[Hexagon] Denote DMA cache bypass as experimental feature (#13699)
adstraw Jan 4, 2023
38e2d2d
[BENCHMARKS][CLML] Adreno benchmarks with CLML BYOC path added (#13696)
srkreddy1238 Jan 4, 2023
9f82ee6
[VTA] Provide zero-initialization for VTAGenericInsn (#13698)
Lunderberg Jan 5, 2023
0ad67e8
[Tensorize][runtime] Add support for AMX(Advanced Matrix Extensions) …
Qianshui-Jiang Jan 5, 2023
dd2525f
[BugFix][TVMScript] Fix the roundtripability of intrinsic pow (#13692)
lightzhan-intellif Jan 5, 2023
3db5946
[BugFix][Runtime] Fix Incorrect node information (#13693)
zhaojinxi Jan 5, 2023
50d2154
[microTVM] Build standalone_crt with cmake instead of makefile (#13600)
alanmacd Jan 5, 2023
f2bbb7e
[microTVM] Fix MacOS build with USE_MICRO=ON (#13711)
alanmacd Jan 6, 2023
391b659
[tir] Add line level debug info (#13012)
driazati Jan 6, 2023
ef7dabb
[microTVM][Zephyr]Add project files for mlperftiny submission (#13690)
mehrdadh Jan 7, 2023
e1b4877
[docs] Add "Open with Colab" button to documentation (#13627)
guberti Jan 7, 2023
9d929d9
[TIR] Fix dtype mismatch error due to LetStmt (#13710)
masahi Jan 7, 2023
a49f448
[Fix,AutoScheduler] Handle 0-dim buffers in featurization (#13718)
Jan 7, 2023
691c28f
[TVMScript] Linter-friendly function definitions (#13713)
cyx-6 Jan 7, 2023
469acae
[Tests] Replace pytest.main with tvm.testing.main (#13717)
Mousius Jan 7, 2023
b05e918
[TVMScript] Refactor IRDocsifier (#13593)
junrushao Jan 8, 2023
c78bc8a
[TIR][Arith] Add common sub expr analyzer (#13702)
multiverstack-intellif Jan 9, 2023
9c2f249
[microTVM] Replace arm_nnsupportfunctions.h with arm_acle.h (#13363)
Mousius Jan 9, 2023
ba1e41c
[AOT] Added a test for detecting output size post MLF export (#13655)
asparkhi Jan 9, 2023
9abe71c
[Fix,Roofline] Fix roofline handling of multiple peak flops (#13716)
Jan 9, 2023
bf7d667
Add support for named outputs in MLF archive (#13704)
Mousius Jan 9, 2023
f8d2311
[HotFix][docs] Use correct Colab button URL (#13725)
guberti Jan 9, 2023
b075bda
[microNPU] Add support for TFLite PAD (#13732)
Aleksei-grovety Jan 9, 2023
923a2fb
[Web] Try to upgrade WebGPU API usage to the latest (#13731)
LancerComet Jan 9, 2023
77b5b4c
[Relay][Frontend] Span Filling TFLite (#13727)
chunit-quic Jan 9, 2023
e61f60b
[Relay][Frontend] Span Filling TensorFlow 1 (#13728)
chunit-quic Jan 9, 2023
e41a89c
Add DisallowAsyncStridedMemCopy post processor to rem (#13720)
nverke Jan 9, 2023
0ddeb28
[microTVM][Zephyr] Fix flash command for nrfjprog (#13723)
mehrdadh Jan 9, 2023
7f74170
[CI] Fix MLF input and output name map (#13740)
mehrdadh Jan 10, 2023
9d0caeb
[TE][PrimFunc] Fix create primfunc from te extern with explicit buffe…
wrongtest-intellif Jan 10, 2023
46546e0
Add Name Transforms for Rust style (#13706)
Mousius Jan 10, 2023
28c09f6
[COLLAGE] Add more customization to support more targets (#13450)
krishnaraj36 Jan 10, 2023
dcf05ef
[Docker update] Update ci_cpu tag to the latest from tlcpackstaging (…
asparkhi Jan 10, 2023
b53706e
[CMSIS-NN] Support CMSIS NN from new GitHub location (#13656)
NicolaLancellotti Jan 10, 2023
4c1da54
[microNPU] Add a legalization test for TFLite PAD (#13750)
Aleksei-grovety Jan 10, 2023
77d9574
[Arith] Use ConstIntBound to remove negative numerator when lowering …
Lunderberg Jan 10, 2023
00e81e9
[Profiler] Allow user to flush L2 cache in `time_evalutor` function f…
yzh119 Jan 10, 2023
8c7bbdd
[CMake][OpenCL] Remove warning for OpenCL wrapper (#13683)
Lunderberg Jan 10, 2023
12fe0e9
[AOT]Aot module post-test error workaround (#13685)
janetsc Jan 11, 2023
a13648f
[microTVM] tuning on micro targets with meta-schedule (#13514)
mkatanbaf Jan 11, 2023
9edabfe
[Tensorize][TOPI] Add AMX Tensorizing for int8 batch matmul (#13745)
Qianshui-Jiang Jan 11, 2023
4c5264c
[Hexagon][QNN] Improve performance wo QNN canonicalization (#13734)
ibsidorenko Jan 11, 2023
7eae01f
[CI][Docker][Cortex-M]Update scripts to update ci_cortexm to Ubuntu 2…
mehrdadh Jan 11, 2023
3f8926a
[Fix,TOPI] Consolidate generic and x86 scatter nd (#13755)
Jan 11, 2023
b249b9a
[Docs] Add `typing-extensions` dependency guide (#13730)
KokeCacao Jan 11, 2023
292d088
[MetaSchedule] Add pass instrument to MetaSchedule api (#13688)
Jan 11, 2023
6fe6cd7
[Relay][Frontend] Span Filling ONNX (#13767)
chunit-quic Jan 12, 2023
4557d6b
[TOPI][OP] Support grouped conv2d_NCHWc (#13733)
liangW-intellif Jan 12, 2023
412135a
[CI][microTVM]Update ci_cortexm image (#13764)
mehrdadh Jan 12, 2023
39c0ef2
[microNPU] Add relu6 relu_n1_to_1 test cases for Ethos-U (#13645)
Aleksei-grovety Jan 12, 2023
0da41e2
[docs] Remove empty code blocks (#13689)
driazati Jan 12, 2023
31e3ca6
[ci][docker] Make branch names valid before using them as tags (#13738)
driazati Jan 12, 2023
a6538c9
[ONNX,FIX] onnx Pad operator `constant_value` omit use default value …
fantasyRqg Jan 12, 2023
18ea96f
Remove tutorials CMSIS dependency when not needed (#13762)
NicolaLancellotti Jan 12, 2023
254e8f5
[Target] Make `key=arm_cpu` --> `key=arm_cpu,cpu` on AArch64 (#13775)
AndrewZhaoLuo Jan 13, 2023
b8169d6
[CI] Update ci_minimal docker image to cross-compile TVM to aarch64 (…
gigiblender Jan 13, 2023
96a1089
[UnitTest] Parametrized test_arith_iter_affine_map::test_padding (#13…
Lunderberg Jan 13, 2023
aa9ff23
[ETHOSN] Remove support for NPU driver 22.08 (#13763)
asparkhi Jan 13, 2023
b3ca506
[TVMScript] IR Fragment Printing (#13742)
junrushao Jan 14, 2023
bd5e54b
[COMMUNITY] Hongyi Jin -> Committer (#13784)
junrushao Jan 14, 2023
54069dc
[COMMUNITY] Yaxing Cai -> Committer (#13787)
Jan 15, 2023
7c816bf
[MeteSchedule] Bugfix: Add checks for nullable `run_secs` (#13790)
spectrometerHBH Jan 16, 2023
be6a334
[TIR][Fix] Buffer slicing using index dtype as extent (#13788)
MasterJH5574 Jan 16, 2023
94403f4
[TIR][Fix] IndexDataTypeNormalizer not unwrapping float casting (#13789)
MasterJH5574 Jan 16, 2023
b2997b7
[TIR] Fix cache_write bug with allocate const node (#13792)
quic-sanirudh Jan 16, 2023
94fd43f
[FIX] Fix Typos in Docs and Comments (#13793)
QuqqU Jan 16, 2023
cd1fa03
[TOPI] Fix tuple unpack in conv2d NCHWc int8 (#13761)
michalpiszczek Jan 17, 2023
174277f
[FIX] Minor Compilation Warning Fixes (#13794)
Jan 17, 2023
bd0d605
[Hexagon] Add hexagon user DMA intrins for tensorization (#13719)
nverke Jan 17, 2023
a466614
[CMSIS-NN] Remove support for the old CMSIS NN project (#13760)
NicolaLancellotti Jan 17, 2023
3ef5a2f
[TIR][TOPI][x86][CI] Support skylake avx512 (#13621)
vvchernov Jan 17, 2023
03e1501
[CI] Cross-compile libtvm_runtime to Aarch64 and run tests (#13714)
gigiblender Jan 17, 2023
1feb73e
[TVMScript] Migrate More to TVMScripr Printer (#13785)
junrushao Jan 17, 2023
f560a46
[skip ci][ci][docker] Add cross compilation libs (#13800)
driazati Jan 17, 2023
1a6dfda
[TVMScript] `T.axis.remap` syntax sugar for TVMScript printer (#13743)
cyx-6 Jan 18, 2023
fcc06f3
[TVMScript] Use TVMScript for all TIR Printing (#13795)
junrushao Jan 18, 2023
5bb7344
[microNPU] Upgrade to 22.08 version of Arm(R) Ethos(TM)-U NPU drivers…
Aleksei-grovety Jan 18, 2023
d25feaf
[microNPU] Add hardware constraints for binary elementwise (#13772)
Aleksei-grovety Jan 18, 2023
8f864f6
[Bugfix][TIR] Fix version conflict with typing for Python 3.8.0 (#13744)
Ever-Kid Jan 18, 2023
b516451
[TOPI] Making test_strided_set require a GPU for testing (#13804)
Jan 18, 2023
53f5148
[TIR]Fix the crash of the pass RemoveNoOp (#13808)
lightzhan-intellif Jan 19, 2023
ada1caf
[Adreno] Update interface of AnnotateMemoryScope pass (#13779)
echuraev Jan 19, 2023
bb215d2
[ONNX] Extend converter for Attention from Microsoft onnxruntime cont…
KJlaccHoeUM9l Jan 19, 2023
c373077
[Docker]Add dialout group by default on login (#13810)
mehrdadh Jan 19, 2023
64619f4
[microTVM] Add tutorial on how to generate MLPerfTiny submissions (#1…
mehrdadh Jan 19, 2023
d4aedac
[TVMScript] `T.match_buffer` syntax sugar in arguments for TVMScript …
cyx-6 Jan 20, 2023
693f92a
[TIR][Schedule] Improve cache_index to cache common subexpressions (#…
multiverstack-intellif Jan 20, 2023
f570a8c
[TVMScript] `T.allocate` with `T.decl_buffer` syntax sugar for TVMScr…
cyx-6 Jan 20, 2023
25d278b
[TESTING] Enable execution of test_packed_8x8x32_resnet50 (#13799)
abhikran-quic Jan 20, 2023
cdd2095
[COMMUNITY] alanmacd -> Reviewer (#13814)
leandron Jan 20, 2023
c613b89
[docker][microTVM]Update zephyr version to 3.2 and Zephyr SDK to 0.15…
mehrdadh Jan 20, 2023
f889774
[CI] Update rerun list for tvm-bot (#13817)
gigiblender Jan 20, 2023
2488257
[Frontend][PaddlePaddle] Add topk op and Fix bug, when the output is …
woobinw Jan 21, 2023
498eb94
[TVMScript] Implicit root block syntax sugar for TVMScript printer (#…
cyx-6 Jan 21, 2023
55c9c97
[Bugfix][TIR] Fix version conflict with typing for different Python v…
sunggg Jan 22, 2023
c73f982
[microTVM][CRT]Separate CRT template project from standalone CRT buil…
mehrdadh Jan 23, 2023
e1d447c
[MetaSchedule] add fp16-16-32 TensorCores rule to default settings (#…
Jan 23, 2023
1ff77ae
[TVMScript] Add ObjectPath to LiteralDoc (#13821)
junrushao Jan 23, 2023
1d3139b
[Metaschedule] get_top_k should not return not built records (#13824)
Icemist Jan 24, 2023
cf48327
[Hexagon][Metaschedule] Add timeout_sec arg to get_hexagon_local_buil…
Icemist Jan 24, 2023
f7b5c10
[TVMScript] More concise `T.allocate` syntax printing (#13830)
cyx-6 Jan 24, 2023
2d63357
[TOOL][NATIVE] Android native application for deploy and run (#13791)
srkreddy1238 Jan 24, 2023
76a16c4
[TVMScript] Introduce `PrinterConfig` (#13831)
junrushao Jan 24, 2023
66ef2a3
[Hexagon]Float and quantized dense operators with schedules (#12873)
joshherr-quic Jan 24, 2023
1e35674
[RUNTIME] Fix determination of big/little cores domains (#13832)
elvin-n Jan 24, 2023
ea2cdc8
[docker][microTVM]Fix Zephyr 0.15.2 SDK installation and separate Zep…
mehrdadh Jan 24, 2023
7218986
[Adreno] Optimize reduction schedule (#13781)
elvin-n Jan 25, 2023
a9831a2
[TVMScript] Default to T.Buffer than T.buffer_decl (#13838)
junrushao Jan 25, 2023
4fc4ad0
[TVMScript] Consolidate folder structure (#13841)
junrushao Jan 25, 2023
f3b8ae2
Enhance the --help message of composite target (#13842)
MNGanesan Jan 25, 2023
1881cfd
[microTVM] Allow multiple runners in tuning micro models with meta-sc…
mkatanbaf Jan 26, 2023
3d42755
[TVMScript] Comments and docstrings printing (#13839)
cyx-6 Jan 26, 2023
427b548
[ONNX] QGemm support (#13747)
chengven027 Jan 26, 2023
4f1f8c5
[microTVM] Fix host-driven AOT memory workspaces (#13807)
alanmacd Jan 26, 2023
d2bacff
[ROCM] Fixes compiling on ROCM 5 and accuracy on dense op (#13847)
masahi Jan 26, 2023
9c382e1
[MetaSchedule] Fix for RewriteLayout + AllocateConst when the rank of…
masahi Jan 27, 2023
f2b6283
[CLML][RUNTIME] Enable more ops in CLML runtime (#13834)
krishnaraj36 Jan 27, 2023
08d202f
[Relay] Convert negative axes to positive when importing ONNX Unsquee…
balaram-cadence Jan 27, 2023
5620926
[ETHOSN] Apply FoldConstant before NPU partitioning (#13848)
asparkhi Jan 27, 2023
4a992b5
[Hexagon][CI] Updated sha for builder LLVM (#13418)
joshherr-quic Jan 27, 2023
998f894
[microTVM] Update tutorials (#13845)
mehrdadh Jan 27, 2023
d239d58
[ONNX] Support Bernoulli op on ONNX front-end (#13802)
vvchernov Jan 27, 2023
40e6649
[Arith] Support eq in detect_clip_bound (#13746)
wrongtest-intellif Jan 28, 2023
ed25753
[topi] remove comment redundancy in resize.py (#13860)
terrance-liang Jan 28, 2023
6563998
[WASM][FIX] test tests/node/websock_rpc_test.py (#13862)
fantasyRqg Jan 29, 2023
e5cc9ca
[RUNTIME][CLML] OpenCLML tuning and profiling enhanced (#13843)
srkreddy1238 Jan 30, 2023
5b669b5
[ONNX] Support SequenceLength op (#13863)
vvchernov Jan 30, 2023
e11e8d4
Enable C++17 for cmake modules (#13869)
echuraev Jan 30, 2023
b02c5ff
[Hexagon][CI] Update the docker image ID to reflect newer LLVM (#13870)
Jan 30, 2023
82fedb3
[LLVM] Remove call to EmitDebugLocation from AddAliasInfo (#13872)
Jan 30, 2023
d8b0991
[TIR][FIX] check args size when creating prim_func by runtime::Regist…
Ever-Kid Jan 31, 2023
18d7d82
[TVMScript] Robustify the Highlight Printer (#13861)
Jan 31, 2023
b95130d
[ONNX] Support SequenceErase op (#13865)
vvchernov Jan 31, 2023
23cf2f7
[ONNX] Support SequenceEmpty op (#13866)
vvchernov Jan 31, 2023
f258e2c
[CI] NNPACK build issue workaround (#13873)
Liam-Sturge Jan 31, 2023
044a693
[microTVM]Refactor test and add skip to current failing tests/boards …
mehrdadh Jan 31, 2023
14462f7
[TIR][TOPI][CI] Fix number of arguments in calls of llvm_pure_intrin …
vvchernov Jan 31, 2023
9be25a2
[ARITH] support floordiv in deduce bound (#13880)
wrongtest-intellif Feb 1, 2023
e02f3c3
CI fixes
fzi-peccia Feb 1, 2023
1fb1231
LINT changes
fzi-peccia Feb 1, 2023
a83f00d
LINT fix
fzi-peccia Feb 1, 2023
6fd5287
Lint fix
fzi-peccia Feb 1, 2023
ccb5732
LINT fix
fzi-peccia Feb 1, 2023
e2cffed
pylint fixes
fzi-peccia Feb 1, 2023
db3646f
more lint fixes
fzi-peccia Feb 1, 2023
9ce2b62
Small makefile addition to enable use of math.h functions
fzi-peccia Feb 8, 2023
cc6ab72
moved gemmini how tos to tutorials
fzi-peccia Feb 8, 2023
d6dedc9
Fix docs
fzi-peccia Feb 8, 2023
99f69f2
lint changes
fzi-peccia Feb 8, 2023
6483608
More lint improvements
fzi-peccia Feb 8, 2023
dcb2845
Fixed ALL pylint "Line too long"
fzi-peccia Feb 8, 2023
e340fab
Pending pylint fixes
fzi-peccia Feb 8, 2023
99756b2
Pending pylint fixes
fzi-peccia Feb 8, 2023
d7e6a93
Docs fix
fzi-peccia Feb 9, 2023
1eaaee0
Added missing license text
fzi-peccia Feb 9, 2023
60cbfd1
Small lint fixes
fzi-peccia Feb 9, 2023
3075026
Merge remote-tracking branch 'upstream/main' into gemmini-microtvm
fzi-peccia Mar 27, 2023
d563c00
Recommended changes for merge
fzi-peccia Mar 27, 2023
a96bcaf
Merge branch 'gemmini-microtvm' of github.com:fzi-peccia/tvm into gem…
fzi-peccia Mar 27, 2023
6316f83
Fixed merge issues
fzi-peccia Mar 27, 2023
0315a7c
Fix merge
fzi-peccia Mar 27, 2023
0e84cfe
Fixed lint problem
fzi-peccia Mar 27, 2023
8ce1222
Merge remote-tracking branch 'upstream/main' into gemmini-microtvm
fzi-peccia Mar 28, 2023
2f0308f
.utils does not exist!
fzi-peccia Mar 28, 2023
81c82df
Added docstrings to all Python files
fzi-peccia Mar 28, 2023
0cecb86
Lint fixes
fzi-peccia Mar 28, 2023
f0e5f5c
Merge remote-tracking branch 'upstream/main' into gemmini-microtvm
fzi-peccia Mar 29, 2023
d53013a
Fixed merge error
fzi-peccia Mar 29, 2023
17369a4
Small lint fix
fzi-peccia Mar 29, 2023
777816d
Test fix
fzi-peccia Mar 30, 2023
cb3fdaa
Lint fix
fzi-peccia Mar 30, 2023
0ecb826
Changed URL in tutorial to the standard one used in other tutorials
fzi-peccia Apr 3, 2023
d498f88
Lint fix
fzi-peccia Apr 3, 2023
aff88a1
Merge fix
fzi-peccia Apr 5, 2023
fb6330f
Lint fix
fzi-peccia Apr 5, 2023
ad8b883
Merge remote-tracking branch 'upstream/main' into gemmini-microtvm
fzi-peccia Apr 17, 2023
7236a8b
Fix test
fzi-peccia Apr 17, 2023
3b07a14
Merge branch 'main' into gemmini-microtvm
fzi-peccia Jun 12, 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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
[submodule "3rdparty/OpenCL-Headers"]
path = 3rdparty/OpenCL-Headers
url = https://github.com/KhronosGroup/OpenCL-Headers.git
[submodule "3rdparty/gemmini"]
path = 3rdparty/gemmini
url = https://github.com/ucb-bar/gemmini
[submodule "3rdparty/cnpy"]
path = 3rdparty/cnpy
url = https://github.com/rogersce/cnpy.git
Expand Down
1 change: 1 addition & 0 deletions 3rdparty/gemmini
Submodule gemmini added at b6bdad
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ include(cmake/modules/Micro.cmake)
include(cmake/modules/contrib/EthosN.cmake)
include(cmake/modules/contrib/CMSISNN.cmake)
include(cmake/modules/contrib/EthosU.cmake)
include(cmake/modules/contrib/Gemmini.cmake)
include(cmake/modules/contrib/BLAS.cmake)
include(cmake/modules/contrib/CODEGENC.cmake)
include(cmake/modules/contrib/DNNL.cmake)
Expand Down Expand Up @@ -591,6 +592,9 @@ if(USE_MICRO)
add_dependencies(tvm_runtime crt)
add_dependencies(tvm_runtime host_standalone_crt)
add_dependencies(tvm_runtime zephyr)
if(USE_GEMMINI)
add_dependencies(tvm_runtime gemmini)
endif()
endif()

if(USE_CPP_RPC)
Expand Down
20 changes: 20 additions & 0 deletions apps/microtvm/gemmini/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--- 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. -->

This directory contains code to create code for the Gemmini accelerator using microTVM. These tests are then executed on the Spike RISC-V ISA simulator.

In order to use this correctly, the Spike simulator has to be installed. This can be done by following the steps found on the [Chipyard](https://chipyard.readthedocs.io/en/stable/) repository. The instructions to also install the patch of the Spike simulator that adds the Gemmini functional simulator can be found in the [Gemmini](https://github.com/ucb-bar/gemmini) repository.
57 changes: 57 additions & 0 deletions apps/microtvm/gemmini/template_project/crt_config/crt_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* 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.
*/

/*!
* \brief CRT configuration for the host-linked CRT.
*/
#ifndef TVM_RUNTIME_MICRO_CRT_CONFIG_H_
#define TVM_RUNTIME_MICRO_CRT_CONFIG_H_

/*! Log level of the CRT runtime */
#define TVM_CRT_LOG_LEVEL TVM_CRT_LOG_LEVEL_DEBUG

/*! Support low-level debugging in MISRA-C runtime */
#define TVM_CRT_DEBUG 0

/*! Maximum supported dimension in NDArray */
#define TVM_CRT_MAX_NDIM 6
/*! Maximum supported arguments in generated functions */
#define TVM_CRT_MAX_ARGS 10
/*! Maximum supported string length in dltype, e.g. "int8", "int16", "float32" */
#define TVM_CRT_MAX_STRLEN_DLTYPE 10
/*! Maximum supported string length in function names */
#define TVM_CRT_MAX_STRLEN_FUNCTION_NAME 120
/*! Maximum supported string length in parameter names */
#define TVM_CRT_MAX_STRLEN_PARAM_NAME 80

/*! Maximum number of registered modules. */
#define TVM_CRT_MAX_REGISTERED_MODULES 2

/*! Size of the global function registry, in bytes. */
#define TVM_CRT_GLOBAL_FUNC_REGISTRY_SIZE_BYTES 512

/*! Maximum packet size, in bytes, including the length header. */
#define TVM_CRT_MAX_PACKET_SIZE_BYTES 8 * 1024

/*! \brief Maximum length of a PackedFunc function name. */
#define TVM_CRT_MAX_FUNCTION_NAME_LENGTH_BYTES 30

// #define TVM_CRT_FRAMER_ENABLE_LOGS

#endif // TVM_RUNTIME_MICRO_CRT_CONFIG_H_
Loading