Build Pytorch from source with cuda 9.2 or lower version on windows 10

I have Cuda 9.2

while building i am getting

-- Caffe2: CUDA toolkit directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2
CMake Error at cmake/public/cuda.cmake:42 (message):
  PyTorch requires CUDA 10.2 or above.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:1191 (include)
  CMakeLists.txt:664 (include)

I want to build it with cuda 9.2 only how to proceed?

on git page I was not able to find any relevant document.

You would need to checkout an older branch, as the current master needs CUDA>=10.2 as seen here.