Is geforce gtx 1050Ti gpu compatible for CUDA and PyTorch

I want to know whether a GeForce gtx 1050Ti GPU from a notebook is compatible with setting up CUDA and PyTorch.