Solved by ptrblck in post #2 
              
              
                I assume you would like to compare the parameters and buffers of these models to make sure they re “equal”? If so, you would have to compare these tensors directly as I think you are now comparing the ids of the Python objects instead.