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

trunk/6bb7f663e51d5c8007e9fe43ba1ecbaf017b50ef: [dynamo] Validate getattr arguments before dispatch (#196526)

图:PyTorch Releases

发生了什么

Summary Part of #195901 . GetAttrBuiltinVariable accessed positional arguments before validating getattr() calls. Too few arguments could raise an internal IndexError , excess arguments could be silently ignored, and keyword arguments were not rejected before dispatch. Non-string attribute names could also surface as internal Dynamo errors. This change uses no_keywords and check_positional to match CPython’s argumen…

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

为什么在扩散

来源