Skip to content

Commit 2ca0dc2

Browse files
skip pytorch
1 parent e4b812b commit 2ca0dc2

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

ci/premerge.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,7 @@ def build_args(self) -> List[str]:
9292
if self.args.gcc_sanitizer == 1:
9393
cmake_args += ' -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZER=yes'
9494

95-
# Pytorch is not supported on CUDA 13.
96-
if self.args.cuda_version == CudaVersion.CUDA_13:
97-
cmake_args += ' -DBUILD_PYTORCH_WRAPPER=0'
98-
print(
99-
'::warning :: Pytorch is not yet supported on CUDA 13. Disabling pytorch wrapper.')
95+
cmake_args += ' -DBUILD_PYTORCH_WRAPPER=0'
10096

10197
# Setup args to docker build
10298
args = [f'CMAKE_ARGS={cmake_args}']

docker/Dockerfile.deps

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ RUN apt update && apt-get --no-install-recommends install -y \
2929
# Note that all python deps are installed inside a venv. This is required by ubuntu >= 24.
3030
# umask 000 is needed to make the python libs readable by all users.
3131
RUN umask 000 && python3 -m venv /opt/venv
32-
RUN umask 000 && . /opt/venv/bin/activate && \
33-
python3 -m pip install --ignore-installed --upgrade pip --no-cache-dir && \
34-
python3 -m pip install --no-cache-dir \
35-
# Pytorch. Note that this version is only compatible with pre-cxx11 ABI binaries. \
36-
torch==2.4
32+
# RUN umask 000 && . /opt/venv/bin/activate && \
33+
# python3 -m pip install --ignore-installed --upgrade pip --no-cache-dir && \
34+
# python3 -m pip install --no-cache-dir \
35+
# # Pytorch. Note that this version is only compatible with pre-cxx11 ABI binaries. \
36+
# torch==2.4
3737

3838
# Install python deps.
3939
RUN umask 000 && . /opt/venv/bin/activate && \

0 commit comments

Comments
 (0)