mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Update XLA pin (#102446)
Updating the pin to the same hash as https://github.com/pytorch/pytorch/pull/100922 On the XLA side, build have switch from CMake to bazel, which requires number of changes on PyTorch side: - Copy installed headers back to the `torch/` folder before starting the build - Install `torch/csrc/lazy/python/python_utils.h` - Define `LD_LIBRARY_PATH` TODO: - Enable bazel caching - Pass CXX11_ABI flag to `//test/cpp:all` to reuse build artifacts from `//:_XLAC.so` <!-- copilot:poem --> ### <samp>🤖 Generated by Copilot at cd4768b</samp> > _To fix the XLA tests that were failing_ > _We updated the submodule and scaling_ > _We added `python_util.h`_ > _And copied `torch` as well_ > _And set `LD_LIBRARY_PATH` for linking_ Pull Request resolved: https://github.com/pytorch/pytorch/pull/102446 Approved by: https://github.com/huydhn
This commit is contained in:
committed by
PyTorch MergeBot
parent
b9294c7ca2
commit
49d0d1d79f
1
setup.py
1
setup.py
@ -1177,6 +1177,7 @@ def main():
|
||||
'include/torch/csrc/lazy/core/*.h',
|
||||
'include/torch/csrc/lazy/core/internal_ops/*.h',
|
||||
'include/torch/csrc/lazy/core/ops/*.h',
|
||||
'include/torch/csrc/lazy/python/python_util.h',
|
||||
'include/torch/csrc/lazy/ts_backend/*.h',
|
||||
'include/pybind11/*.h',
|
||||
'include/pybind11/detail/*.h',
|
||||
|
Reference in New Issue
Block a user