@ptrblck  Thank you for commenting.It is helpful.


For MNIST epochs=1 with no-cuda, RES=4.8GB (max).
If I want to reduce the memory usage by profile,
I need to add following DONT_PROFILE  and build again?
Or other workaround method exist?
https://github.com/pytorch/pytorch/blob/v0.4.0/tools/autograd/gen_variable_type.py#L53


Yes, This is nice to have comment.
It is helpful for documenting how to customize profiler output for PyTorch users.
My intention is it does not need to remake the package, just copy locally.