-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[microTVM] AOT Demo #8075
[microTVM] AOT Demo #8075
Conversation
15b61d2
to
a397a6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one minor question so far
apps/microtvm/zephyr/demo_runtime/boards/nrf5340dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
@areusch tested this on NRF board, however, the model doesn't fit on Nucleo board. So I removed the boards that has not been tested so far in the aot_demo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @mehrdadh , did a pass
lowered = relay.build(relay_mod, target, params=params) | ||
|
||
# Load sample and generate input/output header files | ||
sample = np.load(os.path.join(this_dir, "testdata", "ic_sample_fp32_8.npy")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
311KB is quite a bit for this repo...i'm not sure whether we should load from a different place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced it with this link to its source:
image classification model
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, also possible to do so for this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the sample data I need to use a sample that has predictable result to test in the CI. I got this sample from a large dataset and need to keep it somewhere. The other option is to create a personal repository and add it there. We could reuse that repo later for other other samples as well. Let me know what you think.
Also I can save this numpy array as int8 and reduce the size 4 times if that works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @mehrdadh !
* initial * remove compare * temp fix * debugging * hack * hack for testing * both test pass * cleanup * fix tests and tutorials * restructure * cleanup * cleanup * fix check files * fixed for physical devices * address comments * reduce nrf stack size * update sample url * format
* initial * remove compare * temp fix * debugging * hack * hack for testing * both test pass * cleanup * fix tests and tutorials * restructure * cleanup * cleanup * fix check files * fixed for physical devices * address comments * reduce nrf stack size * update sample url * format
This PR makes these changes: