File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,6 +184,8 @@ jobs:
184184 - uses : ./test-infra/.github/actions/setup-windows
185185 with :
186186 cuda-version : ${{ env.CU_VERSION }}
187+ # TODO: When CUDA 13.4 is officially released, replace the prerelease installer URL below
188+ # with the official CUDA Toolkit distribution URL.
187189 - name : Install CUDA 13.4 toolkit with ARM64 target libraries
188190 if : inputs.cross-compile
189191 shell : powershell
Original file line number Diff line number Diff line change @@ -97,7 +97,9 @@ new_local_repository(
9797 path = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.2/" ,
9898)
9999
100- # supposedly cuda 13.4 on windows x86 preview has everything required for cross compile for windows on arm
100+ # TODO: When CUDA 13.4 is officially released, switch this Windows ARM64 cross-build
101+ # sysroot from the preview toolkit to the official CUDA Toolkit distribution.
102+ # Supposedly cuda 13.4 on windows x86 preview has everything required for cross compile for windows on arm
101103new_local_repository (
102104 name = "cuda_win_arm64" ,
103105 build_file = "@//third_party/cuda:BUILD" ,
@@ -177,10 +179,10 @@ http_archive(
177179http_archive (
178180 name = "libtorch_win_arm64" ,
179181 build_file = "@//third_party/libtorch:BUILD" ,
180- sha256 = "23862a93476cb038ffd26f7141cd476717d97b69b50074f2ab14036eb6093200 " ,
182+ sha256 = "e72f2b05d062651d0ba1d44e189979f70c2faf7e879e925849f3c5716ab4319e " ,
181183 strip_prefix = "torch" ,
182184 type = "zip" ,
183- urls = ["https://pypi.nvidia.com/nvtorch_oot_nightly/torch/torch-2.14 .0.dev20260728 %2Bcu134-cp313-cp313-win_arm64.whl" ],
185+ urls = ["https://pypi.nvidia.com/nvtorch_oot_nightly/torch/torch-2.15 .0.dev20260902 %2Bcu134-cp313-cp313-win_arm64.whl" ],
184186)
185187
186188http_archive (
Load diff This file was deleted.
Original file line number Diff line number Diff line change 11param (
2- [string ] $PyTorchArtifact = " https://pypi.nvidia.com/nvtorch_oot_nightly/torch/torch-2.14 .0.dev20260728 %2Bcu134-cp313-cp313-win_arm64.whl" ,
2+ [string ] $PyTorchArtifact = " https://pypi.nvidia.com/nvtorch_oot_nightly/torch/torch-2.15 .0.dev20260902 %2Bcu134-cp313-cp313-win_arm64.whl" ,
33 [string ] $PythonArtifact = " https://api.nuget.org/v3-flatcontainer/pythonarm64/3.13.0/pythonarm64.3.13.0.nupkg" ,
44 [Parameter (Mandatory = $true )] [string ] $TargetRoot ,
55 [Parameter (Mandatory = $true )] [string ] $CudaRoot ,
88
99$ErrorActionPreference = " Stop"
1010
11- $PyTorchArtifactSha256 = " 23862a93476cb038ffd26f7141cd476717d97b69b50074f2ab14036eb6093200 "
11+ $PyTorchArtifactSha256 = " e72f2b05d062651d0ba1d44e189979f70c2faf7e879e925849f3c5716ab4319e "
1212$PythonArtifactSha256 = " f44428dc94e6f9c72cd69ad6436280784e6f9eed46a149641fee71866d3081f3"
1313
1414$ArtifactTempRoot = $env: RUNNER_TEMP
@@ -71,6 +71,8 @@ if (-not (Test-Path -LiteralPath $cudaVersionFile -PathType Leaf)) {
7171 throw " CUDA version file is missing: $cudaVersionFile "
7272}
7373$cudaVersion = (Get-Content - LiteralPath $cudaVersionFile - Raw | ConvertFrom-Json ).cuda.version
74+ # TODO: When CUDA 13.4 is officially released, update this preview-specific message
75+ # and the CI installer URL to use the official CUDA Toolkit distribution.
7476if ($cudaVersion -notlike ' 13.4*' ) {
7577 throw " Windows ARM64 builds require CUDA 13.4 Preview; got '$cudaVersion '"
7678}
Original file line number Diff line number Diff line change @@ -1014,9 +1014,6 @@ def get_x86_64_requirements(base_requirements):
10141014 "tensorrt_rtx>=1.6.1.120,<1.7.0.0" ,
10151015 ]
10161016 else :
1017- requirements = requirements + [
1018- "tensorrt>=11.2.1,<11.3.0" ,
1019- ]
10201017 cuda_version = torch .version .cuda
10211018 if cuda_version .startswith ("12" ):
10221019 # In cu12* envs, keep the CUDA-specific TensorRT wheels explicit so the default CUDA 13
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ new_local_repository(
7676 path = " ${CUDA_HOME}" ,
7777)
7878
79+ # TODO: When CUDA 13.4 is officially released, switch this Windows ARM64 cross-build
80+ # sysroot from the preview toolkit to the official CUDA Toolkit distribution.
7981# ARM64 target sysroot; this must contain lib/arm64/cudart.lib and must not
8082# point at the x86_64 host CUDA installation above.
8183new_local_repository(
@@ -199,10 +201,10 @@ new_local_repository(
199201http_archive(
200202 name = " libtorch_win_arm64" ,
201203 build_file = " third_party/libtorch/BUILD" ,
202- sha256 = " 23862a93476cb038ffd26f7141cd476717d97b69b50074f2ab14036eb6093200 " ,
204+ sha256 = " e72f2b05d062651d0ba1d44e189979f70c2faf7e879e925849f3c5716ab4319e " ,
203205 strip_prefix = " torch" ,
204206 type = " zip" ,
205- urls = [" https://pypi.nvidia.com/nvtorch_oot_nightly/torch/torch-2.14 .0.dev20260728 %2Bcu134-cp313-cp313-win_arm64.whl" ],
207+ urls = [" https://pypi.nvidia.com/nvtorch_oot_nightly/torch/torch-2.15 .0.dev20260902 %2Bcu134-cp313-cp313-win_arm64.whl" ],
206208)
207209
208210new_local_repository(
You can’t perform that action at this time.
0 commit comments