← Back to events
ActiveAIRelease

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

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources