-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make VI work on v4 #4582
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Merged
Make VI work on v4 #4582
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
e59ebba
resolve merge conflicts
ferrine 8aa290f
start fixing things
ferrine f96c626
make a simple test pass
ferrine 0af6dac
fix some more tests
ferrine 7e60bcc
fix some more tests
ferrine e0fbb98
add scaling for VI
ferrine e515217
add shape check
ferrine 6dfc18c
aet -> at
ferrine 39e635b
use rvs_to_values from the model in opi.py
ferrine 9f61021
refactor cloning routines (fix pymc references)
ferrine 8909ac7
Run pre-commit and include VI tests in pytest workflow (rebase)
michaelosthege 1076fa1
Run pre-commit and include VI tests in pytest workflow
michaelosthege 7e73cd7
seems like Grouped inference not working
ferrine 64ba837
spot an error in a simple test case
ferrine 4b91bce
fix the test case with grouping
ferrine c81458a
fix sampling with changed shape
ferrine 11ef0b6
remove not implemented error for local inference
ferrine 98dd81d
support inferencedata
ferrine c08eea3
get rid of shape error for batched mvnormal
ferrine 77443f5
do not support AEVB with an error message
ferrine 215f92b
fix some meore tests
ferrine 94a28e5
fix some more tests
ferrine 509f7ba
fix full rank test
ferrine c0c8fb9
fix tests
ferrine 7745ac6
test vi
ferrine 3dafc10
fix conversion function
ferrine 2752ebd
propagate model
ferrine ff5f8c8
fix
ferrine c154063
fix elbo
ferrine af9c24d
fix elbo full rank
ferrine a9d40ef
Fixing broken scaling with float32
ferrine 54d2a43
ignore a nasty test
ferrine 6d46a2f
xfail one test with float 32
ferrine 2ce5a7d
fix pre commit
ferrine 69b9486
fix import
ferrine 1beec12
fix import.1
ferrine 894d5ce
Update pymc/variational/opvi.py
ferrine 8d2ec8b
fix docstrings
ferrine 60e5653
Merge branch 'v4-4523' of github.com:pymc-devs/pymc3 into v4-4523
ferrine c03352e
fix error with nans
ferrine 00c1d14
remove TODO comments
ferrine 27b4261
Merge branch 'main' into v4-4523
ferrine 694286a
print statements to logging
ferrine 8dba7d5
revert bart test
ferrine 6a2fc35
apply changes from main
ferrine 3a5915a
fix pylint issues
ferrine f6d9b98
fix test bart
ferrine 9a79e27
fix interence_data in init
ferrine deafa96
ignore pickling problems
ferrine 0f45e73
fix aevb test
ferrine 4957765
Merge branch 'main' into v4-4523
ferrine 0ab2fba
Merge branch 'main' into v4-4523
ferrine b1b4938
Merge branch 'main' into v4-4523
ferrine 8d48870
fix name error
ferrine 6efd630
xfail test ramdom fn
ferrine b2e9c0f
mark xfail
ferrine a92aad8
refactor test
ferrine f253417
xfail fix
ferrine f09d33a
fix xfail syntax
ferrine 19ea8c9
pytest
ferrine f14cbc1
test fixed
ferrine 02fc30f
5090 fixed
ferrine baefac6
do not test local flows
ferrine bf38d33
Merge branch 'main' into v4-4523
ferrine beb75ba
change model.logpt not to return float
ferrine 74e19fd
Merge branch 'main' into v4-4523
ferrine c2d24de
add a test for the replacenent in the graph
ferrine 8fdf9a2
Merge branch 'main' into v4-4523
michaelosthege 3943e0f
merge main into PR
ferrine 13a970e
fix sample node functionality
ferrine 994fba5
Fix test with var replacement
ferrine 6090029
add uncommited changes
ferrine 48041f5
resolve @ricardoV94's comment about initial point
ferrine cb0fee9
restore test_bart.py as in main branch
ferrine c5911ac
resolve duplicated _get_scaling function
ferrine a466ffc
Merge branch 'main' into v4-4523
ferrine 78ca582
change job order
ferrine e4cbb33
use commit initial point in the test file
ferrine 8fad157
use compute initial point in the opvi.py
ferrine 7f281bd
remove unnessesary pattern broadcast
ferrine 8e8f63e
mark test as xfail before aesara release
ferrine 72a7556
Do not mark anything but just wait for the new release
ferrine 57e8342
Merge branch 'main' into v4-4523
ferrine a6f54ac
use compute_initial_point
ferrine 1ee5536
Merge branch 'main' into v4-4523
ferrine 4fab824
Merge branch 'main' into v4-4523
ferrine b4a2f62
Update pymc/variational/opvi.py
ferrine f9d16a7
run upgraded pre-commit
ferrine bc712ef
Merge branch 'v4-4523' of github.com:pymc-devs/pymc3 into v4-4523
ferrine 6a3ee61
move pipe back
ferrine cd2cda9
Update pymc/variational/opvi.py
ferrine 670edb9
Update pymc/variational/opvi.py
ferrine 01fb223
Update pymc/variational/opvi.py
ferrine 32006cd
Add removed newline
ricardoV94 1cb1418
Use compile_pymc instead of aesara.function
ricardoV94 ceddb5c
Replace None by empty list in output
ricardoV94 ef5f91b
Apply suggestions from code review
ferrine 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
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.