Skip to content

Increase the PotentialValuesState analysis max value count. - #13862

Merged
benvanik merged 1 commit into
mainfrom
benvanik-more-analysis
May 31, 2023
Merged

benvanik merged 1 commit into
mainfrom
benvanik-more-analysis

Conversation

@benvanik

@benvanik benvanik commented May 31, 2023 •

Copy link
Copy Markdown
Collaborator

32 was too conservative and very easily hit in even moderately sized programs. This would result in passes that use this state like iree-stream-elide-timepoints stopping after the first few timepoints. This eats a bit more memory but is a drop in the bucket (4k instead of 512b per state entry, of which there are only dozens).

Progress on #13637 (LLM's with control flow and lots of values were hitting this).

32 was too conservative and very easily hit in even moderately sized
programs. This would result in passes that use this state like
iree-stream-elide-timepoints stopping after the first few timepoints.
This eats a bit more memory but is a drop in the bucket (4k instead of
512b per state entry, of which there are only dozens).
@benvanik benvanik added the benchmarks:x86_64 Run default x86_64 benchmarks label May 31, 2023
@benvanik
benvanik enabled auto-merge (squash) May 31, 2023 17:26
@iree-org iree-org deleted a comment from github-actions Bot May 31, 2023
@benvanik benvanik added performance ⚡ Performance/optimization related work across the compiler and runtime and removed benchmarks:x86_64 Run default x86_64 benchmarks labels May 31, 2023
@benvanik
benvanik merged commit 39d2eb9 into main May 31, 2023
@benvanik
benvanik deleted the benvanik-more-analysis branch May 31, 2023 21:58
jvstokes pushed a commit to jvstokes/iree that referenced this pull request Jun 4, 2023
…#13862)

32 was too conservative and very easily hit in even moderately sized
programs. This would result in passes that use this state like
iree-stream-elide-timepoints stopping after the first few timepoints.
This eats a bit more memory but is a drop in the bucket (4k instead of
512b per state entry, of which there are only dozens).

Progress on iree-org#13637 (LLM's with control flow and lots of values were
hitting this).
NatashaKnk pushed a commit to NatashaKnk/iree that referenced this pull request Jul 6, 2023
…#13862)

32 was too conservative and very easily hit in even moderately sized
programs. This would result in passes that use this state like
iree-stream-elide-timepoints stopping after the first few timepoints.
This eats a bit more memory but is a drop in the bucket (4k instead of
512b per state entry, of which there are only dozens).

Progress on iree-org#13637 (LLM's with control flow and lots of values were
hitting this).
nhasabni pushed a commit to plaidml/iree that referenced this pull request Aug 24, 2023
…#13862)

32 was too conservative and very easily hit in even moderately sized
programs. This would result in passes that use this state like
iree-stream-elide-timepoints stopping after the first few timepoints.
This eats a bit more memory but is a drop in the bucket (4k instead of
512b per state entry, of which there are only dozens).

Progress on iree-org#13637 (LLM's with control flow and lots of values were
hitting this).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance ⚡ Performance/optimization related work across the compiler and runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants