-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Segmentation fault when dividing by zero with integer tensors #327
Copy link
Copy link
Closed
Labels
high prioritymodule: NaNs and InfsProblems related to NaN and Inf handling in floating pointProblems related to NaN and Inf handling in floating pointmodule: crashProblem manifests as a hard crash, as opposed to a RuntimeErrorProblem manifests as a hard crash, as opposed to a RuntimeErrortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
high prioritymodule: NaNs and InfsProblems related to NaN and Inf handling in floating pointProblems related to NaN and Inf handling in floating pointmodule: crashProblem manifests as a hard crash, as opposed to a RuntimeErrorProblem manifests as a hard crash, as opposed to a RuntimeErrortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
This seems to be an issue with TH and not pytorch, the same thing happens in lua torch.
Another unrelated weirdness happens with float tensors when the answer is
infwhich works on lua torch, but gives
in pytorch.
cc @ezyang @gchanan @zou3519