PyTorch and CUDA 9.1

And I’m not using conda, just through pip install, in this way, is the CUDA also inbuilt?