We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86bac8b commit 626b736Copy full SHA for 626b736
.github/workflows/_build_torch_xla_3.11.yml
@@ -49,9 +49,15 @@ jobs:
49
cd pytorch/
50
git clone --recursive https://github.com/tenstorrent/pytorch-xla.git xla
51
52
- # copy pre-built wheels from cache
53
- python3.11 setup.py bdist_wheel
54
- python3.11 setup.py develop
+ (
+ # Build PyTorch
+ # From https://docs.pytorch.org/FBGEMM/fbgemm/development/BuildInstructions.html, section "Build Issues with GCC 12+"
55
+ export CFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict"
56
+ export CXXFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict"
57
+ # copy pre-built wheels from cache
58
+ python3.11 setup.py bdist_wheel
59
+ python3.11 setup.py develop
60
+ )
61
62
# Build PyTorch/XLA
63
cd xla/
0 commit comments