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

ciflow/mps/201375: Only accept bool masks in masked_scatter_ on MPS and meta

发生了什么

Linked issue or supporting maintainer Part of #201370 Supported by @ezyang BC-breaking? Yes, on MPS only: masked_scatter_ with a uint8 mask now raises, as it already does on CPU and CUDA ("masked_scatter_ only supports boolean masks"). Convert the mask with mask.bool() . Summary (human written only) Agent details (if applicable) The MPS kernel accepted uint8 masks and expanded them through the deprecated uint8 mask…

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

为什么在扩散

来源