-
Notifications
You must be signed in to change notification settings - Fork 23
ProbProg: Making trace an operand #1444
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
Open
sbrantq
wants to merge
90
commits into
main
Choose a base branch
from
probprog-trace-operand
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 67 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
902ced9
generate
sbrantq e2c77e4
refactor
sbrantq e204d13
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq 327b10a
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq d611ae4
add probprog pass to :all
sbrantq 3672d83
improve test
sbrantq b70843e
only probprog opt mode
sbrantq 597fa89
fix up test
sbrantq e6c2c0a
move
sbrantq 9b9395e
simplify
sbrantq b3ba477
fix up
sbrantq 47e9fe3
saving changes
sbrantq 982b2bf
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq 06b7464
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq bd73c62
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq a6fcca3
fix sample op
sbrantq e51e04b
save tests
sbrantq ce68f6a
temporarily removing probprog pass from :all as MLIR pass is not merg…
sbrantq 94bbe62
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq d31bba6
undo enzyme binding change
sbrantq 573fa02
format
sbrantq 0264a3d
format
sbrantq 2e18bdf
improve
sbrantq 1f19979
improve
sbrantq 096d790
get rid of result_and_mutated too
sbrantq bb319a3
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq 9ac6535
working trace object pointer hacks + tests
sbrantq b24766f
Assuming scalar samples for now; simple Bayesian linear regression test
sbrantq 3c52b39
exclamation mark
sbrantq af3d055
sample metadata
sbrantq 6c7ffa3
fix up copy
sbrantq 4e017d0
fix up copy
sbrantq e53fc7c
working vectorized blr test
sbrantq 1dbf5c7
fix test warning
sbrantq dd9dcab
hacks to temporarily remove world age issue in tests
sbrantq a344726
partial refactoring
sbrantq ebeceb8
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq ef2e770
fixed tracing infra
sbrantq 46e0f6b
transpose fix up
sbrantq 1c5297c
minor changes
sbrantq d707053
reorder
sbrantq 91a0850
API change
sbrantq 561b051
better print
sbrantq 99d7608
unconstrained real generate op
sbrantq b13f8bf
probprog postpasses
sbrantq 6e4dc0c
bug fix for alising outputs
sbrantq 5b5c1d1
generate op with constraints
sbrantq 1ad167a
untraced call
sbrantq 8f66b5f
working metropolis hastings (with hacks)
sbrantq 850e3c4
set julia rng
sbrantq e1b3bcb
remove print
sbrantq 659b963
less iterations. hiding prints
sbrantq 537de49
add probprog test group
sbrantq 04d2e44
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq 8260fee
format
sbrantq 0f94166
add probprog compile opt
sbrantq 7f611fe
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq a05d2c2
pass all args even when w/o rng
sbrantq f40960f
updated probprog frontend for refactored simulate op
sbrantq f6ee849
probprog attr mlir api
sbrantq 38e33de
adding cfunction mapping for AddWeightToTrace and AddRetvalToTrace ops
sbrantq 127126d
adding traced_output_indices attr to simulate op
sbrantq 3d66c7a
update tests
sbrantq 1585483
refactored generate op
sbrantq 34f35c4
@compile for generate op
sbrantq f4a6415
improve api
sbrantq b92a733
compiled generate test
sbrantq 160561e
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq bbfa3f6
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq f4c4a88
save gc change
sbrantq d1be27c
enforcing calling convention (rng being the 0th operand) for sample &…
sbrantq b666813
enforcing calling convention (rng being 0th operand) for simulate/gen…
sbrantq c57a1e4
clean up
sbrantq 2b81db9
refactored mh inference steps with new calling convention enforced
sbrantq e647b0d
improve
sbrantq 4fe55a6
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq 94b9e3a
reorganize
sbrantq b2d583a
format
sbrantq 65d3595
fix up tests
sbrantq a29fbed
remove redundant cast
sbrantq 87ced72
generate op fixup: replacing constrained_symbols with constrained_add…
sbrantq ebec467
minor
sbrantq f771bcb
update legacy inference API
sbrantq 1908188
simplify
sbrantq 0b71444
cleanup
sbrantq 1a23c2e
Merge branch 'main' of https://github.com/EnzymeAD/Reactant.jl into p…
sbrantq 9bd1dee
fix deadlock
sbrantq c9ff7c0
fix test
sbrantq 3196989
don't print
sbrantq 4afda71
clean up postpasses
sbrantq 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
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.