File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
.github/actions/setup-pytorch Expand file tree Collapse file tree 2 files changed +2
-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_XCCL=1 USE_STATIC_MKL=1 python setup.py bdist_wheel 2>&1 | grep -v \
129+ USE_XCCL=1 USE_STATIC_MKL=1 python -m build --wheel --no-isolation 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 @@ -257,7 +257,7 @@ function build_pytorch {
257257 export libuv_ROOT=" $PYTORCH_PROJ /libuv-1.40.0"
258258 fi
259259
260- USE_XCCL=1 USE_STATIC_MKL=1 python setup.py bdist_wheel
260+ USE_XCCL=1 USE_STATIC_MKL=1 python -m build --wheel --no-isolation
261261}
262262
263263function install_pytorch {
You can’t perform that action at this time.
0 commit comments