Help - vision build from sources in linux for ROCm failed

I build vision from sources in linux for and it fails
ninja fail build because in build.ninja nvcc=bin/hipcc , not correct way nvcc=/opt/rocm/hip/bin/hipcc

i try to change this and build fail again, because hip/hip_runtime.h not found

I think this is because one of environment variables or torch parameters equals null
I don’t know about this parameters and cannot understand this from python code of vision setup.py
Help