Skip to content
Merged
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions tensorflow/lite/micro/recording_micro_allocator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ TF_LITE_MICRO_TEST(TestRecordsMultiTenantAllocations) {
tensors_count * TF_LITE_EVAL_TENSOR_STRUCT_SIZE * 2);
}

// TODO(veblush): Reenable this
// Currently those two tests are failing with
// "qemu: uncaught target signal 7 (Bus error) - core dumped"
#if 0
TF_LITE_MICRO_TEST(TestRecordsPersistentTfLiteTensorData) {
const tflite::Model* model = tflite::GetModel(kTestConvModelData);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@veblush I am suspicious of the existing kTestConvModelData (a generated convolutional model). The model we are using is from 2021, and when regenerated using the repo script, generates a very different model today. In my PR for schema buffer and custom option offsets, I generated a new model and placed it into the PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pointer. I also concluded that the pre-generated test model file is misaligned, which is the culprit. I'm regenerating it in a separate PR to confirm this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #3207

uint8_t arena[kTestConvArenaSize];
Expand Down Expand Up @@ -227,6 +231,7 @@ TF_LITE_MICRO_TEST(TestRecordsPersistentTfLiteTensorQuantizationData) {
TF_LITE_MICRO_EXPECT_GE(recorded_allocation.used_bytes,
expected_requested_bytes);
}
#endif

TF_LITE_MICRO_TEST(TestRecordsPersistentBufferData) {
uint8_t arena[kTestConvArenaSize];
Expand Down
Loading