Do not call cpuinfo_initialize() on other than x86 arch. (#26265)
Summary:
cpuinfo_initialize() was not implemented for s390 arch.
cpuinfo calls are x86 specific to determine vector extensions AVX, AVX512 etc.
Without this patch an unnecessary error log is printed in s390 arch:
Error in cpuinfo: processor architecture is not supported in cpuinfo
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26265
Differential Revision: D17452301
Pulled By: izdeby
fbshipit-source-id: 9ca485550385c26dec18aac5953c887f1ffbfb7a