-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Upgrade to PyTorch 1.11 on Windows (#2233)
There are no changes to the build process since 1.9. We still don't ship with MKL on Windows. The size of MKL proved controversial on Linux, so it's best not to increase distribution size even further by adding in the Windows version. (We can still revisit this in the future if there's sufficient demand for NLP in production on Windows.)
- Loading branch information
1 parent
c87d090
commit 270a7c4
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -213,7 +213,7 @@ On the "Advanced Options" screen, check "Install for all users" and "Add Python | |
|
||
For the time being, do not take advantage of the option on the final installer screen to reconfigure the machine to allow paths longer than 260 characters. We still support Windows versions that do not have this option. | ||
|
||
### PyTorch 1.9.0 | ||
### PyTorch 1.11.0 | ||
|
||
PyTorch requires that certain Python modules are installed. Start a command prompt "cmd.exe" using "Run as administrator". In it run: | ||
|
||
|
@@ -227,7 +227,7 @@ Next, in a Git bash shell run: | |
|
||
``` | ||
cd /c/tools | ||
git clone --depth=1 --branch=v1.9.0 [email protected]:pytorch/pytorch.git | ||
git clone --depth=1 --branch=v1.11.0 [email protected]:pytorch/pytorch.git | ||
cd pytorch | ||
git submodule sync | ||
git submodule update --init --recursive | ||
|
@@ -278,7 +278,7 @@ set USE_QNNPACK=OFF | |
set USE_PYTORCH_QNNPACK=OFF | ||
set USE_XNNPACK=OFF | ||
set MSVC_Z7_OVERRIDE=OFF | ||
set PYTORCH_BUILD_VERSION=1.9.0 | ||
set PYTORCH_BUILD_VERSION=1.11.0 | ||
set PYTORCH_BUILD_NUMBER=1 | ||
python setup.py install | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters