-
Notifications
You must be signed in to change notification settings - Fork 44
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
Upgrade ADTypes to v1 #295
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
dbd8a73
Upgrade ADTypes to v1
gdalle db9d14a
Fix
gdalle 97153ff
Fix one constructor
gdalle c53e70b
Kwargs for jacobian cache
gdalle 20cc8e7
More fixes for interface tests
gdalle 88aaa61
Fix more dispatches
gdalle 6c5811f
When will the fixes end?
gdalle 1365d5e
Last fixes
gdalle 6f001e2
Error in type params
gdalle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
name = "SparseDiffTools" | ||
uuid = "47a9eef4-7e08-11e9-0b38-333d64bd3804" | ||
authors = ["Pankaj Mishra <[email protected]>", "Chris Rackauckas <[email protected]>"] | ||
version = "2.18.0" | ||
authors = [ | ||
"Pankaj Mishra <[email protected]>", | ||
"Chris Rackauckas <[email protected]>", | ||
] | ||
version = "2.19.0" | ||
|
||
[deps] | ||
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" | ||
|
@@ -40,7 +43,7 @@ SparseDiffToolsSymbolicsExt = "Symbolics" | |
SparseDiffToolsZygoteExt = "Zygote" | ||
|
||
[compat] | ||
ADTypes = "0.2.6" | ||
ADTypes = "1.0.0" | ||
Adapt = "3, 4" | ||
ArrayInterface = "7.4.2" | ||
Compat = "4" | ||
|
@@ -65,9 +68,10 @@ Tricks = "0.1.6" | |
UnPack = "1" | ||
VertexSafeGraphs = "0.2" | ||
Zygote = "0.6" | ||
julia = "1.6" | ||
julia = "1.10" | ||
|
||
[extras] | ||
AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a" | ||
BandedMatrices = "aae01518-5342-5314-be14-df237901396f" | ||
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0" | ||
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9" | ||
|
@@ -83,4 +87,18 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | ||
|
||
[targets] | ||
test = ["Test", "BandedMatrices", "BlockBandedMatrices", "Enzyme", "IterativeSolvers", "Pkg", "Random", "SafeTestsets", "Symbolics", "Zygote", "StaticArrays"] | ||
test = [ | ||
"Test", | ||
"AllocCheck", | ||
"BandedMatrices", | ||
"BlockBandedMatrices", | ||
"Enzyme", | ||
"IterativeSolvers", | ||
"Pkg", | ||
"PolyesterForwardDiff", | ||
"Random", | ||
"SafeTestsets", | ||
"Symbolics", | ||
"Zygote", | ||
"StaticArrays", | ||
] |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do a major version bump here for safety since we are dropping ADTypes pre-1.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know ColPrac doesn't require it, but NonlinearSolve is very tightly coupled rn with sparsedifftools..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering whether to include more changes to SparseDiffTools first. Basically I only did the backend part, but the new ADTypes also has infrastructure (supertypes and functions) for sparsity detection + coloring, which SparseDiffTools could extend. On the other hand that would be super super breaking, which is why I didn't do it in the current PR (my priority was getting things to work)