mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
PyTorch MergeBot
parent
0cee4e3c32
commit
3dc4adc7a6
5
setup.py
5
setup.py
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user