Thanks!
Two follow-up questions:

I want to store the version numbers of all Module parameters at certain points, and then later check if any of these checkpoints used Parameters that are now outdated. Will this work reliably?
Can I assume that this gets serialized correctly when using state_dict(), and will continue to work after reloading? Or can this cause the version numbers to jump and maybe even become smaller?