trunk/6bb7f663e51d5c8007e9fe43ba1ecbaf017b50ef: [dynamo] Validate getattr arguments before dispatch (#196526)
- PyTorch 近 90 天出现 1358 次
- PyTorch 近 90 天第 1341 次发版
- 上一次:同一天稍早 · trunk/c8bb60779d0c8878e64a0b20b74fc66643f2baba: [MPS] Keep stream command-buffer state on the serial queue (#197836)
发生了什么
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…
摘要按规则整理自下方来源原文