← Back to events
ActiveAIRelease

trunk/576a6d8db7b7d07d4955b833d7ac56c0500d1e05: [meta] Reject a non-positive pixel_shuffle/unshuffle factor (#195224)

Photo: PyTorch Releases

What happened

Fixes #153327 Eager rejects a non-positive factor in native_functions : RuntimeError: pixel_shuffle expects a positive upscale_factor, but got 0 The meta registration and the _refs decompositions never got the same check, so they divide by the factor instead: path factor = 0 factor = -2 eager RuntimeError: ...positive upscale_factor, but got 0 RuntimeError: ...but got -2 meta_pixel_shuffle ZeroDivisionError: integer…

Summary assembled by rule from the sources below

Why it's spreading

Sources