Skip to content

Commit e833582

Browse files
committed
Update
[ghstack-poisoned]
2 parents 0af5af9 + f027210 commit e833582

1,021 files changed

Lines changed: 43366 additions & 12362 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
build --cxxopt=--std=c++17
1+
build --cxxopt=--std=c++20
22
build --copt=-I.
33
# Bazel does not support including its cc_library targets as system
44
# headers. We work around this for generated code

.ci/docker/almalinux/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ ENV CUDA_VERSION=${CUDA_VERSION}
5353
# Make things in our path by default
5454
ENV PATH=/usr/local/cuda-${CUDA_VERSION}/bin:/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/bin:$PATH
5555

56-
5756
FROM cuda as cuda12.6
5857
RUN bash ./install_cuda.sh 12.6
5958
ENV DESIRED_CUDA=12.6
@@ -70,6 +69,10 @@ FROM cuda as cuda13.0
7069
RUN bash ./install_cuda.sh 13.0
7170
ENV DESIRED_CUDA=13.0
7271

72+
FROM cuda as cuda13.2
73+
RUN bash ./install_cuda.sh 13.2
74+
ENV DESIRED_CUDA=13.2
75+
7376
FROM ${ROCM_IMAGE} as rocm_base
7477
ARG DEVTOOLSET_VERSION=13
7578
ENV LC_ALL en_US.UTF-8
@@ -101,6 +104,7 @@ COPY --from=cuda12.6 /usr/local/cuda-12.6 /usr/local/cuda-12.6
101104
COPY --from=cuda12.8 /usr/local/cuda-12.8 /usr/local/cuda-12.8
102105
COPY --from=cuda12.9 /usr/local/cuda-12.9 /usr/local/cuda-12.9
103106
COPY --from=cuda13.0 /usr/local/cuda-13.0 /usr/local/cuda-13.0
107+
COPY --from=cuda13.2 /usr/local/cuda-13.2 /usr/local/cuda-13.2
104108

105109
# Final step
106110
FROM ${BASE_TARGET} as final

.ci/docker/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,16 @@ case "$tag" in
195195
NINJA_VERSION=1.9.0
196196
TRITON=yes
197197
;;
198-
pytorch-linux-noble-xpu-n-py3 | pytorch-linux-noble-xpu-n-py3-inductor-benchmarks)
198+
pytorch-linux-noble-xpu-n-py3 | pytorch-linux-noble-xpu-n-py3-client | pytorch-linux-noble-xpu-n-py3-inductor-benchmarks)
199199
ANACONDA_PYTHON_VERSION=3.10
200200
GCC_VERSION=13
201201
VISION=yes
202202
XPU_VERSION=2025.3
203-
XPU_DRIVER_TYPE=LTS
203+
if [[ $tag =~ "client" ]]; then
204+
XPU_DRIVER_TYPE=CLIENT
205+
else
206+
XPU_DRIVER_TYPE=LTS
207+
fi
204208
NINJA_VERSION=1.9.0
205209
TRITON=yes
206210
if [[ $tag =~ "benchmarks" ]]; then

.ci/docker/ci_commit_pins/nccl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.29.3-1
1+
v2.29.7-1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7be477a510cdbe9543b2f11357598db51c22e94e
1+
0fff8bf35400ec7b733d5080628fc79551205e36
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
307748db7742a0f8259a7ea0336909eb55d2051a
1+
33f782efa9464adebb448ea1f1df1a64ec37ceb0

.ci/docker/common/install_cuda.sh

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function install_126 {
111111
}
112112

113113
function install_129 {
114-
CUDNN_VERSION=9.17.1.4
114+
CUDNN_VERSION=9.20.0.48
115115
echo "Installing CUDA 12.9.1 and cuDNN ${CUDNN_VERSION} and NVSHMEM and NCCL and cuSparseLt-0.7.1"
116116
# install CUDA 12.9.1 in the same container
117117
install_cuda 12.9.1 cuda_12.9.1_575.57.08_linux
@@ -129,7 +129,7 @@ function install_129 {
129129
}
130130

131131
function install_128 {
132-
CUDNN_VERSION=9.19.0.56
132+
CUDNN_VERSION=9.20.0.48
133133
echo "Installing CUDA 12.8.1 and cuDNN ${CUDNN_VERSION} and NVSHMEM and NCCL and cuSparseLt-0.7.1"
134134
# install CUDA 12.8.1 in the same container
135135
install_cuda 12.8.1 cuda_12.8.1_570.124.06_linux
@@ -147,8 +147,8 @@ function install_128 {
147147
}
148148

149149
function install_130 {
150-
CUDNN_VERSION=9.19.0.56
151-
echo "Installing CUDA 13.0 and cuDNN ${CUDNN_VERSION} and NVSHMEM and NCCL and cuSparseLt-0.7.1"
150+
CUDNN_VERSION=9.20.0.48
151+
echo "Installing CUDA 13.0 and cuDNN ${CUDNN_VERSION} and NVSHMEM and NCCL and cuSparseLt-0.8.0"
152152
# install CUDA 13.0 in the same container
153153
install_cuda 13.0.2 cuda_13.0.2_580.95.05_linux
154154

@@ -164,6 +164,24 @@ function install_130 {
164164
ldconfig
165165
}
166166

167+
function install_132 {
168+
CUDNN_VERSION=9.20.0.48
169+
echo "Installing CUDA 13.2 and cuDNN ${CUDNN_VERSION} and NVSHMEM and NCCL and cuSparseLt-0.8.0"
170+
# install CUDA 13.2 in the same container
171+
install_cuda 13.2.0 cuda_13.2.0_595.45.04_linux
172+
173+
# cuDNN license: https://developer.nvidia.com/cudnn/license_agreement
174+
install_cudnn 13 $CUDNN_VERSION
175+
176+
install_nvshmem 13 $NVSHMEM_VERSION
177+
178+
CUDA_VERSION=13.2 bash install_nccl.sh
179+
180+
CUDA_VERSION=13.2 bash install_cusparselt.sh
181+
182+
ldconfig
183+
}
184+
167185
# idiomatic parameter and option handling in sh
168186
while test $# -gt 0
169187
do
@@ -178,6 +196,8 @@ do
178196
;;
179197
13.0|13.0.*) install_130;
180198
;;
199+
13.2|13.2.*) install_132;
200+
;;
181201
*) echo "bad argument $1"; exit 1
182202
;;
183203
esac

.ci/docker/requirements-docs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ sphinx==7.2.6
22
#Description: This is used to generate PyTorch docs
33
#Pinned versions: 7.2.6
44

5-
pytorch_sphinx_theme2==0.4.3
5+
pytorch_sphinx_theme2==0.4.6
66
#Description: This is needed to generate PyTorch docs
7-
#Pinned versions: 0.4.3
7+
#Pinned versions: 0.4.6
88

99
# TODO: sphinxcontrib.katex 0.9.0 adds a local KaTeX server to speed up pre-rendering
1010
# but it doesn't seem to work and hangs around idly. The initial thought that it is probably

.ci/lumen_cli/cli/build_cli/register_build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import argparse
1+
from __future__ import annotations
2+
3+
import argparse # noqa: TC003
24
import logging
35

46
from cli.lib.common.cli_helper import register_targets, RichHelp, TargetSpec

.ci/lumen_cli/cli/lib/common/cli_helper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
44
"""
55

6+
from __future__ import annotations
7+
68
import argparse
79
from abc import ABC, abstractmethod
810

@@ -11,7 +13,7 @@
1113
from collections.abc import Callable # Python 3.11+
1214
from typing import Any, Required, TypedDict
1315
except ImportError:
14-
from collections.abc import Callable
16+
from collections.abc import Callable # noqa: TC003
1517
from typing import Any, TypedDict
1618

1719
from typing_extensions import Required # Fallback for Python <3.11

0 commit comments

Comments
 (0)