-
Notifications
You must be signed in to change notification settings - Fork 243
posterior.to(device) #1527
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
posterior.to(device) #1527
Changes from 37 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
80e7e82
add to(device) to BasePotential
jorobledo 7b1d301
add to(device) to LikelihoodBasedPotential
jorobledo eb28095
add to(device) to PosteriorBasedPotential
jorobledo 71d4d3b
remove Optional for prior
jorobledo cf58816
add to(device) to RatioBasedPotential
jorobledo cb5955e
add to(device) to PosteriorScoreBasedPotential
jorobledo 66e5abe
add to(device) to IIDScoreFunction
jorobledo 3219983
add to(device) to DirectPosterior
jorobledo aeddfe7
add to(device) to EnsemblePotential and EnsemblePosterior
jorobledo 291d2ec
add to(device) to ImportanceSamplingPosterior
jorobledo cc40018
add potentials and posterior testing of to(device) method
jorobledo 32d6fb8
add to(device) method to MCMCPosterior
jorobledo 4e62f42
add to(device) method to RejectionPosterior
jorobledo 12f41a4
add to(device) to ScorePosterior and corresponding test
jorobledo 2f9730b
add to(device) to VIPosterior and FIX bug, _prepare_potential is not …
jorobledo b992525
Merge branch 'sbi-dev:main' into posterior_device
jorobledo af60607
fix if conditions on attributes
jorobledo 8a6a23a
fix if condition on posteriors that checks if default_x(x_o) has been…
jorobledo 56ce814
overcome different types of devices on substraction in transformed_po…
jorobledo 98234e3
correct idxs that must be on cpu
jorobledo 38cd395
add sample and log_probs test
jorobledo 5f5f5a0
Merge branch 'posterior_device' of github.com:jorobledo/sbi into post…
jorobledo fa09e15
put potentials and inits in cpu to calculate map
jorobledo 9451635
remove comments
jorobledo 7ee3ece
revert changes on map
jorobledo 92e1293
fix typing for all modified functions and classes
jorobledo cae1580
Merge branch 'main' of github.com:sbi-dev/sbi into posterior_device
jorobledo a6c913e
fix naming from score to vector_field
jorobledo e120a92
fix type checks and score to vector_field naming
jorobledo 4c4d3d9
Make sure all tensors are on the same device on VectorFieldPosterior
jorobledo 72bf7f2
include test for all VectorFieldInference samples also on device
jorobledo 33926de
fix moving time tensor to device, and change of inference_method name
jorobledo 412a417
modify assert message
jorobledo a53711b
Merge branch 'sbi-dev:main' into posterior_device
jorobledo f8e4497
add device attribute to VectorFieldPosterior in initalization
jorobledo d693840
Merge branch 'posterior_device' of github.com:jorobledo/sbi into post…
jorobledo 8878a81
fix typo
jorobledo 4c3988d
Apply suggestions from code review
jorobledo fa9ee81
fix typing
jorobledo b7b9ed3
fix mnpe device handling
janfb c3ad3df
fix marginal trainer device handling
janfb a15d58b
fix gradient ascent device handling; refactor tests
janfb d84293d
add missinf to(device) to OneDimPriorWrapper
jorobledo 5848e5a
fix failing test on notImplementedError CustomPriorWrapper
jorobledo f2642b5
fix user utils tests
janfb 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
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 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.
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.