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

ciflow/trunk/194112: Fix integer overflow in max_pool1d shape checks

发生了什么

torch.max_pool1d segfaults for several out-of-domain integer arguments. Two overflows in the shape math remain after the at::divup fix this is stacked on: div_rtn() computed the floor quotient in int regardless of T , although every call site passes div_rtn . The truncated remainder gets the wrong sign, so the floor correction is skipped and the quotient wraps: for #73190 the true output size -2147483694 became +214…

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

为什么在扩散

来源