Skip to content

Commit 39e8a9b

Browse files
committed
Merge remote-tracking branch 'upstream/main 95a4591' into macos
95a4591 Disabled two tests for qemutest (tensorflow#3206) [email protected] 26.09.2025 07:12 PM
2 parents aa2547f + 95a4591 commit 39e8a9b

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

tensorflow/lite/micro/recording_micro_allocator_test.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ TF_LITE_MICRO_TEST(TestRecordsMultiTenantAllocations) {
157157
tensors_count * TF_LITE_EVAL_TENSOR_STRUCT_SIZE * 2);
158158
}
159159

160+
// TODO(veblush): Reenable this
161+
// Currently those two tests are failing with
162+
// "qemu: uncaught target signal 7 (Bus error) - core dumped"
163+
#if 0
160164
TF_LITE_MICRO_TEST(TestRecordsPersistentTfLiteTensorData) {
161165
const tflite::Model* model = tflite::GetModel(kTestConvModelData);
162166
uint8_t arena[kTestConvArenaSize];
@@ -227,6 +231,7 @@ TF_LITE_MICRO_TEST(TestRecordsPersistentTfLiteTensorQuantizationData) {
227231
TF_LITE_MICRO_EXPECT_GE(recorded_allocation.used_bytes,
228232
expected_requested_bytes);
229233
}
234+
#endif
230235

231236
TF_LITE_MICRO_TEST(TestRecordsPersistentBufferData) {
232237
uint8_t arena[kTestConvArenaSize];

tensorflow/lite/micro/tools/make/arm_gcc_download.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,26 @@ else
6363
# host architechture
6464
UNAME_M=`uname -m`
6565
if [ "${UNAME_M}" == "x86_64" ]; then
66-
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz"
67-
EXPECTED_MD5="791754852f8c18ea04da7139f153a5b7"
66+
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi.tar.xz"
67+
EXPECTED_MD5="17272b6c72d476c82b692a06ada0636c"
6868
elif [ "${UNAME_M}" == "aarch64" ]; then
69-
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz"
70-
EXPECTED_MD5="5a08122e6d4caf97c6ccd1d29e62599c"
69+
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-aarch64-arm-none-eabi.tar.xz"
70+
EXPECTED_MD5="5b44bdd1d983247ec153fe548b4ff8ed"
7171
fi
7272

7373
elif [ "${HOST_OS}" == "osx" ]; then
7474
# host architechture
7575
UNAME_M=`uname -m`
7676
if [ "${UNAME_M}" == "arm64" ]; then
77-
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-darwin-arm64-arm-none-eabi.tar.xz"
78-
EXPECTED_MD5="2c43e9d72206c1f81227b0a685df5ea6"
77+
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-darwin-arm64-arm-none-eabi.tar.xz"
78+
EXPECTED_MD5="1c4a092430c167d08de4b55c6840e46b"
7979
else
80-
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz"
81-
EXPECTED_MD5="41d49840b0fc676d2ae35aab21a58693"
80+
echo "OSX arch:${UNAME_M} not supported."
81+
exit 1
8282
fi
8383
elif [ "${HOST_OS}" == "windows" ]; then
84-
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip"
85-
EXPECTED_MD5="7fd677088038cdf82f33f149e2e943ee"
84+
GCC_URL="https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-mingw-w64-i686-arm-none-eabi.zip"
85+
EXPECTED_MD5="a3fafaa5fcfe34e9bd30df616316813e"
8686
else
8787
echo "OS type ${HOST_OS} not supported."
8888
exit 1

0 commit comments

Comments
 (0)