Skip to content
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

pass around CallInfo object to the inlining algorithm [alternative] #46965

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

aviatesk
Copy link
Member

This is another trial of #46963.
The purpose is to drop #46962 and see if it cuts off the allocation regressions.

The original description follows:


So that inlining_policy can see user-CallInfo object. It allows us to implement a customized inlining heuristics by just seeing a callsite information, without requiring the inlining cost of cached code to be tweaked.

@aviatesk
Copy link
Member Author

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@aviatesk
Copy link
Member Author

@nanosoldier runbenchmarks("inference", vs=":master")

@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch from 06a0ceb to f0b5872 Compare September 30, 2022 05:44
@aviatesk aviatesk changed the title wip: pass around CallInfo object to the inlining algorithm [alternative] pass around CallInfo object to the inlining algorithm [alternative] Sep 30, 2022
@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@aviatesk
Copy link
Member Author

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your job failed.

@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch from f0b5872 to e323983 Compare September 30, 2022 10:42
@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch 2 times, most recently from 3e19d27 to fa40a20 Compare September 30, 2022 11:59
@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch from fa40a20 to 4ac1d6e Compare October 1, 2022 01:12
@aviatesk
Copy link
Member Author

aviatesk commented Oct 1, 2022

@nanosoldier runbenchmarks("inference", vs=":master")

@aviatesk
Copy link
Member Author

aviatesk commented Oct 1, 2022

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch from ba06a77 to ad679f3 Compare October 5, 2022 03:23
@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch from ad679f3 to 076de76 Compare October 5, 2022 03:28
Base automatically changed from avi/callinfo to master October 7, 2022 00:44
So that `inlining_policy` can see user-`CallInfo` object.
It allows us to implement a customized inlining heuristics by just
seeing a callsite information, without requiring the inlining cost of
cached code to be tweaked.
@aviatesk aviatesk force-pushed the avi/custom-inlining2 branch from 076de76 to 8e97c45 Compare October 7, 2022 00:45
@aviatesk aviatesk added the merge me PR is reviewed. Merge when all tests are passing label Oct 7, 2022
aviatesk added a commit to JuliaDebug/Cthulhu.jl that referenced this pull request Oct 7, 2022
@aviatesk aviatesk merged commit ecfe8bc into master Oct 7, 2022
@aviatesk aviatesk deleted the avi/custom-inlining2 branch October 7, 2022 02:17
aviatesk added a commit to JuliaDebug/Cthulhu.jl that referenced this pull request Oct 7, 2022
aviatesk added a commit to aviatesk/Enzyme.jl that referenced this pull request Oct 7, 2022
aviatesk added a commit to aviatesk/JET.jl that referenced this pull request Oct 7, 2022
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Oct 7, 2022
vchuravy added a commit to EnzymeAD/Enzyme.jl that referenced this pull request Oct 7, 2022
* adjust to JuliaLang/julia#46965

* Update src/compiler/interpreter.jl

Co-authored-by: Valentin Churavy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants