viable/strict/1790538658: [MPS] Move addc{mul,div} value=0 non-finite test to OpInfo (#198753)
- PyTorch: 1549 events in the last 90 days
- PyTorch: 1530th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1790531483
What happened
Replaces MPS-specific test_addc_ops_value_zero with a sample in sample_inputs_addcmul_addcdiv : value=0 with NaN/Inf in tensor1 and a zero in tensor2 , which must still propagate to the output (MPSGraph used to short-circuit value=0 into a copy of self ). The sample is generated only when requires_grad is False, like the foreach-norm NaN samples: its NaN outputs make gradcheck's finite-difference Jacobians NaN, whic…
Summary assembled by rule from the sources below