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

New version: EnzymeTestUtils v0.1.7 #105313

Merged

Conversation

JuliaRegistrator
Copy link
Contributor

UUID: 12d8515a-0907-448a-8884-5fe00fdf1c5a
Repo: https://github.com/EnzymeAD/Enzyme.jl.git
Tree: 23617b64015fcabdcc012d102211a2249769bd4d

Registrator tree SHA: 17aec322677d9b81cdd6b9b9236b09a3f1374c6a
JuliaRegistrator referenced this pull request in EnzymeAD/Enzyme.jl Apr 21, 2024
* Add to_vec

* Use to_vec for tangent generation

* Fix incorrect call to test_reverse

* Use to_vec in calls to FiniteDifferences

* Increment patch number

* Add more cases to test_approx

* Handle cases where constructorof not implemented but needed

* Correctly handle case where ret activity is batched and all else const

* Replace NamedTuple method with Dict

* Add function for structured array testing

* Add structured array test

* Add tests for to_vec

* Add to_vec

* Use to_vec for tangent generation

* Fix incorrect call to test_reverse

* Use to_vec in calls to FiniteDifferences

* Increment patch number

* Add more cases to test_approx

* Handle cases where constructorof not implemented but needed

* Correctly handle case where ret activity is batched and all else const

* Replace NamedTuple method with Dict

* Add function for structured array testing

* Add structured array test

* Add tests for to_vec

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add LinearAlgebra to test env

* Run formatter on finitedifferences calls

* Introduce AliasDict for checking for aliased arrays

* Refactor to_vec to handle aliased arrays correctly

* Test new to_vec behavior

* Note difference between zero_tangent and make_zero

* Restore deleted code

* Don't treat immutable structs as equivalent

* Remove obsolete limitation

* Test cases where arrays alias

* Document remaining limitation

* Also test aliasing in when batching

* Also test aliasing in forward-mode

* Skip test that hits Julia GC bug pre v1.8

* Change mutating test to support returned arg

* Clarify documentation of limitations

* Skip structured array test for v1.7

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Run formatter

* Fix random seed in tests

* Increment patch number

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

Your new version pull request met all of the guidelines for auto-merging and is scheduled to be merged in the next round.


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment. You can edit blocking comments, adding [noblock] to them in order to unblock auto-merging.

@JuliaTagBot JuliaTagBot merged commit ede9ae4 into master Apr 21, 2024
17 checks passed
@JuliaTagBot JuliaTagBot deleted the registrator-enzymetestutils-12d8515a-v0.1.7-0cb4395a6d branch April 21, 2024 07:50
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