For everyone getting the cuda dag error for 4gb nvidia cards, download and install and older nvidia driver from 2017 range. Use ddu to wipe current nvidia driver. Current nvidia driver is like 550mb, older nvidia driver from 2017 is like 350mb. You save 200mb in vram. Works for 1050 ti, may not work for 1660 bc newer driver.