For me the i7 since I use Visual Studio and Android Developer which leans hard on the CPU. But modern games are pressing the GPU video memory harder. But then which game it is matters as well as the display setting.
My view is the 1050 is the right choice on 1080p displays 60Hz or maybe more depending on the game.
All else being equal, would you take i7 7700hq & gtx 1050 2gb or i5 7300hq & gtx 1050 4gb?
Not 1050 ti, but just 1050 4gb?
Thanks in advance for any advice you can offer!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic