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

skip inlining #1520

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

skip inlining #1520

wants to merge 1 commit into from

Conversation

erick-xanadu
Copy link
Contributor

@erick-xanadu erick-xanadu commented Feb 13, 2025

Context: Inlining creates large functions. Some passes have a complexity that grows faster than O(n) in the order of operations on functions. So large functions means larger compilation time.

Description of the Change: This PR disables inlining.

Benefits: Reduce compilation time

Possible Drawbacks: Increased runtime

Related GitHub Issues: At the moment this PR is just for benchmarking.

  • Note: suprisingly, no tests fail. I believe in the past inlining was a requirement for gradients.

@dime10
Copy link
Contributor

dime10 commented Feb 14, 2025

Note: suprisingly, no tests fail. I believe in the past inlining was a requirement for gradients.

I remember this as well, we should do a bit of digging to confirm why it was needed and that it no longer is 🤔 (before merging this PR, in the meantime it's fine)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants