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

dmlc/tvm sync 20190410 #26

Merged
merged 51 commits into from
Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
75fb75a
[Relay] Add support for TupleGetItem in op fusion (#2914)
masahi Mar 29, 2019
4f2b9cf
[Relay, TOPI] Deformable conv2d (#2908)
vinx13 Mar 29, 2019
eccb928
TVM debugresult dump to Chrome Tracing (#2922)
ajtulloch Mar 29, 2019
09bd436
[Relay] add test for second order ad (#2754)
MarisaKirisame Mar 30, 2019
a84b8f0
Revert "[Relay] add test for second order ad (#2754)" (#2926)
tqchen Mar 30, 2019
a38aa40
[Tutorial] Cache the test data in tutorial (#2923)
icemelon Mar 30, 2019
4260e42
[AUTOTVM] Refactor measure build func (#2927)
tqchen Mar 30, 2019
d10974a
Fix intersect of modular set (#2904)
Hzfengsy Mar 30, 2019
5d9412e
[Relay, OpFusion] Fix handling TupleGetItem for nested tuples (#2929)
masahi Mar 30, 2019
7292ae6
Consistent result of DetectLinearEquation() when an empy vars is pass…
yTakatsukasa Mar 30, 2019
5c8b322
[FRONTEND][ONNX] Some bug fixes and Shape operator fixed for relay. (…
srkreddy1238 Mar 30, 2019
f077351
Outdated renaming for flatten in ONNX converter (#2843)
slyubomirsky Mar 30, 2019
30f0c58
[FRONTEND][TENSORFLOW] bug fix for tensorflow official slim models. (…
srkreddy1238 Mar 30, 2019
189863f
Fix vcvtph2ps codegen (#2925)
ajtulloch Mar 31, 2019
083021c
[ARITH] Analyzer CanonicalSimplifier (#2891)
tqchen Mar 31, 2019
c97007a
Update schedule_dataflow_rewrite.cc (#2934)
Youjk Apr 1, 2019
987a7d0
[TEXPR][PASS] Fix thread all reduce to avoid write after read hazzard…
tqchen Apr 1, 2019
25c72c9
Fix PRC typo (#2939)
apivovarov Apr 1, 2019
ed8da06
[DOCKER][FRONTEND] Run DarkNet tests (#2673)
kazum Apr 1, 2019
53a4824
[Relay] Add foldr1 (#2928)
lixiaoquan Apr 1, 2019
1ae30d7
[Relay/TOPI][OP] Add clip and wrap mode support in take (#2858)
icemelon Apr 1, 2019
bdfedd3
[Relay, Quantization] Quantize all fields of concatenate (#2913)
vinx13 Apr 1, 2019
95d948d
Fix makedirs() condition in contrib. (#2942)
cbalint13 Apr 2, 2019
c867317
[Relay][OP] Gather_nd exposed to relay (#2945)
Laurawly Apr 2, 2019
7accfed
Add missing #!/bin/bash directive. (#2951)
mshawcroft Apr 2, 2019
1ea177f
[Bugfix] Bilinear resize bug fix from PR #2777 (#2857)
Laurawly Apr 2, 2019
5ce9d59
[Relay][OP] Fix bias_add default axis (#2829)
icemelon Apr 2, 2019
746ac1b
[Rust] Unify types between bindings and pure Rust impl (#2616)
nhynes Apr 3, 2019
abf50dc
[Relay][Frontend] Support TF Gather (#2935)
yongwww Apr 3, 2019
32a7ca4
[RUNTIME][OPENCL] Make OpenCL runtime Compatible with OpenCL2.0 #2897…
mshawcroft Apr 3, 2019
d060856
[Relay][Frontend] Support tf.where (#2936)
yongwww Apr 3, 2019
4966566
[Relay][Frontend] Adding ADD operator to tflite frontend for compilin…
gomida Apr 3, 2019
3ce857a
[RUST] Remove empty ty.rs (#2958)
ehsanmok Apr 3, 2019
7f358f8
fix undefined reference to dlopen, etc (#2957)
junrushao Apr 4, 2019
64750b1
[TOPI] bitserial_conv2d move to autotvm template and updates (#2819)
Apr 4, 2019
e704f66
Removed std::unary_function because it is deprecated and removed in n…
higumachan Apr 4, 2019
3493a68
[REFACTOR] Remove stale verilog generator (#2964)
tqchen Apr 4, 2019
ac3aa77
[tvm4j] provide error msg for failure function call (#2967)
yzhliu Apr 5, 2019
cd74afe
[TVM][Bugfix] Fix missing runtime:: (#2966)
hlu1 Apr 5, 2019
db9cf43
[WIP][AUTOTVM][TOPI] Port x86 NCHWc to AutoTVM for Task Extraction (#…
eqy Apr 5, 2019
048db2a
Rustify PackedFunc & Friends (#2969)
nhynes Apr 7, 2019
1d10ae7
[HEADER] Add Header to Comply with ASF Release Policy (#2982)
tqchen Apr 8, 2019
3c77297
[Relay][RFC][Fix] Rename RelayPrint to AsText (#2984)
jroesch Apr 8, 2019
1d2e92d
[Relay] InferCorrectLayout for strided_slice & min_num_branches optio…
vinx13 Apr 9, 2019
b77e3d5
[Relay] Add expr_visitor, fix expr_functor exponential blowup problem…
MarisaKirisame Apr 9, 2019
2131a48
add document (#2714)
MarisaKirisame Apr 9, 2019
5d3f7ee
Update let_list.h (#2987)
MarisaKirisame Apr 9, 2019
8991f73
Expose backtrace symbols in Debug mode (#3001)
hcho3 Apr 10, 2019
d0b093a
add output format to ndk build func (#2999)
eqy Apr 10, 2019
389ff44
fix java checkstyle version (#2998)
yzhliu Apr 10, 2019
e860938
Update dmlc_tvm_commit_id
wweic Apr 10, 2019
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
  •  
  •  
  •  
68 changes: 0 additions & 68 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion 3rdparty/HalideIR
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ include_directories("3rdparty/compiler-rt")

# initial variables
set(TVM_LINKER_LIBS "")
set(TVM_RUNTIME_LINKER_LIBS "")
set(TVM_RUNTIME_LINKER_LIBS ${CMAKE_DL_LIBS})
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# Generic compilation options
Expand All @@ -85,7 +85,8 @@ else(MSVC)
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag("-std=c++11" SUPPORT_CXX11)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_compile_options(-O0 -Wall -fPIC -fvisibility=hidden -std=c++11)
set(CMAKE_C_FLAGS "-O0 -g -Wall -fPIC ${CMAKE_C_FLAGS} -rdynamic")
set(CMAKE_CXX_FLAGS "-O0 -g -Wall -fPIC -std=c++11 ${CMAKE_CXX_FLAGS} -rdynamic")
else()
set(CMAKE_C_FLAGS "-O2 -Wall -fPIC -fvisibility=hidden ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-O2 -Wall -fPIC -fvisibility=hidden -std=c++11 ${CMAKE_CXX_FLAGS}")
Expand Down
17 changes: 17 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,3 +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. -->

TVM Contributors
================
TVM adopts the Apache way and governs by merit. We believe that it is important to create an inclusive community where everyone can use,
Expand Down
18 changes: 18 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
#!groovy
// -*- mode: groovy -*-

// 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.

// Jenkins pipeline
// See documents at https://jenkins.io/doc/book/pipeline/jenkinsfile/

Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +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.

ROOTDIR = $(CURDIR)

.PHONY: clean all test doc pylint cpplint lint\
Expand Down
69 changes: 43 additions & 26 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +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. -->

TVM Change Log
==============

Expand Down Expand Up @@ -27,56 +44,56 @@ This release features several major improvements. Some of the highlights are: Ar
- AutoTVM optimizations for CUDA
- AutoTVM optimizations for x86
- Initial release of the differentiable programming IR, Relay
- Generic & informative Relay error reporting #2408
- Relay IR text format support #1781
- Generic & informative Relay error reporting #2408
- Relay IR text format support #1781
- Support control flows
- A Normal Form Canonicalization #2251
- A Normal Form Canonicalization #2251
- Type system support
- End to end compilation
* Frontend support: Caffe2 #2507 , CoreML #2476 , Keras #2376 , MXNet #2163 , ONNX, TFLite #2365
* Operator coverage #1799 #2051
- FoldScaleAxis #2020
- SimplifyInference #2033
* Frontend support: Caffe2 #2507 , CoreML #2476 , Keras #2376 , MXNet #2163 , ONNX, TFLite #2365
* Operator coverage #1799 #2051
- FoldScaleAxis #2020
- SimplifyInference #2033
- CombineParallelConv2D #2089
- InstrumentBoundCheckers pass #2079
- InstrumentBoundCheckers pass #2079
- Bind & FoldConstant #2100
- Alter Op Layout #2150
- General OpFusion #2090
- CodeGen
- Gcc / g++ compatible C code generator for TVM #2161
- Device type annotation for heterogeneous compilation #2361
- Cache packed func ptr, lift alloca #2070
- Generalize compute to tensor region #1476
- Gcc / g++ compatible C code generator for TVM #2161
- Device type annotation for heterogeneous compilation #2361
- Cache packed func ptr, lift alloca #2070
- Generalize compute to tensor region #1476
- Runtime
- Relay interpreter and compiler #1954
- Heterogeneous runtime #1695
- Language bindings: Golang runtime #1470 , Rust runtime #1597
- Add min_repeat_ms to time_evaluator #2200
- Bundled interpreter demonstration #2297
- Relay interpreter and compiler #1954
- Heterogeneous runtime #1695
- Language bindings: Golang runtime #1470 , Rust runtime #1597
- Add min_repeat_ms to time_evaluator #2200
- Bundled interpreter demonstration #2297
- Enable PlanMemory in the graph runtime #2120
- Language Binding
- Rust frontend #2292
- Rust frontend #2292
- VTA
- Improved RPC for VTA #2043
- Hybrid python programming model
- Support for scheduling #2416
- Support for Inter-function call #2287
- Support for scheduling #2416
- Support for Inter-function call #2287
- Backend support #2477
- TOPI
- Initial support for sparse tensor computation
- Improve ARM CPU depthwise convolution performance #2345
- Port winograd ops to relay #2356
- Improve ARM CPU depthwise convolution performance #2345
- Port winograd ops to relay #2356
- Add faster-rcnn proposal op #2420
- Tutorials and docs
- Relay language docs #2232
- Relay language docs #2232
- Tutorials on how to use SGX backend
- How to write a pass in python
- General lowering flow of TVM
- How to do tensorize
- TFLite frontend tutorial #2508
- Keras seq2seq model for translation tutorial #1815
- TFLite frontend tutorial #2508
- Keras seq2seq model for translation tutorial #1815
- Committer guide and tips #2468
- Code review guideline on API designs #2459
- Code review guideline on API designs #2459



Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +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. -->

<img src=https://raw.githubusercontent.com/tqchen/tvm.ai/master/images/logo/tvm-logo-small.png width=128/> Open Deep Learning Compiler Stack
==============================================

Expand Down
17 changes: 17 additions & 0 deletions apps/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +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. -->

# TVM Application Extensions and Examples
This folder contains various extension projects using TVM,
they also serve as examples on how to use TVM in your own project.
Expand Down
17 changes: 17 additions & 0 deletions apps/android_deploy/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +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. -->

# Android TVM Demo

This folder contains Android Demo app that allows us to show how to deploy model using TVM runtime api on a Android phone.
Expand Down
17 changes: 17 additions & 0 deletions apps/android_deploy/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +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.

// import DownloadModels task
project.ext.ASSET_DIR = projectDir.toString() + '/src/main/assets'
project.ext.TMP_DIR = project.buildDir.toString() + '/downloads'
Expand Down
17 changes: 17 additions & 0 deletions apps/android_deploy/app/download-models.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +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.

/*
* download-models.gradle
* Downloads model files from ${MODEL_URL} into application's asset folder
Expand Down
22 changes: 21 additions & 1 deletion apps/android_deploy/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
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.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ml.dmlc.tvm.android.demo" >

Expand Down Expand Up @@ -34,4 +54,4 @@

<uses-permission android:name="android.permission.INTERNET" />

</manifest>
</manifest>
Loading