-
Notifications
You must be signed in to change notification settings - Fork 68
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
Throw descriptive AsssertionError instead of @show
+ @assert
inside of create_abi_wrapper
#1262
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1262 +/- ##
=======================================
Coverage 75.13% 75.14%
=======================================
Files 35 35
Lines 10397 10393 -4
=======================================
- Hits 7812 7810 -2
+ Misses 2585 2583 -2 ☔ View full report in Codecov by Sentry. |
@safe_show
inside of create_abi_wrapper
@show
+ @assert
inside of create_abi_wrapper
Are the test errors on Ubuntu related to this PR? At least I didn't see them on the main branch. |
@wsmoses just wondering if there's some experience/knowledge you can share regarding these |
It basically is an assert that type inference inside enzyme should be
compatible (aka if by refewnice or not) with the type inference result
passed into enzyme
…On Thu, Feb 1, 2024 at 8:28 AM David Widmann ***@***.***> wrote:
By the way, is there any typical problem (or error on my side) when
hitting this branch?
@wsmoses <https://github.com/wsmoses> just wondering if there's some
experience/knowledge you can share regarding these allocatedinline checks?
—
Reply to this email directly, view it on GitHub
<#1262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJTUXHZ6N2OY5NHYBMYLYDYRNG4PAVCNFSM6AAAAABCTJNY4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQG43DEMRTHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
And if the assertion fails, is it usually an issue with my code or in Enzyme? |
It's sufficiently rare/weird that I don't know
…On Thu, Feb 1, 2024, 11:53 AM David Widmann ***@***.***> wrote:
And if the assertion fails, is it usually an issue with my code or in
Enzyme?
—
Reply to this email directly, view it on GitHub
<#1262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJTUXDIRQAIK65J2NPMXE3YRNXZXAVCNFSM6AAAAABCTJNY4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRRGA2DOMJTHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I just ran into
Based on the stacktrace I assume that the problem is the use of
@show
instead of@safe_show
(as a few lines below) in thecreate_abi_wrapper
function.By the way, is there any typical problem (or error on my side) when hitting this branch?