Skip to content

Commit

Permalink
Temporarily disable @_weak_memoize
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzo committed May 12, 2020
1 parent 89bb100 commit 4986f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/distributions/coalescent.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def memoized_fn(*args):
))


@_weak_memoize
# @_weak_memoize # DEBUG uncomment before committing
@torch.no_grad()
def _make_phylogeny(leaf_times, coal_times):
assert leaf_times.size(-1) == 1 + coal_times.size(-1)
Expand Down

0 comments on commit 4986f82

Please sign in to comment.