pyro-ppl/pyro

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

開放

#2,630 建立於 2020年9月16日

 (2 則留言) (0 個反應) (0 位負責人)Python (981 個分叉)batch import
help wantedrefactor

倉庫指標

星標
 (8,211 顆星)
PR 合併指標
 (平均合併 10天 19小時) (30 天內合併 1 個 PR)

描述

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

Move to PyTorch

  • constraints.IndependentConstraint
    • usage in MultivariateNormal
    • usage in dist.Independent
  • dist.Delta #1781
  • constraints.integer
  • Geometric.log_prob() as patched in pyro/distributions/torch.py
  • Uniform's ._unbroadcasted_* logic
  • _with_cache() in pyro/infer/reparam/unit_jacobian.py
  • dist.DirichletMultinomial https://github.com/pytorch/pytorch/issues/56030

Move to Funsor

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

  • distributions.util.detach()
  • ops.tensor_utils.haar_transform() and .inverse_haar_transform()

貢獻者指南