The cpuinfo requirement has been fixed,  it now only gives a warning and not a build error. However there is another build error due to mavx and mavx2 flags being included in the build. The community said they will fix that soon.  In the meantime as a workaround:
edit the file

  
      github.com
  
  
    pytorch/pytorch/blob/5fa3aac610ee234338dbc11eb5b6d4a133cb483d/aten/src/ATen/CMakeLists.txt#L55 2

SET_SOURCE_FILES_PROPERTIES(${PROJECT_SOURCE_DIR}/src/TH/THAtomic.c PROPERTIES COMPILE_FLAGS "-fno-openmp")
SET_SOURCE_FILES_PROPERTIES(${PROJECT_SOURCE_DIR}/src/TH/THAllocator.c PROPERTIES COMPILE_FLAGS "-fno-openmp")
ENDIF()


FILE(GLOB cpu_kernel_cpp_in RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "native/cpu/*.cpp")


list(APPEND CPU_CAPABILITY_NAMES "DEFAULT" "AVX" "AVX2")
IF(MSVC)
LIST(APPEND CPU_CAPABILITY_FLAGS "${MSVC_OPT_FLAG}" "${MSVC_OPT_FLAG}/arch:AVX" "${MSVC_OPT_FLAG}/arch:AVX2")
ELSE(MSVC)
LIST(APPEND CPU_CAPABILITY_FLAGS "-O3" "-O3 -mavx" "-O3 -mavx2")
ENDIF(MSVC)


list(LENGTH CPU_CAPABILITY_NAMES NUM_CPU_CAPABILITY_NAMES)
math(EXPR NUM_CPU_CAPABILITY_NAMES "${NUM_CPU_CAPABILITY_NAMES}-1")


FOREACH(i RANGE ${NUM_CPU_CAPABILITY_NAMES})
FOREACH(IMPL ${cpu_kernel_cpp_in})
  LIST(GET CPU_CAPABILITY_NAMES ${i} CPU_CAPABILITY)
  SET(NEW_IMPL ${CMAKE_CURRENT_BINARY_DIR}/${IMPL}.${CPU_CAPABILITY}.cpp)
  CONFIGURE_FILE(${IMPL} ${NEW_IMPL} COPYONLY)



  
  
    
    
  
  


change line 55 from  :
LIST(APPEND CPU_CAPABILITY_FLAGS “-O3” “-O3 -mavx” “-O3 -mavx2”)
to
LIST(APPEND CPU_CAPABILITY_FLAGS “-O3” “-O3” “-O3”)