Skip to content

Commit d8ec19b

Browse files
smessmerfacebook-github-bot
authored andcommittedJun 23, 2020
Revert D22072830: [wip] Upgrade msvc to 14.13
Test Plan: revert-hammer Differential Revision: D22072830 Original commit changeset: 6fa03725f3fe fbshipit-source-id: 901de185e607810cb3871c2e4d23816848c97f4b
1 parent 581ad48 commit d8ec19b

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed
 

‎.circleci/cimodel/data/windows_build_definitions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def TruePred(_):
120120

121121
WORKFLOW_DATA = [
122122
# VS2017 CUDA-10.1
123-
WindowsJob(None, VcSpec(2017, ["14", "13"]), CudaVersion(10, 1), master_only_pred=FalsePred),
124-
WindowsJob(1, VcSpec(2017, ["14", "13"]), CudaVersion(10, 1)),
123+
WindowsJob(None, VcSpec(2017, ["14", "11"]), CudaVersion(10, 1), master_only_pred=FalsePred),
124+
WindowsJob(1, VcSpec(2017, ["14", "11"]), CudaVersion(10, 1)),
125125
# VS2017 no-CUDA (builds only)
126126
WindowsJob(None, VcSpec(2017, ["14", "16"]), CudaVersion(10, 1)),
127127
WindowsJob(None, VcSpec(2017, ["14", "16"]), None),

‎.circleci/config.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pytorch_windows_params: &pytorch_windows_params
281281
default: "3.6"
282282
vc_version:
283283
type: string
284-
default: "14.13"
284+
default: "14.11"
285285
vc_year:
286286
type: string
287287
default: "2017"
@@ -596,7 +596,7 @@ jobs:
596596
default: "3.6"
597597
vc_version:
598598
type: string
599-
default: "14.13"
599+
default: "14.11"
600600
vc_year:
601601
type: string
602602
default: "2017"
@@ -667,7 +667,7 @@ jobs:
667667
default: "3.6"
668668
vc_version:
669669
type: string
670-
default: "14.13"
670+
default: "14.11"
671671
vc_year:
672672
type: string
673673
default: "2017"
@@ -7776,16 +7776,16 @@ workflows:
77767776
requires:
77777777
- nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_android_gradle_build
77787778
- pytorch_windows_build:
7779-
build_environment: pytorch-win-vs2017-14-13-cuda10-cudnn7-py3
7779+
build_environment: pytorch-win-vs2017-14-11-cuda10-cudnn7-py3
77807780
cuda_version: "10"
7781-
name: pytorch_windows_vs2017_14.13_py36_cuda10.1_build
7781+
name: pytorch_windows_vs2017_14.11_py36_cuda10.1_build
77827782
python_version: "3.6"
77837783
use_cuda: "1"
77847784
vc_product: BuildTools
7785-
vc_version: "14.13"
7785+
vc_version: "14.11"
77867786
vc_year: "2017"
77877787
- pytorch_windows_test:
7788-
build_environment: pytorch-win-vs2017-14-13-cuda10-cudnn7-py3
7788+
build_environment: pytorch-win-vs2017-14-11-cuda10-cudnn7-py3
77897789
cuda_version: "10"
77907790
executor: windows-with-nvidia-gpu
77917791
filters:
@@ -7794,14 +7794,14 @@ workflows:
77947794
- master
77957795
- /ci-all\/.*/
77967796
- /release\/.*/
7797-
name: pytorch_windows_vs2017_14.13_py36_cuda10.1_test1
7797+
name: pytorch_windows_vs2017_14.11_py36_cuda10.1_test1
77987798
python_version: "3.6"
77997799
requires:
7800-
- pytorch_windows_vs2017_14.13_py36_cuda10.1_build
7800+
- pytorch_windows_vs2017_14.11_py36_cuda10.1_build
78017801
test_name: pytorch-windows-test1
78027802
use_cuda: "1"
78037803
vc_product: BuildTools
7804-
vc_version: "14.13"
7804+
vc_version: "14.11"
78057805
vc_year: "2017"
78067806
- pytorch_windows_build:
78077807
build_environment: pytorch-win-vs2017-14-16-cuda10-cudnn7-py3

‎.circleci/scripts/vs_install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$VS_DOWNLOAD_LINK = "https://aka.ms/vs/15/release/vs_buildtools.exe"
22
$COLLECT_DOWNLOAD_LINK = "https://aka.ms/vscollect.exe"
33
$VS_INSTALL_ARGS = @("--nocache","--quiet","--wait", "--add Microsoft.VisualStudio.Workload.VCTools",
4-
"--add Microsoft.VisualStudio.Component.VC.Tools.14.13",
4+
"--add Microsoft.VisualStudio.Component.VC.Tools.14.11",
55
"--add Microsoft.Component.MSBuild",
66
"--add Microsoft.VisualStudio.Component.Roslyn.Compiler",
77
"--add Microsoft.VisualStudio.Component.TextTemplating",

‎.circleci/verbatim-sources/build-parameters/pytorch-build-params.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pytorch_windows_params: &pytorch_windows_params
6161
default: "3.6"
6262
vc_version:
6363
type: string
64-
default: "14.13"
64+
default: "14.11"
6565
vc_year:
6666
type: string
6767
default: "2017"

‎.circleci/verbatim-sources/job-specs/pytorch-job-specs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
default: "3.6"
182182
vc_version:
183183
type: string
184-
default: "14.13"
184+
default: "14.11"
185185
vc_year:
186186
type: string
187187
default: "2017"
@@ -252,7 +252,7 @@ jobs:
252252
default: "3.6"
253253
vc_version:
254254
type: string
255-
default: "14.13"
255+
default: "14.11"
256256
vc_year:
257257
type: string
258258
default: "2017"

‎README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ Each CUDA version only supports one particular XCode version. The following comb
210210

211211
On Windows
212212

213-
At least Visual Studio 2017 version 15.6 with the toolset 14.13 and [NVTX](https://docs.nvidia.com/gameworks/content/gameworkslibrary/nvtx/nvidia_tools_extension_library_nvtx.htm) are needed.
213+
At least Visual Studio 2017 Update 3 (version 15.3.3 with the toolset 14.11) and [NVTX](https://docs.nvidia.com/gameworks/content/gameworkslibrary/nvtx/nvidia_tools_extension_library_nvtx.htm) are needed.
214214

215-
If the version of Visual Studio 2017 is higher than 15.6, installing of "VC++ 2017 version 15.6 v14.13 toolset" is strongly recommended.
216-
<br/> If the version of Visual Studio 2017 is lesser than 15.6, please update Visual Studio 2017 to the latest version along with installing "VC++ 2017 version 15.6 v14.13 toolset".
217-
<br/> There is no guarantee of the correct building with VC++ 2017 toolsets, others than version 15.6 v14.13.
218-
<br/> "VC++ 2017 version 15.6 v14.13 toolset" might be installed onto already installed Visual Studio 2017 by running its installation once again and checking the corresponding checkbox under "Individual components"/"Compilers, build tools, and runtimes".
215+
If the version of Visual Studio 2017 is higher than 15.4.5, installing of "VC++ 2017 version 15.4 v14.11 toolset" is strongly recommended.
216+
<br/> If the version of Visual Studio 2017 is lesser than 15.3.3, please update Visual Studio 2017 to the latest version along with installing "VC++ 2017 version 15.4 v14.11 toolset".
217+
<br/> There is no guarantee of the correct building with VC++ 2017 toolsets, others than version 15.4 v14.11.
218+
<br/> "VC++ 2017 version 15.4 v14.11 toolset" might be installed onto already installed Visual Studio 2017 by running its installation once again and checking the corresponding checkbox under "Individual components"/"Compilers, build tools, and runtimes".
219219

220220
NVTX is a part of CUDA distributive, where it is called "Nsight Compute". To install it onto already installed CUDA run CUDA installation once again and check the corresponding checkbox.
221221
Be sure that CUDA with Nsight Compute is installed after Visual Studio 2017.

0 commit comments

Comments
 (0)