Skip to content
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

Python: Port WebPPL code to Python, preparing for later use with Pytorch and Pyro or Gen #1

Open
martinkunev opened this issue Jan 15, 2024 · 1 comment
Assignees

Comments

@martinkunev
Copy link
Collaborator

See inline comments in WebPPL code header for details.

Please try to prepare for later multidimensional aspirations by storing all aspiration values not as intervals (as it is the case currently in WebPPL) but as d-dimensional boxes encoded by a 2-by-d tuple ((lo_1,lo_2,...,lo_d), (hi_1,...,hi_d)), even though at the moment we only support d=1.

Dependency:

  • WebPPL code basically complete (WAIT for notification!)

It's still unclear whether we want to later use Pyro or Gen as a PPL framework. These resources might help to prepare for Pyro:

We would only use Gen if it is ported from Julia to Python in time. Watch this page: https://github.com/probcomp

@mensch72
Copy link
Contributor

Hi Martin, do you want to reuse this empty repo for your python version? That's fine I think, but maybe then we should maybe rename the repo into something like "pysatisfia" or so, to make clear that it is the python version.

@martinkunev martinkunev self-assigned this Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants