PyTorch build from source on Windows

Yes! That did the work, after

python setup.py build --cmake
python setup.py install

pytorch was finally installed.
However

python
>>> import torch
>>> torch.cuda.is_available()

returns False. When I run torch.cuda.current_device() i get:
AssertionError: Torch not compiled with CUDA enabled

Can this be Nsight Compute issue?