Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pyro-ppl/pyro
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.8.3
Choose a base ref
...
head repository: pyro-ppl/pyro
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.8.4
Choose a head ref
  • 7 commits
  • 78 files changed
  • 5 contributors

Commits on Dec 2, 2022

  1. Allow rendering of semisupervised models (#3159)

    * Allow rendering of semisupervised models
    
    * Remove accidental cell
    
    * Add test for _deep_merge()
    fritzo authored Dec 2, 2022
    Copy the full SHA
    6d61ea9 View commit details

Commits on Dec 12, 2022

  1. Allow torch>=2 (#3164)

    fritzo authored Dec 12, 2022
    Copy the full SHA
    77a67ff View commit details

Commits on Dec 13, 2022

  1. Copy the full SHA
    3422c3a View commit details

Commits on Dec 20, 2022

  1. fixed NaN with in log_prob corr < -1e-8 for SineBivariateVonMises (

    …#3165)
    
    * fixed NaN with in `log_prob` corr < -1e-8 for `SineBivariateVonMises`
    
    * fixed lint
    
    * added clamp to corr.
    
    * eps -> tiny.
    OlaRonning authored Dec 20, 2022
    Copy the full SHA
    0b1818c View commit details

Commits on Dec 29, 2022

  1. Copy the full SHA
    e082c09 View commit details

Commits on Jan 3, 2023

  1. Allow registering of custom exception handlers for potential_fn compu…

    …tations (#3168)
    
    * [RFC] Allow registering excpetion handlers for potential function computations
    
    In some cases evaluation the potential funciton may result in numerical issues. Currently the code hard-codes the handling of a RuntimeError raised when matrices are (numerically) singular. This PR adds the ability to register custom exception handlers. This allows other code depending on pyro to register custom exception handlers without having to modify core pyro code.
    
    There are some other places in which `potential_fn` is called that could benefit from being guarded by these handlers (one is `HMC._find_reasonable_step_size`). I'm not sure what the right thing to do there is when encountering numerical isssues, but happy to add this in as needed.
    
    * Fix typing lint, typos.
    
    * Warn instead of raise, fix typing import.
    
    * Make isort happy (hopefully)
    
    * Check for instance rather than type equality in _handle_torch_singular
    
    * Handle numerical issues also in HMC._find_reasonable_step_size
    
    * isort once more
    
    * Fix black format
    Balandat authored Jan 3, 2023
    Copy the full SHA
    1ec2c39 View commit details
  2. Bump version to 1.8.4 (#3169)

    * Bump funsor version
    
    * Bump Pyro version
    
    * Run scripts/update_version.py
    fritzo authored Jan 3, 2023
    Copy the full SHA
    0029941 View commit details
Loading