pytorch
36e6b0cf - Fix cpuinfo related crash on ppc64 (#110708)

Commit
1 year ago
Fix cpuinfo related crash on ppc64 (#110708) The "import torch" crashes with following cpuinfo error on powerpc64. ============================================================== >>> import torch Error in cpuinfo: processor architecture is not supported in cpuinfo Fatal error in cpuinfo: cpuinfo_get_processors_count called before cpuinfo is initialized Aborted (core dumped) ================================================================== The patch fixes this by excluding powerpc from using cpuinfo as it is not supported for ppc64. Pull Request resolved: https://github.com/pytorch/pytorch/pull/110708 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading