transformations: add exp-to-chebyshev lowering pass#5820
Open
szerdick wants to merge 9 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5820 +/- ##
========================================
Coverage 86.23% 86.24%
========================================
Files 418 419 +1
Lines 59893 60004 +111
Branches 6920 6937 +17
========================================
+ Hits 51649 51748 +99
- Misses 6660 6663 +3
- Partials 1584 1593 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9c8ad92 to
7250be6
Compare
Add a new pass that expands math.exp using Chebyshev polynomial approximation with Clenshaw evaluation, as an alternative to the existing Taylor series approach. Inspired by Google HEIR's polynomial approximation for FHE. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…_degree attribute The Chebyshev pass now only fires on math.exp ops that have a chebyshev_degree attribute, allowing it to coexist with the Taylor pass in the same pipeline. Also reads lower/upper bounds from op attributes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
379f89d to
c96cb6f
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Depends on the PR: #5798