File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
.github/actions/setup-pytorch Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ runs:
126126 # CMake Error at third_party/protobuf/cmake/CMakeLists.txt:2 (cmake_minimum_required)
127127 pip install 'cmake<4.0.0'
128128 pip install -r requirements.txt
129- USE_KINETO=0 USE_XCCL=1 USE_STATIC_MKL=1 CFLAGS="-Wno-error=maybe-uninitialized" python setup.py bdist_wheel 2>&1 | grep -v \
129+ USE_XCCL=1 USE_STATIC_MKL=1 CFLAGS="-Wno-error=maybe-uninitialized" python setup.py bdist_wheel 2>&1 | grep -v \
130130 "Double arithmetic operation is not supported on this platform with FP64 conversion emulation mode (poison FP64 kernels is enabled)." | grep -v '^$'
131131
132132 - name : Install PyTorch (built from source)
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ function build_pytorch {
199199 pip install ' cmake<4.0.0'
200200 pip install -r requirements.txt
201201 pip install cmake ninja
202- USE_KINETO=0 USE_XCCL=1 USE_STATIC_MKL=1 python setup.py bdist_wheel
202+ USE_XCCL=1 USE_STATIC_MKL=1 python setup.py bdist_wheel
203203}
204204
205205function install_pytorch {
Original file line number Diff line number Diff line change @@ -36,3 +36,8 @@ echo "Applying PyTorch patches in $REPO_ROOT"
3636
3737# put your patch applies here
3838apply_patch https://github.com/pytorch/pytorch/pull/143553.diff
39+
40+ # https://github.com/pytorch/pytorch/pull/152007
41+ fetch_patch https://patch-diff.githubusercontent.com/raw/pytorch/kineto/pull/1066.diff
42+ cd " $REPO_ROOT /third_party/kineto"
43+ git apply " $SCRIPTS_DIR /1066.diff"
You can’t perform that action at this time.
0 commit comments