pyro-ppl / pyro

Deep universal probabilistic programming with Python and PyTorch
http://pyro.ai
Apache License 2.0
8.55k stars 987 forks source link

List: move these things upstream to PyTorch, Funsor, etc. #2630

Open fritzo opened 4 years ago

fritzo commented 4 years ago

This issue tracks Pyro components that should be moved to upstream dependencies.

Move to PyTorch

Move to Funsor

See also https://github.com/pyro-ppl/funsor/issues/362

RylanSchaeffer commented 3 years ago

@fritzo out of curiosity is there a tutorial on the process for migrating code, updating docs and writing tests?

fritzo commented 3 years ago

@RylanSchaeffer there is no tutorial on migrating distributions. To migrate a distribution from Pyro to PyTorch you'd need to

See for example https://github.com/pytorch/pytorch/pull/48798/files