Update windows cuda build to use 12.8 (#165345)

As title

Motivation: The rest of the pytorch and inductor build is using 12.8 and we're deprecating cuda 12.6 builds soon per https://github.com/pytorch/pytorch/issues/165111

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165345
Approved by: https://github.com/atalman
This commit is contained in:
Shangdi Yu
2025-10-14 02:33:42 +00:00
committed by PyTorch MergeBot
parent 770e6b910c
commit ca96c67500

View File

@ -180,13 +180,13 @@ jobs:
disable-monitor: false disable-monitor: false
secrets: inherit secrets: inherit
win-vs2022-cuda12_6-py3-build: win-vs2022-cuda12_8-py3-build:
name: win-vs2022-cuda12.6-py3 name: win-vs2022-cuda12.8-py3
uses: ./.github/workflows/_win-build.yml uses: ./.github/workflows/_win-build.yml
needs: get-label-type needs: get-label-type
with: with:
build-environment: win-vs2022-cuda12.6-py3 build-environment: win-vs2022-cuda12.8-py3
cuda-version: "12.6" cuda-version: "12.8"
runner: "${{ needs.get-label-type.outputs.label-type }}windows.4xlarge.nonephemeral" runner: "${{ needs.get-label-type.outputs.label-type }}windows.4xlarge.nonephemeral"
secrets: inherit secrets: inherit