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.
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
[NNPA] Memory reduction of stickified constant by stickifying at file writing #2917
base: main
Are you sure you want to change the base?
[NNPA] Memory reduction of stickified constant by stickifying at file writing #2917
Changes from all commits
a589aa2
76e9dcb
84c13c0
42cb5a1
5ac7b1f
e8b935d
82ada4e
5dff7cf
9c5dd88
2f23ff8
7a5fb6d
fd82e47
748517f
4cb46dd
434272a
18b9919
b99a334
16773e7
9e236c9
56bc50d
4f08bef
67d0f20
dbf4c82
208020b
ac37742
ad06734
5dcc2f7
d18539e
b5cfaf8
f3f3b68
6c5569e
c62db4b
1e4e156
53b99c1
1d4ed1b
5ea61d9
695d072
fc07ddf
e9c6805
70abe9c
691ec33
b06a7b9
9a002cc
232252b
bc604bd
5233331
c98bdbd
3e5de25
f0a187a
bd065f5
75ad266
9b9fbc2
b19dd84
d6b2100
92e831b
1a4cb5d
7af8bdd
9af0a2f
a27fb85
8cce1cb
ad19bc9
d94ef0e
5a0edcd
89ea256
313a785
9b8c662
924ab61
b5415c3
f0b92f0
5ee9e77
3d167da
8192993
5147329
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Keep the previous implementation with KrnlGlobalOp in comment or
if false
branch, if you do not want to create an option to control the choice. You can define an option '--disable-krnl-constant-to-file' with default value of 'false'.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.
OK. Is this because we may reuse the previous implementation in the future?
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.
I created directive
NNPA_ZHIGH_STICKIFIEDCONST_GEN
to keep the original implementation. Currently commented out, but I confirmed it works when enabling this code.