It seems you were trying to register a plain Python list containing nn.ModuleLists in your initial approach, which won’t work.
Make sure to register nn.Modules directly or nn.ModuleLists (not plain Python lists).