Solved by tom in post #2 
              
              
                This is strictly debugging and, as the comment indicates, quite likely most of the usage is inside facebook. If you set the environment variable 
PYTORCH_API_USAGE_STDERR=1

you can see that PyTorch records “which parts of PyTorch are involved”, quite likely to give you a rough idea where to look (a…