Unable to install CUDA 8.0 or 9.0 in gtx 1050ti

My laptop has a GTX 1050Ti.When I tried to install CUDA.It showed followed informations.
This graphics driver could not find compatible graphics hardware.You may continue installation,but you may not be able to run CUDA applications…
My driver vision is 398.36

Keep your existing driver. Use the installer advanced options to deselect the driver install. Install the CUDA toolkit. It will work with your driver and GPU.

I tried this way before but it didn’t work.