-
Notifications
You must be signed in to change notification settings - Fork 5
Change to DifferentiationInterface #46
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
Changes from 19 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
6220e96
switch to differentiationinterface from diffresults
zuhengxu 7b4fb85
rename train.jl to optimize.jl
zuhengxu 5ff6041
fix some compat issue and bump version
zuhengxu 3010669
update tests to new interface
zuhengxu f7ee84b
add Moonkcake to extras
zuhengxu e68ef5f
rm all ext for now
zuhengxu 9bdf1f7
rm enzyme test, and import mooncake for test
zuhengxu b7f9f08
fixing compat and test with mooncake
zuhengxu 1970b09
fixing test bug
zuhengxu b0390f7
fix _value_and_grad wrapper bug
zuhengxu 3b40c33
fix AutoReverseDiff argument typo
zuhengxu 9552de1
minor ed
zuhengxu 104e5dd
minor ed
zuhengxu d1ec834
fixing test
zuhengxu deba738
minor ed
zuhengxu 8976307
rm test for mooncake
zuhengxu cb3db4a
fix doc
zuhengxu 1615009
chagne CI
zuhengxu 690f754
Merge branch 'main' into diffinterface
yebai 1166e6b
update CI
sunxd3 906d788
streamline project toml
sunxd3 0d6302b
Apply suggestions from code review
sunxd3 63321c0
add enzyme to tests
sunxd3 7204391
add Enzyme to using list
sunxd3 77b9a2e
fixing enzyme readonly error by wrapping loss in Const
zuhengxu 9a8ed04
mv enzyme related edits to ext/ and fix tests
zuhengxu b3487b5
fixing extension loading error
zuhengxu 45756e6
Update Project.toml
zuhengxu dbe725c
remove Requires
zuhengxu da8593c
remove explit load ext
zuhengxu da66996
Update src/objectives/loglikelihood.jl
zuhengxu 3e65cde
make ext dep explicit
zuhengxu eeb9a92
rm empty argument specialization for _prep_grad and _value_grad
zuhengxu 4b97585
signal empty rng arg
zuhengxu 9075266
drop Requires
zuhengxu eade7a3
drop Requires
zuhengxu 91202ff
update test to include mooncake
zuhengxu dcee3c0
rm unnecessary EnzymeCoreExt
zuhengxu edf2f12
minor update of readme
zuhengxu 9fc328d
typo fix in readme
zuhengxu 41d10ef
Update src/NormalizingFlows.jl
zuhengxu db4872b
Update src/NormalizingFlows.jl
zuhengxu 0fe536f
rm time_elapsed from train_flow
zuhengxu fc935ce
Update docs/src/api.md
yebai 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
matrix: | ||
version: | ||
- '1' | ||
- '1.6' | ||
- '1.10' | ||
os: | ||
- ubuntu-latest | ||
arch: | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include("objectives/elbo.jl") | ||
include("objectives/loglikelihood.jl") | ||
include("objectives/loglikelihood.jl") # not tested |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.