mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[CI] Fix triton xpu build on Windows (#160442)
Pin the ninja version to 1.11 Pull Request resolved: https://github.com/pytorch/pytorch/pull/160442 Approved by: https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
6f0f4e0c3e
commit
a5652407e4
2
.github/scripts/windows/build_triton.bat
vendored
2
.github/scripts/windows/build_triton.bat
vendored
@ -10,7 +10,7 @@ if "%PY_VERS%" == "3.13t" (
|
||||
call conda create -n %PYTHON_PREFIX% -y -c=conda-forge python=%PY_VERS%
|
||||
)
|
||||
:: Fix cmake version for issue https://github.com/pytorch/pytorch/issues/150480
|
||||
call conda run -n %PYTHON_PREFIX% pip install wheel pybind11 certifi cython cmake==3.31.6 setuptools==72.1.0 ninja
|
||||
call conda run -n %PYTHON_PREFIX% pip install wheel pybind11 certifi cython cmake==3.31.6 setuptools==72.1.0 ninja==1.11.1.4
|
||||
|
||||
dir "%VC_INSTALL_PATH%"
|
||||
|
||||
|
Reference in New Issue
Block a user