Laptop recommendation for creating GANs and 3D

I’m looking for recommendations for a laptop suitable for creating GANs and working in 3D (so a ‘gaming’ laptop). It needs to have an NVIDIA graphics card and i’ll be installing Linux (probably Ubuntu) so Need to know that won’t be an issue.

I’ve been looking at MSI laptops (but open to alternative suggestions) such as the MSI GE76 Raider Deluxe Edition. MSI Vector GP66 and MSI GP66 Leopard. What’s most important here - graphics card, processor or RAM? For example should I priorities Intel Core i9 with 16GB of RAM or the i7 but with 32GB of RAM