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

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

图:PyTorch Releases

发生了什么

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…

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

为什么在扩散

来源