You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
message(STATUS"Could not find `torch._C._PYBIND_BUILD_ABI`. This was removed in torch 2.9.0 (as of nightly release: dev20250826), and the TORCH_CXX_FLAGS manipulation is no longer required.")
84
+
# Everyone involved should be using cxx11 abi by default, but specify this just in case.
0 commit comments