Commit 7e1cd8b
authored
Handle pytorch pybind11 changes and bump nightly pins (#4352)
I think this is the simplest approach, for now, to resolve
#4343
It would be good to eventually finish
#4348 ; however, it became a bit
too much to rework the generated sources scripts in a timely fashion.
See also another parallel attempt to address the ci problems: #4345
This PR modifies the Cmake pytorch configure function to simply not set
any `TORCH_CXX_FLAGS` whenever pytorch is missing the old
PYBIND_BUILD_ABI tag. I think whatever compiler flags we were pushing
through to make pybind think we are GCC and to use a specific ABI
version is just completely unnecessary now. I was worried we might need
to update our pybind version in the requirements, but it appears to not
be relevant.
Additionally, nightly pins are updated and small fixes are made to
resolve misc failures in tests after the bump.
---------
Signed-off-by: zjgarvey <zjgarvey@gmail.com>1 parent 18e6b7f commit 7e1cd8b
File tree
8 files changed
+33
-57
lines changed- build_tools/cmake
- lib/Dialect/Torch/Transforms
- projects/pt1/python
- torch_mlir_e2e_test/configs
- torch_mlir/jit_ir_importer/build_tools
8 files changed
+33
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
87 | 86 | | |
88 | | - | |
89 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
90 | 97 | | |
91 | 98 | | |
92 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15960 | 15960 | | |
15961 | 15961 | | |
15962 | 15962 | | |
15963 | | - | |
15964 | | - | |
15965 | | - | |
15966 | 15963 | | |
15967 | 15964 | | |
15968 | 15965 | | |
| |||
16011 | 16008 | | |
16012 | 16009 | | |
16013 | 16010 | | |
16014 | | - | |
16015 | | - | |
16016 | | - | |
16017 | | - | |
16018 | | - | |
16019 | | - | |
16020 | | - | |
16021 | | - | |
16022 | | - | |
| 16011 | + | |
| 16012 | + | |
16023 | 16013 | | |
16024 | 16014 | | |
16025 | 16015 | | |
16026 | 16016 | | |
16027 | | - | |
16028 | | - | |
16029 | | - | |
16030 | 16017 | | |
16031 | 16018 | | |
16032 | 16019 | | |
| |||
16075 | 16062 | | |
16076 | 16063 | | |
16077 | 16064 | | |
16078 | | - | |
16079 | | - | |
16080 | | - | |
16081 | | - | |
16082 | | - | |
16083 | | - | |
16084 | | - | |
16085 | | - | |
16086 | | - | |
| 16065 | + | |
| 16066 | + | |
16087 | 16067 | | |
16088 | 16068 | | |
16089 | 16069 | | |
| |||
16107 | 16087 | | |
16108 | 16088 | | |
16109 | 16089 | | |
16110 | | - | |
16111 | | - | |
16112 | 16090 | | |
16113 | 16091 | | |
16114 | 16092 | | |
| |||
16126 | 16104 | | |
16127 | 16105 | | |
16128 | 16106 | | |
16129 | | - | |
16130 | | - | |
16131 | | - | |
16132 | | - | |
16133 | | - | |
16134 | | - | |
16135 | | - | |
16136 | | - | |
16137 | | - | |
| 16107 | + | |
| 16108 | + | |
16138 | 16109 | | |
16139 | 16110 | | |
16140 | 16111 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5544 | 5544 | | |
5545 | 5545 | | |
5546 | 5546 | | |
5547 | | - | |
5548 | | - | |
5549 | 5547 | | |
5550 | 5548 | | |
5551 | 5549 | | |
| |||
5569 | 5567 | | |
5570 | 5568 | | |
5571 | 5569 | | |
5572 | | - | |
5573 | | - | |
5574 | 5570 | | |
5575 | 5571 | | |
5576 | 5572 | | |
| |||
5604 | 5600 | | |
5605 | 5601 | | |
5606 | 5602 | | |
5607 | | - | |
5608 | | - | |
5609 | 5603 | | |
5610 | 5604 | | |
5611 | 5605 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
0 commit comments