Skip to content

Commit

Permalink
Allow torch>=2 (#3164)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzo authored Dec 12, 2022
1 parent 6d61ea9 commit 77a67ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyro/distributions/torch_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

import torch

assert torch.__version__.startswith("1.")


def patch_dependency(target, root_module=torch):
parts = target.split(".")
Expand Down

0 comments on commit 77a67ff

Please sign in to comment.