Don't build CUDA with debug info by default. (#102617)

Fixes https://github.com/pytorch/pytorch/issues/102594

Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/102617
Approved by: https://github.com/malfet
This commit is contained in:
Edward Z. Yang
2023-07-05 17:08:16 +00:00
committed by PyTorch MergeBot
parent 0cee4e3c32
commit 3dc4adc7a6
2 changed files with 7 additions and 1 deletions

View File

@ -25,6 +25,11 @@
#
# Environment variables for feature toggles:
#
# DEBUG_CUDA=1
# if used in conjunction with DEBUG or REL_WITH_DEB_INFO, will also
# build CUDA kernels with -lineinfo --source-in-ptx. Note that
# on CUDA 12 this may cause nvcc to OOM, so this is disabled by default.
#
# USE_CUDNN=0
# disables the cuDNN build
#