-
Notifications
You must be signed in to change notification settings - Fork 647
Open
Labels
module: xnnpackIssues related to xnnpack delegation and the code under backends/xnnpack/Issues related to xnnpack delegation and the code under backends/xnnpack/
Description
Issue: Lack of AVX-512 on our CPU causing installation errors while installing Executorch on main and viable/strict branch.
Resolution: Redefine _mm_loadu_si64 and _mm_storeu_si64 to their safe AVX2-compatible equivalents using compiler flags. The command used was
CFLAGS="-D_mm_loadu_si64=_mm_loadl_epi64 -D_mm_storeu_si64=_mm_storel_epi64”
CXXFLAGS="-D_mm_loadu_si64=_mm_loadl_epi64 -D_mm_storeu_si64=_mm_storel_epi64"
./install_executorch.sh |& tee executorch_installation.log
Commenting out XNNPACK does not resolve the issue.
Is AVX-512 a requirement for executorch installation? If so, is it documented somewhere?
Thanks
Metadata
Metadata
Assignees
Labels
module: xnnpackIssues related to xnnpack delegation and the code under backends/xnnpack/Issues related to xnnpack delegation and the code under backends/xnnpack/