trunk/576a6d8db7b7d07d4955b833d7ac56c0500d1e05: [meta] Reject a non-positive pixel_shuffle/unshuffle factor (#195224)
- PyTorch: 1027 events in the last 90 days
- PyTorch: 1016th Release in the last 90 days
- Previous: earlier the same day · ciflow/xpu/196950: [XPU] Sync XPU_BLOCKLIST with latest not-applicable list
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