Skip to content

Commit 7a014f8

Browse files
committed
Temporary adding checkout branch
checkout branch
1 parent 27f7792 commit 7a014f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/_build_torch_xla_3.11.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ jobs:
5050
cd pytorch/
5151
git clone --recursive https://github.com/tenstorrent/pytorch-xla.git xla
5252
53+
5354
(
5455
# Build PyTorch
5556
# From https://docs.pytorch.org/FBGEMM/fbgemm/development/BuildInstructions.html, section "Build Issues with GCC 12+"
57+
export CFLAGS="${CFLAGS:+$CFLAGS }-w"
58+
export CXXFLAGS="${CXXFLAGS:+$CXXFLAGS }-w"
5659
export CFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict"
5760
export CXXFLAGS+=" -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict"
5861
# copy pre-built wheels from cache
@@ -62,6 +65,7 @@ jobs:
6265
6366
# Build PyTorch/XLA
6467
cd xla/
68+
git checkout sshon/rebase-to-upstream
6569
python3.11 setup.py bdist_wheel
6670
6771
# Collect wheels

0 commit comments

Comments
 (0)