albanD:

TORCH_SHOW_CPP_STACKTRACES=1


Hi, albanD
I didn’t use nigthly build:



import torch
print(torch.version)
1.5.1



I set the env variable:
(python3) [ec2-user@ip-172-31-125-157 CN_JIRA_Analyzer]$ echo $TORCH_SHOW_CPP_STACKTRACES
1
But looks like no CPP stacktrace was printed out. Same output as above.
Also i never customize any autograd funcitons. The closest thing might be I use a backward hook to log grads during training,not sure if that matters.
Also my CUDA is 10.0, looks like a little bit older, FYI.