[microNPU][6] Migrate codegen to use cascader - #10377
Closed
mbaret wants to merge 2 commits into
Closed
Conversation
Change-Id: I6771578f1007b8fea02e2dec7d0c797a6ef6aa5e
Use the cascader as the default scheduler. Includes placeholder MemoryRegions until integration with the PoolInfos provided by a user. Change-Id: I9a8063ed56c1c5e926389dc3b217355a5ad0e3f0
mbaret
requested review from
MarisaKirisame,
ZihengJiang,
anijain2305,
areusch,
comaniac,
icemelon,
jroesch,
junrushao,
jwfromm,
mbrookhart,
merrymercy,
slyubomirsky,
tqchen,
vinx13,
wweic,
yzhliu and
zhiics
as code owners
February 24, 2022 19:04
manupak
requested changes
Feb 25, 2022
manupak
left a comment
Contributor
There was a problem hiding this comment.
lets remove the try-catch otherwise LGTM!
| # that can perform scheduling based on user inputs such as | ||
| # scratch memory size. | ||
| tir_mod, const_dict = lower_to_tir(mod["main"], copy_constants()) | ||
| try: |
Contributor
There was a problem hiding this comment.
I think we should use relay.ext.ethos-u.options either to explicitly enable or explicitly disable the cascader.
If we think, if the feature is not stable enough, we could try a explicit enable.
Once it get matures, we could make that the default. WDYT ?
12 tasks
Contributor
|
Closing this in favor of #10862 |
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.
RFC: apache/tvm-rfcs#37
Issue: #9429
NOTE: This PR builds on top of #10062 and therefore includes those changes. This PR will remain as 'draft' until the dependencies are merged.
Use the cascader as the default scheduler. Includes placeholder MemoryRegions until integration with the PoolInfos provided by a user.