Got it! Somewhere up the chain var2 is getting calculated in a different module where the numbers are member variables, i.e. self.inputToVar2.  I’m guessing that is making them not get deleted at the end of the cycle.  Switching all of those inputs, which do not need to be variables, to just tensors seems to have solved it!
Thanks for the link, that was very helpful!