How can we trigger the system to print a fuller stack whenever a “warning” log is printed in PyTorch . . . Under the default conditions, it seems to only provide the location issuing the “warning” not its stack . . .
Hi,
The warnings we through are python warnings. So you do that the same way you would do for any python warning (see https://stackoverflow.com/questions/22373927/get-traceback-of-warnings for example).
1 Like