[ETHOSN] Only use mock inference when whole graph is offloaded#12296
Merged
Conversation
Contributor
Author
|
This is expected to fix the docker image validation. See: https://ci.tlcpack.ai/job/docker-images-ci/job/daily-docker-image-validate/180/ |
The mock inference functionality is only supported when the whole graph is offloaded to the NPU, otherwise it can result in undefined behaviour. This patch makes sure the mock inference functionality is not run on test cases where some parts of the graph are not offloaded to the NPU, while ensuring the module is still built as a sanity check. Change-Id: I27052d118ff976f9adbfc3f5b5b96185318e1573
25584c0 to
f94920b
Compare
NicolaLancellotti
approved these changes
Aug 4, 2022
leandron
approved these changes
Aug 4, 2022
xinetzone
pushed a commit
to daobook/tvm
that referenced
this pull request
Nov 25, 2022
…e#12296) The mock inference functionality is only supported when the whole graph is offloaded to the NPU, otherwise it can result in undefined behaviour. This patch makes sure the mock inference functionality is not run on test cases where some parts of the graph are not offloaded to the NPU, while ensuring the module is still built as a sanity check. Change-Id: I27052d118ff976f9adbfc3f5b5b96185318e1573
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The mock inference functionality is only supported when the whole graph is offloaded to the NPU, otherwise it can result in undefined behavior. This patch makes sure the mock inference functionality is not run on test cases where some parts of the graph are not offloaded to the NPU, while ensuring the module is still built as a sanity check.
cc @Leo-arm @manupa-arm @leandron