mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Document dispatch trace build flag (#145517)
Ok, the build flag seems to have been broken for a while since the function it calls doesn't exist anymore. Repurposed it to enable dispatcher printing (which requires a full (and slow) debug build otherwise). Pull Request resolved: https://github.com/pytorch/pytorch/pull/145517 Approved by: https://github.com/bdhirsh
This commit is contained in:
5
setup.py
5
setup.py
@ -22,6 +22,11 @@
|
||||
# also applies to C++ files (unless CXXFLAGS is set), in contrast to the
|
||||
# default behavior of autogoo and cmake build systems.)
|
||||
#
|
||||
# A specific flag that can be used is
|
||||
# -DHAS_TORCH_SHOW_DISPATCH_TRACE
|
||||
# build with dispatch trace that can be enabled with
|
||||
# TORCH_SHOW_DISPATCH_TRACE=1 at runtime.
|
||||
#
|
||||
# CC
|
||||
# the C/C++ compiler to use
|
||||
#
|
||||
|
Reference in New Issue
Block a user