Repository navigation
Commit 2165be0
committed
[Dynamo] Require Python 3.12.4+ for the type.__type_params__ check
test_type_dunder_attr_access, and its _dynamic_shapes and
_nested_graph_breaks clones, expect type.__type_params__ == () on any
Python 3.12. Before 3.12.4, CPython returned the attribute's own
descriptor for `type` (python/cpython#119011), so the eager call fails on
Ubuntu 24.04's stock Python 3.12.3, which the rocm-preview image uses.1 parent 4a21eb6 commit 2165be0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5927 | 5927 | | |
5928 | 5928 | | |
5929 | 5929 | | |
5930 | | - | |
| 5930 | + | |
| 5931 | + | |
5931 | 5932 | | |
5932 | 5933 | | |
5933 | 5934 | | |
| |||
0 commit comments