Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 388ab5a

Browse files
author
Josh Fromm
authored
Merge branch 'relax' into bert_op_support
2 parents 343b3f9 + 2399cb8 commit 388ab5a

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

ci/jenkins/unity_jenkinsfile.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
3232
// NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
3333
ci_lint = 'tlcpack/ci-lint:20221025-182121-e41d0ed6e'
3434
ci_gpu = 'tlcpack/ci-gpu:20221128-070141-ae4fd7df7'
35-
ci_cpu = 'tlcpack/ci-cpu:20230110-070003-d00168ffb'
35+
ci_cpu = 'tlcpackstaging/ci_cpu:relax-20230217-001605-fcb3d9e71'
3636
ci_wasm = 'tlcpack/ci-wasm:v0.72'
3737
ci_i386 = 'tlcpack/ci-i386:v0.75'
3838
ci_qemu = 'tlcpack/ci-qemu:v0.11'

cmake/modules/contrib/TFLite.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ if(NOT USE_TFLITE STREQUAL "OFF")
3939
endif()
4040
find_library(TFLITE_CONTRIB_LIB libtensorflow-lite.a ${USE_TFLITE})
4141
file(GLOB_RECURSE TFLITE_DEPS "${USE_TFLITE}/*.a")
42+
# the order of the next libs are important for correct build
43+
list(REMOVE_ITEM TFLITE_DEPS "${USE_TFLITE}/_deps/clog-build/libclog.a" "${USE_TFLITE}/_deps/cpuinfo-build/libcpuinfo.a")
44+
list(APPEND TFLITE_DEPS "${USE_TFLITE}/_deps/cpuinfo-build/libcpuinfo.a")
45+
list(APPEND TFLITE_DEPS "${USE_TFLITE}/_deps/clog-build/libclog.a")
4246

4347
list(APPEND TVM_RUNTIME_LINKER_LIBS ${TFLITE_CONTRIB_LIB})
4448
list(APPEND TVM_RUNTIME_LINKER_LIBS ${TFLITE_DEPS})

src/topi/einsum.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,15 @@ class EinsumBuilder {
264264
// Ellipsis
265265
auto ellipsis_shape = ellipsis_shape_.value();
266266
for (int i = 0; i < static_cast<int>(ellipsis_shape.size()); ++i) {
267-
reduction_axes->push_back(
268-
IterVar(Range(0, ellipsis_shape[i]), Var("k", DataType::Int(64)), IterVarType::kCommReduce));
267+
reduction_axes->push_back(IterVar(Range(0, ellipsis_shape[i]),
268+
Var("k", DataType::Int(64)), IterVarType::kCommReduce));
269269
ellipsis_indices->push_back(reduction_axes->back()->var);
270270
}
271271
} else {
272272
// Normal label
273273
reduction_axes->push_back(IterVar(Range(0, label_to_extent_[label]),
274-
Var(std::string(1, label), DataType::Int(64)), IterVarType::kCommReduce));
274+
Var(std::string(1, label), DataType::Int(64)),
275+
IterVarType::kCommReduce));
275276
label_to_index->emplace(label, reduction_axes->back()->var);
276277
}
277278
}

0 commit comments

Comments
 (0)