Closed Askannz closed 2 years ago
is this environment working for you without the --enable-fast-context-switch?
Yes, that same code in the same environment works when the switch is removed.
EDIT: to be more accurate, without that switch there is still a lot of spam in the log (lots of SBUF DMA
message) but the compilation completes without errors: https://gist.github.com/Askannz/7021e0a8495086fd2e40f6e36d4aaa97
ok thank you for the report. We will add it to our backlog.
If the compilation works for you without the switch, then please continue to use that in the mean time.
Hello @Askannz,
Just an update - we have identified the issue and we expect it to be resolved with the next release of our compiler. In the mean time, if you are willing and able to share an example test case we can verify on our side.
-Taylor
Hello @Askannz,
We have a new release yesterday and we expect your issue to be resolved with that. Please verify the fix and reopen the ticket if otherwise.
Thanks, Shruthi.
Issue description
Compiling the model
MobileNetV2
provided by Keras fails when--enable-fast-context-switch
is enabled in the compiler options.Reproduction
Simply take the example at https://awsdocs-neuron.readthedocs-hosted.com/en/latest/src/examples/tensorflow/tensorflow_resnet50/resnet50.html but swap ResNet50 for MobilNetV2, and add
--enable-fast-context-switch
to the compiler options:Logs
Followed by many lines similar to
And then
Full log: https://gist.github.com/Askannz/b6b1311cc8921e04e1179e2e64b2182b
Environment