From f9095fb2850574db3cd63f8fe14315cff968d0fd Mon Sep 17 00:00:00 2001 From: Taras Date: Fri, 26 Sep 2025 23:29:17 +0000 Subject: [PATCH] [Windows] Update libuv version from 1.39 to 1.51 (#160318) Fixes: [#148315](https://github.com/pytorch/pytorch/issues/148315) The PR updates `libuv` version as `conda-forge` channel doesn't contain `libuv=1.39` for Windows. Pull Request resolved: https://github.com/pytorch/pytorch/pull/160318 Approved by: https://github.com/iremyux, https://github.com/malfet --- .ci/pytorch/windows/internal/static_lib_test.bat | 2 +- CMakeLists.txt | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/pytorch/windows/internal/static_lib_test.bat b/.ci/pytorch/windows/internal/static_lib_test.bat index 5f23a63d5c20..cd1fc484ae15 100644 --- a/.ci/pytorch/windows/internal/static_lib_test.bat +++ b/.ci/pytorch/windows/internal/static_lib_test.bat @@ -63,7 +63,7 @@ if errorlevel 1 exit /b 1 call %CONDA_HOME%\condabin\activate.bat testenv if errorlevel 1 exit /b 1 -call conda install -y -q -c conda-forge libuv=1.39 +call conda install -y -q -c conda-forge libuv=1.51 call conda install -y -q intel-openmp echo "install and test libtorch" diff --git a/CMakeLists.txt b/CMakeLists.txt index ad9342580cdf..9c26b84cfac1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -442,7 +442,7 @@ if(WIN32) message( WARNING "Libuv is not installed in current conda env. Set USE_DISTRIBUTED to OFF. " - "Please run command 'conda install -c conda-forge libuv=1.39' to install libuv." + "Please run command 'conda install -c conda-forge libuv=1.51' to install libuv." ) else() set(ENV{libuv_ROOT} ${libuv_tmp_LIBRARY}/../../) diff --git a/README.md b/README.md index 4356491e178e..61b4447ddf4d 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,7 @@ conda install pkg-config libuv pip install mkl-static mkl-include # Add these packages if torch.distributed is needed. # Distributed package support on Windows is a prototype feature and is subject to changes. -conda install -c conda-forge libuv +conda install -c conda-forge libuv=1.51 ``` #### Install PyTorch