-
Notifications
You must be signed in to change notification settings - Fork 254
compiler: Faster compilation time #2928
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
Open
FabioLuporini
wants to merge
46
commits into
main
Choose a base branch
from
faster-python-rebased
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
8c3c10e
codex: seed faster-python-1 optimization plan
FabioLuporini cc446ae
compiler: Augment caching and memoization
FabioLuporini 24ea6a0
codex: Update plan
FabioLuporini 2b3da4e
compiler: Augment caching and tweak memoization heuristics
FabioLuporini 4b7cf36
codex: raise timeout for heavy MPI adjoint tests
FabioLuporini afcb9ff
codex: update optimization plan summary
FabioLuporini 046a1da
codex: cache TimedAccess instances
FabioLuporini 5720f8a
codex: update plan after TimedAccess caching
FabioLuporini f29c218
codex: Update plan
FabioLuporini 07b14c4
compiler: Add heuristics to improve fusion lowering turnaround
FabioLuporini f94c3f4
compiler: Improve Cluster fusion implementation
FabioLuporini 7252c88
Update plan
FabioLuporini 6249431
compiler: Avoid rebuilding IET if unnecessary
FabioLuporini 7985efa
compiler: Fix propagation of transitive IET arg updates
FabioLuporini 954fb3a
compiler: cache CGen printers by settings
FabioLuporini 6e9d7b0
compiler: Enhance Scope to improve DDA turnaround
FabioLuporini 30eb228
compiler: Exploit the new Scope API
FabioLuporini 0b2e7ed
compiler: include ClusterGroup ispace in equality semantics
FabioLuporini b3bccea
compiler: Add update_args= contract to spare compilation time
FabioLuporini 0cea087
compiler: Add heuristic for topofuse='maximal'
FabioLuporini 16f4322
misc: Patch NVIDIA_VISIBLE_DEVICES and DeviceID
FabioLuporini 00c74c9
Update plan
FabioLuporini 2df56b4
Update plan
FabioLuporini 467d2c0
tools: Add DefaultFrozenDict
FabioLuporini 11432ff
compiler: Remove dead NodesExprs.dspace
FabioLuporini 2273fe8
Update plan
FabioLuporini d987066
Update plan
FabioLuporini f98f167
Update plan
FabioLuporini bafb599
Update plan
FabioLuporini 6605d09
tools: Add reuse_if_unchanged and exploit it
FabioLuporini 61a5929
compiler: Split into EqBlock and Cluster
FabioLuporini a30bf99
compiler: Stash hash were essential for compilation performance
FabioLuporini e4ea78d
Update plan
FabioLuporini c0c0755
compiler: Exploit cached_hash
FabioLuporini 3a9b1ea
compiler: Retain original objects whenever possible
FabioLuporini 99a70ee
compiler: Minimize reconstructions everywhere
FabioLuporini 408fb08
compiler: Memoize Fusion._key
FabioLuporini c05496d
compiler: Avoid rebuilding Nodes when possible
FabioLuporini 685b01f
compiler: Memoize IET visitors
FabioLuporini 749f904
compiler: Memoize IET engine
FabioLuporini c00b248
Update plan
FabioLuporini 4a24b05
compiler: Avoid reconstructions in IET visitors
FabioLuporini c6fef66
compiler: Memoize FindNodes
FabioLuporini 93ff555
Update plan
FabioLuporini acfbcba
Update plan
FabioLuporini 392fc8a
compiler: Call finalize_args once at the end of the lowering
FabioLuporini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -496,6 +496,7 @@ def parse_product_arch(): | |
| def get_visible_devices(): | ||
| device_vars = ( | ||
| 'CUDA_VISIBLE_DEVICES', | ||
| 'NVIDIA_VISIBLE_DEVICES', | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is |
||
| 'ROCR_VISIBLE_DEVICES', | ||
| 'HIP_VISIBLE_DEVICES' | ||
| ) | ||
|
|
||
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Leftover? Also the filename is typoed