-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
-
False
-
-
-
AIPCC Accelerators 18, AIPCC Accelerators 19
Description of problem:
The pytorch team is trying to build torch from source using the upstream build script. The builds fails with the error nvcc fatal : Value '-Xcompiler' is not defined for option 'Werror'. Also the builds succeeds when we use the RHEL 9.6 base images, it only fails with the builder image.
Version numbers (base image, wheels, builder, etc):
RHEL: 9.6 Builder Version: v23.13.0 Torch 2.7
Steps to Reproduce:
1.docker build --no-cache --ulimit nofile=65536:65536 --build-arg RHEL_OS_VERSION=9.6 --build-arg PYT_BRANCH=v2.7.0 -t pytorch-rhel96-cuda12_8:10_07_2025 -f .devcontainer/dockerfiles/Dockerfile.cuda-rhel-builder .
Actual results:
nvcc fatal : Value '-Xcompiler' is not defined for option 'Werror'
Expected results:
The build should succeed
Additional info: