Some problems with built-in cuda in pytorch

As we known,pytorch has its own built-in cuda

But if i have installed cuda in my local machine

and now when i install pytorch ,whether pytorch use its built-in cuda or detect the cuda in my machine??