Solved by ptrblck in post #2 
              
              
                Buffers are tensors, which are registered in the module and will thus be inside the state_dict. 
These tensors do not require gradients and are thus not registered as parameters. 
This is useful e.g. to track the mean and std in batchnorm layers etc. which should be stored and loaded using the state…