The PyTorch binaries will use their own CUDA runtime dependencies as explained in your other thread and your locally installed CUDA toolkit will be used if you build PyTorch from source or a custom CUDA extension.
The PyTorch binaries will use their own CUDA runtime dependencies as explained in your other thread and your locally installed CUDA toolkit will be used if you build PyTorch from source or a custom CUDA extension.