trunk/62146ea0c777ac1a6fcc637a647335b06fba3019: [xpu][fix]Relax fp16 grad tolerance for combinations on XPU (#195403)
- PyTorch 近 90 天出现 351 次
- PyTorch 近 90 天第 348 次发版
- 上一次:同一天稍早 · trunk/3c512baeddc8fdc688d905a33baf89d97ebb050e: Dispatch `index_put_` to `masked_fill_.Scalar` when possible (#188330)
发生了什么
Motivation #189102 bumped the gradient tolerances for test_comprehensive_combinations_cuda_float16 after #186595 / #189305 reimplemented torch.combinations on top of index_put , whose fp16 backward Inductor accumulates in fp16. That PR only added the override to inductor_override_kwargs["cuda"] ; inductor_override_kwargs["xpu"] is a separate dict and never got the equivalent entry, leaving XPU on the default fp16 gr…
摘要按规则整理自下方来源原文