← 返回事件
持续讨论AI发版

viable/strict/1790538658: [MPS] Move addc{mul,div} value=0 non-finite test to OpInfo (#198753)

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源