I found this problem recently - it was working fine earlier. When I give
a = torch.distributions.Normal(0,-1)

it results in

ValueError: The parameter scale has invalid values

This has been raised on Github following some discussions but it still does not seem to work. Any ideas regarding this error?