The size of neural network

i have a pinn code that i write manually and solve simple problem with 3 layers and 8 neurons but modulus cant solve problem with networks with this properties. I set every setting in my code to nvidia modulus but I cant underestand why modulus use big networks.