Skip to content

Relax alloc tests on AD #564

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

Merged
merged 3 commits into from
Mar 5, 2025
Merged

Relax alloc tests on AD #564

merged 3 commits into from
Mar 5, 2025

Conversation

theogf
Copy link
Member

@theogf theogf commented Feb 10, 2025

Hopefully make more tests pass by relaxing the allocation equality test.

@theogf theogf requested a review from willtebbutt February 10, 2025 08:44
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.28%. Comparing base (78b9141) to head (8cd6390).
Report is 4 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #564   +/-   ##
======================================
  Coverage    0.28%   0.28%           
======================================
  Files          52      52           
  Lines        1421    1421           
======================================
  Hits            4       4           
  Misses       1417    1417           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@theogf
Copy link
Member Author

theogf commented Mar 4, 2025

@willtebbutt bump

@willtebbutt
Copy link
Member

Apologies for the delay -- taking a look now!

Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is basically fine -- it definitely looks like more tests are passing now, which is great. Unless I'm mistaken, the remaining failing tests can't have been generated by these changes, so I say merge it.

@theogf theogf merged commit e50b747 into master Mar 5, 2025
19 of 21 checks passed
@theogf theogf deleted the tgf/flexible-tests branch March 5, 2025 17:34
@theogf theogf restored the tgf/flexible-tests branch March 5, 2025 17:38
theogf added a commit that referenced this pull request Mar 5, 2025
* make allocs tests easier

* replace nightly by lts

* move Zygote to broken with ReverseDiff

* Update check_zygote_type_stability()... (#568)

so that CI passes with Julia v1.10. Tested locally with Julia v1.10 & v1.11. Forces the expected type to be `Vector{Union{Nothing, @NamedTuple{X::Matrix{Float64}}}}` which is more robust for different package versions. There may be better solutions, but this seems to work.

---------

Co-authored-by: Albert R. Gnadt <[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.

2 participants