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

Increase the number of targets that are built for Bluepill. #43160

Merged

Conversation

advaitjain
Copy link
Member

@advaitjain advaitjain commented Sep 11, 2020

This will help provide some safeguard against issues like #43126

Note:

  • Flash and ram are much larger than the actual hardware.
  • The tests are only built, not run because we are currently unable to use renode as part of out continuous integration system.
  • Some of the core tests (such as micro_interpreter_test) do not build for the bluepill target and have been explicitly excluded.
  • While the kernel_circular_buffer_test builds for bluepill, it does not pass and so had to be excluded.

Manually tested that micro/tools/ci_build/test_bluepill.sh passes on my local machine (i.e. builds and all the tests that are run, pass).

This will help provide some safeguard against issues like tensorflow#43126

Note that the tests are only built, not run because we are currently
unable to use renode as part of out continuous integration system.

Also note that some of the core tests (such as micro_interpreter_test)
do not build for the bluepill target and have been explicitly excluded.

Finally, note that while the kernel_circular_buffer_test builds for
bluepill, it does not pass and so had to be excluded.
@google-ml-butler google-ml-butler bot added the size:S CL Change Size: Small label Sep 11, 2020
@google-ml-butler
Copy link

Thanks for contributing to TensorFlow Lite Micro.

To keep this process moving along, we'd like to make sure that you have completed the items on this list:

We would like to have a discussion on the Github issue first to determine the best path forward, and then proceed to the PR review.

@advaitjain advaitjain added the comp:micro Related to TensorFlow Lite Microcontrollers label Sep 11, 2020
njeffrie
njeffrie previously approved these changes Sep 11, 2020
@@ -36,8 +32,8 @@ ENTRY(_main)

/* 20K of RAM and 128K of FLASH */
MEMORY {
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
Copy link
Contributor

Choose a reason for hiding this comment

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

Edit comment above?

Copy link
Member Author

Choose a reason for hiding this comment

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

removed the unnecessary comment.

EXCLUDED_TESTS := \
tensorflow/lite/micro/micro_interpreter_test.cc \
tensorflow/lite/micro/simple_tensor_allocator_test.cc
tensorflow/lite/micro/micro_allocator_test.cc \
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume these tests never worked for bluepill?

Copy link
Member Author

Choose a reason for hiding this comment

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

not in the recent past. I have an internal bug to track this down.

@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Sep 11, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Sep 11, 2020
@gbaned gbaned self-assigned this Sep 12, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Sep 12, 2020
@gbaned gbaned added comp:lite TF Lite related issues prtype:bugfix PR to fix a bug and removed ready to pull PR ready for merge process labels Sep 12, 2020
PR Queue automation moved this from Assigned Reviewer to Reviewer Requested Changes Sep 12, 2020
PR Queue automation moved this from Reviewer Requested Changes to Approved by Reviewer Sep 12, 2020
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Sep 12, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Sep 12, 2020
@tensorflow-copybara tensorflow-copybara merged commit 21a49f3 into tensorflow:master Sep 14, 2020
PR Queue automation moved this from Approved by Reviewer to Merged Sep 14, 2020
@advaitjain advaitjain deleted the bluepill-test-coverage branch September 16, 2020 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:lite TF Lite related issues comp:micro Related to TensorFlow Lite Microcontrollers prtype:bugfix PR to fix a bug ready to pull PR ready for merge process size:S CL Change Size: Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

6 participants